https://github.com/zeplin/color-picker
macOS color picker that lets you select colors from the project/styleguide you have open in Zeplin
https://github.com/zeplin/color-picker
bundle color-picker macos zeplin
Last synced: 8 months ago
JSON representation
macOS color picker that lets you select colors from the project/styleguide you have open in Zeplin
- Host: GitHub
- URL: https://github.com/zeplin/color-picker
- Owner: zeplin
- License: mit
- Created: 2019-09-05T08:27:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T17:15:52.000Z (about 2 years ago)
- Last Synced: 2025-05-19T17:11:37.019Z (10 months ago)
- Topics: bundle, color-picker, macos, zeplin
- Language: Swift
- Size: 32.2 KB
- Stars: 9
- Watchers: 22
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zeplin Color Picker 🎨
[Zeplin](https://zeplin.io)'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:
```sh
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:
```applescript
choose color
```
- Save the document in “Application” format.
Furthermore, you can launch this application automatically by adding a run script to the project:
```sh
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:
```sh
rm -rf ~/Library/ColorPickers/ZeplinColorPicker.colorPicker
```
## License
Zeplin Color Picker is released under the MIT license. See [LICENSE](LICENSE) for details.
---
Zeplin Color Picker is crafted and maintained by the crew behind [Zeplin](https://zeplin.io). Follow [@zeplin](https://twitter.com/zeplin) on Twitter for project updates and releases.