A quick way to see the colors used in Sketch's UI, made by Oscar Marcelo.
This project is built in two phases:
- A Sketch plugin retrieves the necessary data from Sketch;
- The website is then built with the Sketch data.
- Sketch
- Node.js
- Just like any other Node project, run
npm install
; - Ensure that in your Sketch Preferences > General, you have Appearance set to "System Default" and Canvas set to "Sketch Default".
- Run
npm run get-colors
to get Sketch data.- If the terminal you are using isn't yet allowed to assistive access, the script will fail. Ensure it has permissions in System Preferences > Security & Privacy > Privacy tab > Accessibility option.
- Run
npm start
to build the website, run a local webserver and open the page.
Alternatively, you can run npm run build
to just build the website without starting the webserver.
I made this project as a side project to aid my work with the Sketch plugins I've been building on my spare time. Any contribution is very welcome!
These are some of the things I wish to work on next:
- Improve design;
- Improve code quality;
- Automate repo updates through GitHub Actions;
- Gather new data as soon as a new Sketch update releases;
- Fix content not respecting search filter when one of the other filters changes;
- Migrate to Node ESM when Gulp adds support for it:
- Automate commits.