color-name-list
Advanced tools
Comparing version 1.8.0 to 1.9.0
{ | ||
"name": "color-name-list", | ||
"version": "1.8.0", | ||
"version": "1.9.0", | ||
"description": "long list of color names", | ||
@@ -8,2 +8,3 @@ "main": "dist/colornames.json", | ||
"commit": "git-cz", | ||
"count-colors": "sed -i '' -E \"s/__[0-9^]+__/__`awk 'END {print NR}' src/colornames.csv`__/g\" README.md", | ||
"test": "node node_modules/csvdata/csvdata.js -c src/colornames.csv -d -e -x", | ||
@@ -43,5 +44,5 @@ "build": "rm -rf dist && mkdir dist && cp -av src/colornames.csv dist/colornames.csv && node node_modules/.bin/csvtojson dist/colornames.csv >> dist/colornames.json && node node_modules/.bin/json2yaml dist/colornames.json >> dist/colornames.yaml", | ||
"ghooks": { | ||
"pre-commit": "npm run test && npm run build" | ||
"pre-commit": "npm run test && npm run count-colors && npm run build" | ||
} | ||
} | ||
} |
@@ -1,8 +0,10 @@ | ||
# color-names 🎨 | ||
# __10468__ color-names 🎨 | ||
[![GitHub version](https://badge.fury.io/gh/meodai%2Fcolor-names.svg)](https://badge.fury.io/gh/meodai%2Fcolor-names) | ||
[![npm version](https://badge.fury.io/js/color-name-list.svg)](https://badge.fury.io/js/color-name-list) | ||
[![travis build](https://api.travis-ci.org/meodai/color-names.svg?branch=master)](https://travis-ci.org/meodai/color-names) | ||
A handpicked list of color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722). | ||
A handpicked list of __10468__ color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722). | ||
> The names of color function like a thread attached to a frightfully slender needle, capable of stitching together our most delicate emotions and memories. When the needle hits the target, we feel either pleasure or emathy. **Kenya Hara – White** | ||
## Process 📋 | ||
@@ -27,12 +29,12 @@ My goal is to create a as big as possible color name list. I merged different [lists](#sources-), modified the names when they where the same but had different hex values, and I shifted the colors a bit when the same color had different names but the same value. | ||
#### yarn | ||
``` | ||
yarn add color-name-list | ||
npm install color-name-list --save | ||
``` | ||
#### NPM | ||
or | ||
``` | ||
npm install color-name-list --save | ||
yarn add color-name-list | ||
``` | ||
### color count: __10468__ | ||
### Usage JS ⌨ | ||
@@ -52,4 +54,4 @@ ```javascript | ||
# Contributors | ||
# Contributors | ||
- [yxklyx](https://github.com/yxklyx/) hunders of names!! | ||
- [Syl](https://twitter.com/Gypsy_Syl) | ||
- [Syl](https://twitter.com/Gypsy_Syl) |
1452033
56