Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

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

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 Logo

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.