Please note we have a code of conduct, please follow it in all your interactions with the project.
- Only update the
src/colornames.csv
file and runnpm run build
or request access to our shared google spreadsheet - Make sure the names you commit are not racist or offensive or a protected brand name (No Facebook Blue, Coca Cola Red etc.., no nationality or tan etc..).
- Read the "Rules for new color names" directly below
- Make sure that neither name nor hex value of your added colors are already
in use.
npm run test
will test that for you. - Update the
README.md
with the source of your colors, unless you invented that color, in this case add yourself to the contributors in theREADME.md
We use automated semantic versioning make sure to use git cz (or npm run commit).
- No duplicate names or hex values.
- No racist names
- No offensive names
- No obscene names 💩
- No protected brand-names (
Facebook Blue
,Coca Cola Red
) - No enumerations (
Grey 1
,Grey 2
,Grey 3
,Grey 4
) - British English spelling (ex.
Grey
notGray
), unless its something U.S. typical. - Capitalize colors:
Kind of Orange
- Prefer common names, especially when adding colors of flora and fauna
(plants and animals ;) ) ex.
Venus Slipper Orchid
instead ofPaphiopedilum
. - Avoid ethnic & racial assumptions
- We use automated semantic versioning using conventional changelog rules. You
can run
npx cz
ornpm run commit
instead ofgit commit -m
, or make sure to follow conventional changelog naming rules. - Write your commit messages in imperative form: feat(colors): Add fantastic new colors names. rather then feat(colors): Added new names.
- Make sure to run
npm run build
before committing. (No need tonpm ci
the dependencies are only needed if you need to run the API)
This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at http://contributor-covenant.org/version/1/4