color-name-list 13.19.2 → 13.20.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 (46) hide show
  1. package/.github/workflows/build-and-release.yml +1 -0
  2. package/.github/workflows/build.yml +5 -3
  3. package/CONTRIBUTING.md +1 -0
  4. package/changes.svg +3 -3
  5. package/dist/colornames.bestof.csv +4711 -4710
  6. package/dist/colornames.bestof.esm.js +1 -1
  7. package/dist/colornames.bestof.esm.mjs +1 -1
  8. package/dist/colornames.bestof.html +1 -1
  9. package/dist/colornames.bestof.json +1 -1
  10. package/dist/colornames.bestof.min.json +1 -1
  11. package/dist/colornames.bestof.scss +1 -1
  12. package/dist/colornames.bestof.toon +2 -1
  13. package/dist/colornames.bestof.umd.js +1 -1
  14. package/dist/colornames.bestof.xml +5 -1
  15. package/dist/colornames.bestof.yaml +4 -1
  16. package/dist/colornames.csv +29991 -29991
  17. package/dist/colornames.esm.js +1 -1
  18. package/dist/colornames.esm.mjs +1 -1
  19. package/dist/colornames.html +1 -1
  20. package/dist/colornames.json +1 -1
  21. package/dist/colornames.min.json +1 -1
  22. package/dist/colornames.scss +1 -1
  23. package/dist/colornames.short.csv +2966 -2965
  24. package/dist/colornames.short.esm.js +1 -1
  25. package/dist/colornames.short.esm.mjs +1 -1
  26. package/dist/colornames.short.html +1 -1
  27. package/dist/colornames.short.json +1 -1
  28. package/dist/colornames.short.min.json +1 -1
  29. package/dist/colornames.short.scss +1 -1
  30. package/dist/colornames.short.toon +2 -1
  31. package/dist/colornames.short.umd.js +1 -1
  32. package/dist/colornames.short.xml +5 -1
  33. package/dist/colornames.short.yaml +4 -1
  34. package/dist/colornames.toon +4 -4
  35. package/dist/colornames.umd.js +1 -1
  36. package/dist/colornames.xml +13 -13
  37. package/dist/colornames.yaml +10 -10
  38. package/dist/history.json +1 -1
  39. package/package.json +1 -1
  40. package/scripts/build.js +7 -3
  41. package/scripts/sortSrc.js +2 -2
  42. package/src/colornames.csv +4 -4
  43. package/tests/allowlists.test.js +76 -0
  44. package/tests/duplicate-allowlist.json +1 -2
  45. package/tests/title-case-allowlist.json +0 -1
  46. package/tests/validations.test.js +22 -9
@@ -50,6 +50,7 @@ jobs:
50
50
  git config --local user.email "github-actions[bot]@users.noreply.github.com"
51
51
  git config --local user.name "GitHub Action"
52
52
  git commit -m "docs: update README.md and changes.svg [skip ci]"
53
+ git pull --rebase https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git main
53
54
  git push https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:main
54
55
  env:
55
56
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -27,20 +27,22 @@ jobs:
27
27
  run: |
28
28
  corepack enable
29
29
  corepack prepare npm@11.6.0 --activate
30
+ - name: Sort colors
31
+ run: npm run sort-colors
30
32
  - name: Build
31
33
  run: npm run build
32
34
  - run: npm test
33
35
  - name: Check for changes
34
36
  id: git-check
35
37
  run: |
36
- git diff --quiet README.md changes.svg || echo "has_changes=true" >> $GITHUB_OUTPUT
38
+ git diff --quiet src/colornames.csv README.md changes.svg || echo "has_changes=true" >> $GITHUB_OUTPUT
37
39
  - name: Commit updated README and SVG
38
40
  if: steps.git-check.outputs.has_changes == 'true'
39
41
  run: |
40
42
  git config --local user.email "action@github.com"
41
43
  git config --local user.name "GitHub Action"
42
- git add README.md changes.svg
43
- git commit -m "docs(README): update README.md and changes.svg [skip ci]"
44
+ git add src/colornames.csv README.md changes.svg
45
+ git commit -m "chore: sort colors and update docs [skip ci]"
44
46
  - name: Push changes
45
47
  if: steps.git-check.outputs.has_changes == 'true'
46
48
  uses: ad-m/github-push-action@master
package/CONTRIBUTING.md CHANGED
@@ -43,6 +43,7 @@ interactions with the project.
43
43
  - Prefer common names, especially when adding colors of flora and fauna
44
44
  (plants and animals ;) ) ex. `Venus Slipper Orchid` instead of `Paphiopedilum`.
45
45
  - Avoid ethnic & racial assumptions
46
+ - Do not use LLM / AI to generate color names.
46
47
 
47
48
  ## Git
48
49
 
package/changes.svg CHANGED
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 8480">
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="8480"/>
13
- <text x="40" y="90" fill="#c0a98e">3AM Latte</text><text x="40" y="160" fill="#d1edee">A Certain Shade of Green</text><text x="40" y="230" fill="#f2850d">À lOrange</text><text x="40" y="300" fill="#f6ecde">A la Mode</text><text x="40" y="370" fill="#cda182">Arbol de Tamarindo</text><text x="40" y="440" fill="#faf3a6">Banan-Appeal</text><text x="40" y="510" fill="#ffcc88">Bastard Amber</text><text x="40" y="580" fill="#f2b8ca">Berries N Cream</text><text x="40" y="650" fill="#9c2542">Big Dip O’ruby</text><text x="40" y="720" fill="#0f1519">Black Is Back</text><text x="40" y="790" fill="#e4e7e4">Blanc de Blanc</text><text x="40" y="860" fill="#318ce7">Bleu de France</text><text x="40" y="930" fill="#cc0077">Bottom of My Heart</text><text x="40" y="1000" fill="#ffd182">Bread and Butter</text><text x="40" y="1070" fill="#ddcfbf">Brig O’doon</text><text x="40" y="1140" fill="#d2e0ef">Brisa de Mar</text><text x="40" y="1210" fill="#83bce5">C’est la Vie</text><text x="40" y="1280" fill="#80ffcc">Calamine Blue</text><text x="40" y="1350" fill="#cf6837">Casa de Oro</text><text x="40" y="1420" fill="#efdcca">Castle in the Clouds</text><text x="40" y="1490" fill="#b5dcd8">Catch the Wave</text><text x="40" y="1560" fill="#337eff">Ceruleite</text><text x="40" y="1630" fill="#e6e4da">Cherish Is the Word</text><text x="40" y="1700" fill="#ac495c">Cherry on Top</text><text x="40" y="1770" fill="#dbe9df">Clair de Lune</text><text x="40" y="1840" fill="#006f37">Column of Oak Green</text><text x="40" y="1910" fill="#f2d9b8">Cono de Vainilla</text><text x="40" y="1980" fill="#eee0b1">Cookies and Cream</text><text x="40" y="2050" fill="#f4c2c2">Cor-de-Pele</text><text x="40" y="2120" fill="#ffa373">Day at the Zoo</text><text x="40" y="2190" fill="#d5d2d1">Day on Mercury</text><text x="40" y="2260" fill="#004b49">Deep Into the Jungle</text><text x="40" y="2330" fill="#306030">Deep Into the Wood</text><text x="40" y="2400" fill="#864735">Deep Orange-Coloured Brown</text><text x="40" y="2470" fill="#e5e2e1">Diamonds in the Sky</text><text x="40" y="2540" fill="#f9ecb6">Easy on the Eyes</text><text x="40" y="2610" fill="#552299">Eine Kleine Nachtmusik</text><text x="40" y="2680" fill="#ae3d3b">Eye of Newt</text><text x="40" y="2750" fill="#b5e1db">Festival de Verano</text><text x="40" y="2820" fill="#de5f2f">Full of Life</text><text x="40" y="2890" fill="#1a9d49">Get up and Go</text><text x="40" y="2960" fill="#121210">Glimpse Into Space</text><text x="40" y="3030" fill="#fedc57">Glitter Is Not Gold</text><text x="40" y="3100" fill="#dcd8d7">Go to Grey</text><text x="40" y="3170" fill="#3f9b0b">Grass Is Greener</text><text x="40" y="3240" fill="#404404">Green Not Found</text><text x="40" y="3310" fill="#a1988b">Grey by Me</text><text x="40" y="3380" fill="#4aae97">Hole in One</text><text x="40" y="3450" fill="#ff80ff">Hottest of Pinks</text><text x="40" y="3520" fill="#ceebb2">Imbued With Mint</text><text x="40" y="3590" fill="#e2c3cf">In the Slip</text><text x="40" y="3660" fill="#4b0183">Indigo Static</text><text x="40" y="3730" fill="#55ddff">Ionized-Air Glow</text><text x="40" y="3800" fill="#c6caa7">Jardin de Hierbas</text><text x="40" y="3870" fill="#bc86af">Joie de Vivre</text><text x="40" y="3940" fill="#fbd6d2">Just a Tease</text><text x="40" y="4010" fill="#bec187">Kiss a Frog</text><text x="40" y="4080" fill="#9f9b84">Knock on Wood</text><text x="40" y="4150" fill="#a3498a">La la Lavender</text><text x="40" y="4220" fill="#bf90bb">La la Love</text><text x="40" y="4290" fill="#d8f1f4">Let It Snow</text><text x="40" y="4360" fill="#e5cdbe">Life Is a Peach</text><text x="40" y="4430" fill="#e19b42">Life Is Good</text><text x="40" y="4500" fill="#dccfce">Light Hint of Lavender</text><text x="40" y="4570" fill="#e2e3d6">Lily of the Valley White</text><text x="40" y="4640" fill="#d6e8e1">Lit’l Buoy Blew</text><text x="40" y="4710" fill="#e1b9c2">Love in a Mist</text><text x="40" y="4780" fill="#adcf43">Lyceum</text><text x="40" y="4850" fill="#f8a200">Mad for Mango</text><text x="40" y="4920" fill="#bb9b7d">Maison de Campagne</text><text x="40" y="4990" fill="#88bb55">Makin It Rain</text><text x="40" y="5060" fill="#e3cfab">Melt With You</text><text x="40" y="5130" fill="#ccccba">Mix or Match</text><text x="40" y="5200" fill="#553311">Moelleux au Chocolat</text><text x="40" y="5270" fill="#8d8d8d">More Than a Week</text><text x="40" y="5340" fill="#f23e67">Munch on Melon</text><text x="40" y="5410" fill="#ddcc33">Mustard on Toast</text><text x="40" y="5480" fill="#153043">NATO Blue</text><text x="40" y="5550" fill="#6a6968">Not so Innocent</text><text x="40" y="5620" fill="#b1714c">Not yet Caramel</text><text x="40" y="5690" fill="#eac7cb">Oh so Pretty</text><text x="40" y="5760" fill="#996644">Oiled up Kardashian</text><text x="40" y="5830" fill="#fd7f22">Orange You Happy?</text><text x="40" y="5900" fill="#ffa361">Peaches à la Crème</text><text x="40" y="5970" fill="#eac185">Piedra de Sol</text><text x="40" y="6040" fill="#ff8877">Play ’til Dawn</text><text x="40" y="6110" fill="#fcffff">Polar Bear in a Blizzard</text><text x="40" y="6180" fill="#006a93">Port au Prince</text><text x="40" y="6250" fill="#00cc11">Pressing My Luck</text><text x="40" y="6320" fill="#f3cf64">Ride off Into the Sunset</text><text x="40" y="6390" fill="#8d4942">Rojo Oxide</text><text x="40" y="6460" fill="#aa3646">Roses Are Red</text><text x="40" y="6530" fill="#533cc6">Royal Nightcore</text><text x="40" y="6600" fill="#a3bbdc">Sail Into the Horizon</text><text x="40" y="6670" fill="#dcd9db">Salt-N-Pepa</text><text x="40" y="6740" fill="#3b3429">Sensaicha Brown</text><text x="40" y="6810" fill="#c2a06d">Silence Is Golden</text><text x="40" y="6880" fill="#f4e4b3">Smooth as Corn Silk</text><text x="40" y="6950" fill="#845c00">Soil of Avagddu</text><text x="40" y="7020" fill="#7bb369">Soon to Be Hay</text><text x="40" y="7090" fill="#ff7711">Sparks in the Dark</text><text x="40" y="7160" fill="#ffd9a6">Speak to Me</text><text x="40" y="7230" fill="#e67a37">Spiced up Orange</text><text x="40" y="7300" fill="#f984e5">Splash of Grenadine</text><text x="40" y="7370" fill="#cfecee">Sprinkled With Dew</text><text x="40" y="7440" fill="#ff0066">Standby LED</text><text x="40" y="7510" fill="#fadb5e">Stil de Grain Yellow</text><text x="40" y="7580" fill="#e08a1e">Sumac Dyed</text><text x="40" y="7650" fill="#feac89">Sunset Over the Alps</text><text x="40" y="7720" fill="#1d4769">Terror From the Deep</text><text x="40" y="7790" fill="#fbe4b3">They Call It Mellow</text><text x="40" y="7860" fill="#0088ff">Too Blue to Be True</text><text x="40" y="7930" fill="#bf6153">Too Hot to Handle</text><text x="40" y="8000" fill="#dbe9d5">Touch of Green</text><text x="40" y="8070" fill="#cdd3a3">True to You</text><text x="40" y="8140" fill="#989fa3">UFO</text><text x="40" y="8210" fill="#654ea3">Ultrapurple Merge</text><text x="40" y="8280" fill="#97bee2">Viva le Bleu</text><text x="40" y="8350" fill="#d1d1bb">With a Twist</text><text x="40" y="8420" fill="#d5a1a9">Young at Heart</text>
12
+ <rect fill="#212121" x="0" y="0" width="600" height="290"/>
13
+ <text x="40" y="90" fill="#ab823d">Birds-Eye</text><text x="40" y="160" fill="#e4c495">Birds-Eye Maple</text><text x="40" y="230" fill="#b9030a">Bullseye</text>
14
14
  </svg>