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.
Building the Xcode project produces a bundle called ZeplinColorPicker.colorPicker
. Copying this bundle to the ~/Library/ColorPickers/
directory installs it systemwide.
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
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
To uninstall the color picker entirely, you can remove the ZeplinColorPicker.colorPicker
bundle within the ~/Library/ColorPickers
directory:
rm -rf ~/Library/ColorPickers/ZeplinColorPicker.colorPicker
Zeplin Color Picker is released under the MIT license. See LICENSE for details.
Zeplin Color Picker is crafted and maintained by the crew behind Zeplin. Follow @zeplin on Twitter for project updates and releases.