color-name-list 10.19.0 β†’ 10.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONTRIBUTING.md CHANGED
@@ -31,6 +31,7 @@ interactions with the project.
31
31
  - Capitalize colors: `Kind of Orange`
32
32
  - Prefer common names, especially when adding colors of flora and fauna
33
33
  (plants and animals ;) ) ex. `Venus Slipper Orchid` instead of `Paphiopedilum`.
34
+ - Avoid ethnic & racial assumptions
34
35
 
35
36
  ## Git
36
37
 
@@ -38,9 +39,9 @@ interactions with the project.
38
39
  can run `npx cz` or `npm run commit` instead of `git commit -m`, or make sure
39
40
  to follow [conventional changelog naming rules].
40
41
  - Write your commit messages in imperative form:
41
- **feat(colors): Adds fantastic new colors names.** rather then
42
+ **feat(colors): Add fantastic new colors names.** rather then
42
43
  feat(colors): Added new names.
43
- - Make sure to run `npm run build` before commiting. (No need to `npm ci` the
44
+ - Make sure to run `npm run build` before committing. (No need to `npm ci` the
44
45
  dependencies are only needed if you need to run the API)
45
46
 
46
47
  ### Attribution
package/README.md CHANGED
@@ -6,10 +6,10 @@
6
6
  [![GitHub release](https://img.shields.io/github/release/meodai/color-names.svg)](https://github.com/meodai/color-names/)
7
7
  [![npm version](https://img.shields.io/npm/v/color-name-list.svg)](https://www.npmjs.com/package/color-name-list)
8
8
  [![npm](https://img.shields.io/npm/dt/color-name-list.svg)](https://www.npmjs.com/package/color-name-list)
9
- [![name count](https://img.shields.io/badge/__30241__-names-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
9
+ [![name count](https://img.shields.io/badge/__30246__-names-orange.svg)](https://github.com/meodai/color-names/blob/master/src/colornames.csv)
10
10
  [![github sponsor count](https://img.shields.io/github/sponsors/meodai)](https://github.com/sponsors/meodai)
11
11
 
12
- A handpicked list of __30241__ unique color names from
12
+ A handpicked list of __30246__ unique color names from
13
13
  [various sources](#sources-) and thousands of curated user submissions.
14
14
 
15
15
  > The names of color function like a thread attached to a frightfully slender
@@ -54,7 +54,7 @@ __[via form 🌈](https://docs.google.com/forms/d/e/1FAIpQLSfbS5D6owA4dQupJJ-6qh
54
54
 
55
55
  Make sure to read the [naming rules](CONTRIBUTING.md) before you contribute!
56
56
 
57
- ## Color Count: __30241__ πŸŽ‰
57
+ ## Color Count: __30246__ πŸŽ‰
58
58
 
59
59
  ~__0.18%__ of the RGB color space
60
60
 
@@ -135,12 +135,12 @@ consider using the [public rest API](#api-)
135
135
  #### Exact Color
136
136
 
137
137
  ```javascript
138
- import namedColors from 'color-name-list';
138
+ import { colorNameList } from 'color-name-list';
139
139
 
140
- let someColor = namedColors.find(color => color.hex === '#ffffff');
140
+ let someColor = colorNameList.find(color => color.hex === '#ffffff');
141
141
  console.log(someColor.name); // => white
142
142
 
143
- let someNamedColor = namedColors.find(color => color.name === 'Eigengrau')
143
+ let someNamedColor = colorNameList.find(color => color.name === 'Eigengrau')
144
144
  console.log(someColor.hex); // => #16161d
145
145
  ```
146
146
 
@@ -151,7 +151,7 @@ Since there are 16777216 possible RGB colors, you might use a library such as
151
151
 
152
152
  ```js
153
153
  import nearestColor from 'nearest-color';
154
- import colorNameList from 'color-name-list';
154
+ import { colorNameList } from 'color-name-list';
155
155
 
156
156
  // nearestColor need objects {name => hex} as input
157
157
  const colors = colorNameList.reduce((o, { name, hex }) => Object.assign(o, { [name]: hex }), {});
package/changes.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 1060">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 290">
2
2
  <defs>
3
3
  <style type="text/css">
4
4
  @import url('https://rsms.me/inter/inter.css');
@@ -9,6 +9,6 @@
9
9
  }
10
10
  </style>
11
11
  </defs>
12
- <rect fill="#212121" x="0" y="0" width="600" height="1060"/>
13
- <text x="40" y="90" fill="#000099">99 Years Blue</text><text x="40" y="160" fill="#052462">Black Sea Night</text><text x="40" y="230" fill="#89a068">Buckingham Gardens</text><text x="40" y="300" fill="#0bdb43">Dasyphyllous Green</text><text x="40" y="370" fill="#a58d72">Elk</text><text x="40" y="440" fill="#2dd78d">Envy’s Love</text><text x="40" y="510" fill="#cdd80d">Goldzilla</text><text x="40" y="580" fill="#006699">Impulse Blue</text><text x="40" y="650" fill="#d0eed7">Jade Palace</text><text x="40" y="720" fill="#ad9a84">Majestic Elk</text><text x="40" y="790" fill="#f5cc3d">Marigold Dust</text><text x="40" y="860" fill="#f26e54">Royal Blush</text><text x="40" y="930" fill="#a0365f">Royal Flush</text><text x="40" y="1000" fill="#f20769">Ruby Fire</text>
12
+ <rect fill="#212121" x="0" y="0" width="600" height="290"/>
13
+ <text x="40" y="90" fill="#d9b1d6">Blushing Sky</text><text x="40" y="160" fill="#eacad0">Pink Slipper</text><text x="40" y="230" fill="#edb9bd">Seashell Froth</text>
14
14
  </svg>
@@ -166,6 +166,7 @@ Bakery Brown,#ab9078
166
166
  Baklava,#efb435
167
167
  Ballerina,#f2cfdc
168
168
  Ballet,#f7d5d4
169
+ Ballet Slippers,#fca2ad
169
170
  Balsamico,#130d07
170
171
  Baltic,#279d9f
171
172
  Baltic Amber,#fbb782
@@ -383,6 +384,7 @@ Blush Rush,#f0bcbe
383
384
  Blushing Cinnamon,#ffbf99
384
385
  Blushing Coconut,#ebd5ca
385
386
  Blushing Rose,#e09b81
387
+ Blushing Sky,#d9b1d6
386
388
  Blustering Blue,#4411ff
387
389
  Boa,#7f7755
388
390
  Bohemian Blue,#0000aa
@@ -824,6 +826,7 @@ Cotton Candy,#ffbcd9
824
826
  Cotton Candy Comet,#ffc3cb
825
827
  Cotton Candy Explosions,#dd22ff
826
828
  Cotton Field,#f2f0e8
829
+ Count Chocula,#5e2d10
827
830
  Countryside,#a4a404
828
831
  Court-Bouillon,#cecb97
829
832
  Couscous,#ffe29b
@@ -3499,6 +3502,7 @@ Ruined Smores,#0f1012
3499
3502
  Ruins of Civilization,#cadece
3500
3503
  Ruins of Metal,#9b8b84
3501
3504
  Rum,#716675
3505
+ Rum Swizzle,#f1edd4
3502
3506
  Run Lola Run,#da2811
3503
3507
  Rural Green,#8d844d
3504
3508
  Rural Red,#bb1144
@@ -3893,6 +3897,7 @@ Sugar High,#efc9ec
3893
3897
  Sugar Milk,#fff9f5
3894
3898
  Sugar Mint,#c0e2c5
3895
3899
  Sugar Quill,#ebe5d7
3900
+ Sugar Rush,#d85da1
3896
3901
  Sugarwinkle,#fdc5e3
3897
3902
  Sulfur Pit,#e5cc69
3898
3903
  Sulfuric,#eeed56
@@ -4469,4 +4474,5 @@ Zombie,#6a755a
4469
4474
  Zoodles,#b8bf71
4470
4475
  Zucchini,#17462e
4471
4476
  Zucchini Noodles,#c8d07f
4472
- Zunda Green,#6bc026
4477
+ Zunda Green,#6bc026
4478
+ Ο€,#314159