color-name-list 12.1.0 → 13.0.0

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.
Files changed (48) hide show
  1. package/.vscode/tasks.json +10 -0
  2. package/README.md +2 -2
  3. package/changes.svg +3 -3
  4. package/dist/colornames.bestof.csv +22 -20
  5. package/dist/colornames.bestof.esm.js +1 -1
  6. package/dist/colornames.bestof.esm.mjs +1 -1
  7. package/dist/colornames.bestof.html +1 -1
  8. package/dist/colornames.bestof.json +1 -1
  9. package/dist/colornames.bestof.min.json +1 -1
  10. package/dist/colornames.bestof.scss +1 -1
  11. package/dist/colornames.bestof.umd.js +1 -1
  12. package/dist/colornames.bestof.xml +59 -51
  13. package/dist/colornames.bestof.yaml +47 -41
  14. package/dist/colornames.csv +38 -135
  15. package/dist/colornames.esm.js +1 -1
  16. package/dist/colornames.esm.mjs +1 -1
  17. package/dist/colornames.html +1 -1
  18. package/dist/colornames.json +1 -1
  19. package/dist/colornames.min.json +1 -1
  20. package/dist/colornames.scss +1 -1
  21. package/dist/colornames.short.csv +12 -17
  22. package/dist/colornames.short.esm.js +1 -1
  23. package/dist/colornames.short.esm.mjs +1 -1
  24. package/dist/colornames.short.html +1 -1
  25. package/dist/colornames.short.json +1 -1
  26. package/dist/colornames.short.min.json +1 -1
  27. package/dist/colornames.short.scss +1 -1
  28. package/dist/colornames.short.umd.js +1 -1
  29. package/dist/colornames.short.xml +25 -45
  30. package/dist/colornames.short.yaml +21 -36
  31. package/dist/colornames.umd.js +1 -1
  32. package/dist/colornames.xml +69 -457
  33. package/dist/colornames.yaml +56 -347
  34. package/dist/history.json +1 -1
  35. package/package.json +1 -1
  36. package/scripts/build.js +33 -161
  37. package/scripts/lib.js +60 -5
  38. package/scripts/sortSrc.js +4 -5
  39. package/src/colornames.csv +42 -139
  40. package/tests/_utils/report.js +76 -0
  41. package/tests/csv-test-data.js +108 -0
  42. package/tests/duplicate-allowlist.json +28 -1
  43. package/tests/duplicate-plurals-allowlist.json +10 -0
  44. package/tests/duplicates.test.js +135 -40
  45. package/tests/formats.test.js +9 -8
  46. package/tests/imports.test.js +12 -14
  47. package/tests/sorting.test.js +10 -12
  48. package/tests/validations.test.js +219 -0
@@ -43,6 +43,16 @@
43
43
  ],
44
44
  "isBackground": false,
45
45
  "group": "build"
46
+ },
47
+ {
48
+ "label": "Run tests with plural folding",
49
+ "type": "shell",
50
+ "command": "npm",
51
+ "args": [
52
+ "test"
53
+ ],
54
+ "isBackground": false,
55
+ "group": "build"
46
56
  }
47
57
  ]
48
58
  }
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
  [![npm](https://img.shields.io/npm/dt/color-name-list.svg)](https://www.npmjs.com/package/color-name-list)
14
14
  [![github sponsor count](https://img.shields.io/github/sponsors/meodai)](https://github.com/sponsors/meodai)
15
15
 
16
- A meticulously curated collection of __30216__ unique color names, sourced from
16
+ A meticulously curated collection of __30119__ unique color names, sourced from
17
17
  [various references](#sources-) and thousands of thoughtful user contributions.
18
18
 
19
19
  > The names of color function like a thread attached to a frightfully slender
@@ -64,7 +64,7 @@ Please review the [naming rules](CONTRIBUTING.md) before contributing!
64
64
  To contribute via Git, edit the `src/colornames.csv` file
65
65
  and ensure it builds correctly (`npm run ci && npm run build`).
66
66
 
67
- ## Color Count: __30216__ 🎉
67
+ ## Color Count: __30119__ 🎉
68
68
 
69
69
  ~__0.18%__ of the RGB color space
70
70
 
package/changes.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 710">
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 990">
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="710"/>
13
- <text x="40" y="90" fill="#bddfd8">Antiguan</text><text x="40" y="160" fill="#e6490b">Baptism by Fire</text><text x="40" y="230" fill="#b8e4f5">Breaking the Ice</text><text x="40" y="300" fill="#a1a9a9">Crown of Ash</text><text x="40" y="370" fill="#2b0f2e">Dark Prom Queen</text><text x="40" y="440" fill="#ffd34e">Golden Goose</text><text x="40" y="510" fill="#1c0f33">Midnight Monarch</text><text x="40" y="580" fill="#0b0c14">Midnight Oil</text><text x="40" y="650" fill="#7a3f2b">Stone Age Queen</text>
12
+ <rect fill="#212121" x="0" y="0" width="600" height="990"/>
13
+ <text x="40" y="90" fill="#903f45">Apple-a-Day</text><text x="40" y="160" fill="#e7d9b9">At the Beach</text><text x="40" y="230" fill="#a0b7ba">Blue by You</text><text x="40" y="300" fill="#babfc5">Blue to You</text><text x="40" y="370" fill="#145775">Broadway</text><text x="40" y="440" fill="#ddbda3">Brown-Bag It</text><text x="40" y="510" fill="#8d999e">By the Sea</text><text x="40" y="580" fill="#ba7f38">Cut the Mustard</text><text x="40" y="650" fill="#44aa55">Devil’s Grass</text><text x="40" y="720" fill="#978c59">In a Pickle</text><text x="40" y="790" fill="#c92d21">Red Seal</text><text x="40" y="860" fill="#ffffbf">Sour Veil</text><text x="40" y="930" fill="#c4bf0b">Sweet &amp; Sour</text>
14
14
  </svg>
@@ -61,6 +61,7 @@ Anarchist,#db304a
61
61
  Anchovy,#756f6b
62
62
  Ancient Pine,#444b43
63
63
  Ancient Scroll,#f0e4d1
64
+ Ancient Treasure,#e7d082
64
65
  Andromeda Blue,#abcdee
65
66
  Angel Wing,#f3dfd7
66
67
  Angel’s Trumpet,#f6dd34
@@ -672,6 +673,7 @@ Chalet,#c29867
672
673
  Champagne,#e9d2ac
673
674
  Champagne Gold,#e8d6b3
674
675
  Channel,#f1c3c2
676
+ Chanterelle,#ffc66e
675
677
  Chantilly,#edb8c7
676
678
  Chaotic Roses,#bb2266
677
679
  Charcoal,#343837
@@ -907,6 +909,7 @@ Crème Brûlée,#ffe39b
907
909
  Crème de la Crème,#f3e7b4
908
910
  Crème de Pêche,#fdf5e0
909
911
  Crème Fraîche,#eceee6
912
+ Crème Pâtissière,#fdd77a
910
913
  Creole,#393227
911
914
  Crepe,#d4bc94
912
915
  Crepuscular,#e7dcce
@@ -919,7 +922,7 @@ Crisps,#e2bd67
919
922
  Crispy Crunch,#7a8f68
920
923
  Croissant,#c4ab86
921
924
  Crow,#180614
922
- Crown Jewel,#4f325e
925
+ Crown Jewels,#946dad
923
926
  Crown of Ash,#a1a9a9
924
927
  Crown of Thorns,#763c33
925
928
  Crude Banana,#21c40e
@@ -948,6 +951,7 @@ Curry Bubbles,#f5b700
948
951
  Curry Sauce,#be9e6f
949
952
  Currywurst,#ddaa33
950
953
  Cursed Black,#131313
954
+ Cut the Mustard,#ba7f38
951
955
  Cute Crab,#dd4444
952
956
  Cuttlefish,#7fbbc2
953
957
  Cyan,#0ff0fe
@@ -1000,7 +1004,6 @@ Dark Sapphire,#082567
1000
1004
  Dark Secret,#3e5361
1001
1005
  Dark Serpent,#113311
1002
1006
  Dark Soul,#112255
1003
- Dark Souls,#a3a3a2
1004
1007
  Dark Space,#414a4c
1005
1008
  Dark Veil,#141311
1006
1009
  Dark Void,#151517
@@ -1067,6 +1070,7 @@ Desire,#ea3c53
1067
1070
  Desired Dawn,#d8d7d9
1068
1071
  Detective Coat,#8b8685
1069
1072
  Devil’s Advocate,#ff3344
1073
+ Devil’s Grass,#44aa55
1070
1074
  Deviled Eggs,#fecd82
1071
1075
  Devilish,#dd3322
1072
1076
  Devilish Diva,#ce7790
@@ -1087,6 +1091,7 @@ Discrete Pink,#ebdbdd
1087
1091
  Distant Cloud,#e5eae6
1088
1092
  Distant Homeworld,#acdcee
1089
1093
  Distant Landscape,#e1efdd
1094
+ Distant Wind Chime,#eaeff2
1090
1095
  Diva,#c9a0ff
1091
1096
  Diva Mecha,#ee99ee
1092
1097
  Diva Pink,#fa427e
@@ -1410,6 +1415,7 @@ Flirtatious Flamingo,#cc22ff
1410
1415
  Flirty Rose,#d65e93
1411
1416
  Flirty Salmon,#fa7069
1412
1417
  Floating Feather,#e9d8c2
1418
+ Floaty Bubble,#eaf5e7
1413
1419
  Flood,#6677bb
1414
1420
  Flora,#73fa79
1415
1421
  Florida’s Alligator,#664422
@@ -1807,7 +1813,7 @@ Havana,#3b2b2c
1807
1813
  Hawaii Morning,#00bbff
1808
1814
  Hawaiian Raspberry,#ff0051
1809
1815
  Hay Day,#dacd81
1810
- Haystacks,#cfac47
1816
+ Haystack,#cfac47
1811
1817
  Hazel,#a36b4b
1812
1818
  Hazelnut,#a8715a
1813
1819
  Hazelnut Chocolate,#7b3f00
@@ -1853,6 +1859,7 @@ Herbal Vapors,#ddffcc
1853
1859
  Herbal Whispers,#6b6d4e
1854
1860
  Herbalist,#969e86
1855
1861
  Herbalist’s Garden,#119900
1862
+ Herbes de Provence,#3a5f49
1856
1863
  Herbivore,#88ee77
1857
1864
  Here Comes the Sun,#fcdf63
1858
1865
  Heroic Red,#d1191c
@@ -1872,7 +1879,6 @@ High Seas,#7dabd8
1872
1879
  High Sierra,#cedee2
1873
1880
  High Tide,#85a6c8
1874
1881
  High Voltage,#eeff11
1875
- Highland,#7a9461
1876
1882
  Highlander,#3a533d
1877
1883
  Highlands,#449084
1878
1884
  Highway to Hell,#cd1102
@@ -2014,7 +2020,7 @@ Imperial Lilac,#a99fcf
2014
2020
  Imperial Purple,#5b3167
2015
2021
  Imperial Red,#ec2938
2016
2022
  Imperial Yellow,#ffb200
2017
- In A Pickle,#978c59
2023
+ In a Pickle,#978c59
2018
2024
  In for a Penny,#ee8877
2019
2025
  In Good Taste,#b6d4a0
2020
2026
  In the Dark,#3b3c41
@@ -2386,8 +2392,7 @@ Loveland,#e6718d
2386
2392
  Lovely Breeze,#f9d8e4
2387
2393
  Lovely Little Rosy,#e35f66
2388
2394
  Lox,#ec9079
2389
- Lucid Dream,#632f92
2390
- Lucid Dreams,#cceeff
2395
+ Lucid Dreams,#632f92
2391
2396
  Lucius Lilac,#baa2ce
2392
2397
  Lucky,#ab9a1c
2393
2398
  Lucky Clover,#008400
@@ -2948,7 +2953,6 @@ Obscure Ogre,#771908
2948
2953
  Obsidian,#445055
2949
2954
  Obsidian Shard,#060313
2950
2955
  Ocean Blue,#009dc4
2951
- Ocean Blues,#508693
2952
2956
  Ocean Breeze,#d3e5eb
2953
2957
  Ocean Slumber,#41767b
2954
2958
  Ocean’s Embrace,#306a78
@@ -3063,7 +3067,6 @@ Panorama,#327a88
3063
3067
  Pansy,#f75394
3064
3068
  Paolo Veronese Green,#009b7d
3065
3069
  Papaya,#fe985c
3066
- Paper Heart,#f7dbc7
3067
3070
  Paper Hearts,#cc4466
3068
3071
  Paper Plane,#f1ece0
3069
3072
  Paper White,#f6efdf
@@ -3158,7 +3161,7 @@ Pearly Pink,#ee99cc
3158
3161
  Peas Please,#8c7f3c
3159
3162
  Peat Brown,#5a3d29
3160
3163
  Pebble,#9d9880
3161
- Pebble Beach,#7f8285
3164
+ Pebble Beach,#ded8dc
3162
3165
  Pecan,#a67253
3163
3166
  Pedigrey,#8f8e8c
3164
3167
  Peek-a-Blue,#c5e1e1
@@ -3536,6 +3539,7 @@ Red Republic,#d70200
3536
3539
  Red Ribbon,#ed0a3f
3537
3540
  Red Riding Hood,#fe2713
3538
3541
  Red Robin,#7d4138
3542
+ Red Seal,#c92d21
3539
3543
  Red Stop,#ff2222
3540
3544
  Red Tape,#cc1133
3541
3545
  Red Wrath of Zeus,#e0180c
@@ -3594,6 +3598,7 @@ Rouge,#ab1239
3594
3598
  Rough Asphalt,#bdbebf
3595
3599
  Royal,#0c1793
3596
3600
  Royal Blush,#f26e54
3601
+ Royal Crown,#4f325e
3597
3602
  Royal Decree,#403547
3598
3603
  Royal Flush,#a0365f
3599
3604
  Royal Goblet,#d4ca8e
@@ -3839,7 +3844,7 @@ Skydive,#60bfd3
3839
3844
  Skyscraper,#d3dbe2
3840
3845
  Skyvory,#dcd7cd
3841
3846
  Sleepless Blue,#badbed
3842
- Sleepy Hollows,#839c6d
3847
+ Sleepy Hollow,#839c6d
3843
3848
  Slice of Heaven,#0022ee
3844
3849
  Slightly in Love,#fce6db
3845
3850
  Slime Girl,#00bb88
@@ -3911,6 +3916,7 @@ Sour Cherry,#e24736
3911
3916
  Sour Green,#c1e613
3912
3917
  Sour Lemon,#ffeea5
3913
3918
  Sour Lime,#acc326
3919
+ Sour Veil,#ffffbf
3914
3920
  Sour Yellow,#eeff04
3915
3921
  Sovereign Red,#ce243f
3916
3922
  Soviet Gold,#ffd900
@@ -4021,7 +4027,7 @@ Subnautical,#012253
4021
4027
  Subterrain Kingdom,#4f4e4a
4022
4028
  Subtle Breeze,#b5d2d8
4023
4029
  Succubus,#990022
4024
- Succulent,#8ba477
4030
+ Succulent Greenhouse,#8ba477
4025
4031
  Succulent Lime,#dcdd65
4026
4032
  Succulents,#007744
4027
4033
  Such a Peach,#fbddaf
@@ -4136,7 +4142,7 @@ Telemagenta,#aa22cc
4136
4142
  Tempest,#79839b
4137
4143
  Templar’s Gold,#f2e688
4138
4144
  Temptatious Tangerine,#ff7733
4139
- Tender Shoot,#e8eace
4145
+ Tender Shoot,#accb35
4140
4146
  Tender Taupe,#c4b198
4141
4147
  Tennis Ball,#dfff4f
4142
4148
  Terrestrial,#276757
@@ -4146,7 +4152,6 @@ Thai Hot,#fe1c06
4146
4152
  Thalassa,#53b1ba
4147
4153
  Thalassophile,#44aadd
4148
4154
  The Count’s Black,#102030
4149
- The Devil’s Grass,#666420
4150
4155
  The End,#2a2a2a
4151
4156
  The Grape War of 97’,#bb00ff
4152
4157
  The Legend of Green,#558844
@@ -4185,6 +4190,7 @@ Tomato Baby,#e10d18
4185
4190
  Tomato Bisque,#d15915
4186
4191
  Tomato Burst,#d6201a
4187
4192
  Tomato Queen,#dd4422
4193
+ Tomato Sunrise,#aa251b
4188
4194
  Tonkatsu,#edac36
4189
4195
  Too Big to Whale,#9596a4
4190
4196
  Too Blue to be True,#0088ff
@@ -4207,7 +4213,7 @@ Toxic Sludge,#00bb33
4207
4213
  Toxic Steam,#c1fdc9
4208
4214
  Track and Field,#d66352
4209
4215
  Tractor Beam,#00bffe
4210
- Tradewind,#b7c5c6
4216
+ Trade Winds,#b7c5c6
4211
4217
  Traffic Green,#55ff22
4212
4218
  Traffic Red,#ff1c1c
4213
4219
  Traffic Yellow,#fedc39
@@ -4217,7 +4223,6 @@ Transcendence,#f8f4d8
4217
4223
  Transfusion,#ea1833
4218
4224
  Translucent Unicorn,#ffedef
4219
4225
  Trapped Darkness,#0e1d32
4220
- Treasure,#e7d082
4221
4226
  Treasure Chest,#726854
4222
4227
  Treasure Map,#d0bb9d
4223
4228
  Treasure Map Waters,#658faa
@@ -4502,7 +4507,6 @@ Whisky Cola,#772233
4502
4507
  Whisky Sour,#eeaa33
4503
4508
  Whisper of Smoke,#cbcecf
4504
4509
  Whisper of White,#eadbca
4505
- Whisper White,#eae2d3
4506
4510
  Whispering Frost,#d7e5d8
4507
4511
  Whispering Smoke,#d8d8d4
4508
4512
  Whispering Willow,#919c81
@@ -4541,7 +4545,6 @@ Wildfire,#ff8833
4541
4545
  Willow Leaf,#a1a46d
4542
4546
  Wind Blown,#dde3e7
4543
4547
  Wind Chime,#dfe0e2
4544
- Wind Chimes,#cac5c2
4545
4548
  Windfall,#84a7ce
4546
4549
  Windjammer,#62a5df
4547
4550
  Windows 95 Desktop,#018281
@@ -4560,7 +4563,7 @@ Wine Tour,#653b66
4560
4563
  Wineberry,#663366
4561
4564
  Wing Commander,#0065ac
4562
4565
  Winter Duvet,#ffffe0
4563
- Winter Lakes,#5c97cf
4566
+ Winter Lake,#5c97cf
4564
4567
  Winter Scene,#becedb
4565
4568
  Winter Storm,#4b7079
4566
4569
  Winter Wizard,#a0e6ff
@@ -4598,7 +4601,6 @@ Yakitori,#ecab3f
4598
4601
  Yang Mist,#ede8dd
4599
4602
  Yearning Desire,#ca135e
4600
4603
  Yell for Yellow,#fffe00
4601
- Yell Yellow,#ffffbf
4602
4604
  Yellow,#ffff00
4603
4605
  Yellow Buzzing,#eedd11
4604
4606
  Yellow Chalk,#f5f9ad