Skip to content

macOS color picker that lets you select colors from the project/styleguide you have open in Zeplin

License

Notifications You must be signed in to change notification settings

zeplin/color-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeplin Color Picker 🎨

Zeplin's macOS color picker that lets you select colors from the project you have open in Zeplin. Installing Zeplin's macOS app automatically installs this color picker as well.

Installation

Building the Xcode project produces a bundle called ZeplinColorPicker.colorPicker. Copying this bundle to the ~/Library/ColorPickers/ directory installs it systemwide.

Handy tips

Automate installation

You can install the picker systemwide automatically by adding a run script to the project:

rm -rf ~/Library/ColorPickers/ZeplinColorPicker.colorPicker
cp -R $BUILD_DIR/Debug/ZeplinColorPicker.colorPicker ~/Library/ColorPickers/ZeplinColorPicker.colorPicker

Simplify testing locally

To simplify testing the picker, you can create an application using the Script Editor:

  • Launch Script Editor.app and create a document.
  • Paste the following AppleScript code:
choose color
  • Save the document in “Application” format.

Furthermore, you can launch this application automatically by adding a run script to the project:

kill `pgrep applet`
open APPLICATION_PATH

Uninstall

To uninstall the color picker entirely, you can remove the ZeplinColorPicker.colorPicker bundle within the ~/Library/ColorPickers directory:

rm -rf ~/Library/ColorPickers/ZeplinColorPicker.colorPicker

License

Zeplin Color Picker is released under the MIT license. See LICENSE for details.


Zeplin Logo

Zeplin Color Picker is crafted and maintained by the crew behind Zeplin. Follow @zeplin on Twitter for project updates and releases.

About

macOS color picker that lets you select colors from the project/styleguide you have open in Zeplin

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages