Generates a Sublime Text snippet for each colour, and returns its variable name
This repo has been created for personal usage only. It doesn't provide colour suggestions for non valid colours. Once I'll create a proper function to manage it, I'll also publish it as a Sublime Text Package
... Until that moment, you can still use it as described below.
- Clone the repo
- Run
npm i
- Run
node generate-colours.js
- Copy the folder
NameThatColourSnippets
into your user packages folder (/Users/{{ username }}/Library/Application Support/Sublime Text 3/Packages/User/
).
After you've added the snippets, you will be able to use them in every *.scss
file: