color-name-list 13.36.0 → 13.37.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.
@@ -0,0 +1,29 @@
1
+ **PR title format:** `feat(colors): Describe your colors`
2
+
3
+ ## Summary
4
+
5
+ Describe what this PR changes. For color additions, mention how many colors you
6
+ added or adjusted.
7
+
8
+ ## Checklist
9
+
10
+ - [ ] I have read and followed `CONTRIBUTING.md`.
11
+ - [ ] I only edited `src/colornames.csv` for color name changes (no changes to
12
+ `dist/`, `README.md`, or `changes.svg`).
13
+ - [ ] New color names:
14
+ - [ ] Convey a specific color (not just a vibe or reference).
15
+ - [ ] Follow the "Rules for new color names" (no racist/offensive/obscene/
16
+ brand names, etc.).
17
+ - [ ] Use British English spelling where applicable (e.g. `Grey` not `Gray`).
18
+ - [ ] Are capitalized in APA-style title case.
19
+ - [ ] I ran `npm test` locally (or understand CI will run it for me).
20
+
21
+ ## Color source / inspiration
22
+
23
+ Explain where these colors come from (e.g. standard, dataset, artwork, game, etc.)
24
+ and link sources if possible.
25
+
26
+ ## Notes for maintainers
27
+
28
+ Anything special reviewers should know (e.g. why a borderline or subjective name
29
+ still feels appropriate, or why it improves over an existing uninspired name).
package/CONTRIBUTING.md CHANGED
@@ -2,95 +2,116 @@
2
2
 
3
3
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
4
4
 
5
- Please note we have a code of conduct, please follow it in all your
6
- interactions with the project.
7
-
8
- ## Adding colors
9
-
10
- 1. Only update the `src/colornames.csv` file and run `npm test`.
11
- 2. Make sure the names you commit are not racist or offensive or a protected
12
- brand name (No Facebook Blue, Coca Cola Red etc.., no nationality or tan etc..).
13
- 3. Read the "Rules for new color names" directly below
14
- 4. Make sure that neither name nor hex value of your added colors are already
15
- in use. `npm test` will test that for you.
16
- 5. Do not edit generated files. Do not commit changes to `README.md`,
17
- `changes.svg` or anything in `dist/`.
18
- 6. Add the source of your colors in the Pull Request description.
19
- Maintainers will update documentation if needed.
20
-
21
- ## Rules for new color names
22
-
23
- - No duplicate names or hex values.
24
- - Names should convey a color (e.g. `Sunset Orange` evokes orange,
25
- `Partygoer` does not)
26
- - No racist names
27
- - No offensive names
28
- - No obscene names 💩
29
- - No protected brand-names (`Facebook Blue`, `Coca Cola Red`)
30
- - No enumerations (`Grey 1`, `Grey 2`, `Grey 3`, `Grey 4`)
31
- - British English spelling (ex. `Grey` not `Gray`), unless its something U.S. typical.
32
- - Capitalize colors: `Kind of Orange` following [APA style](https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case)
33
- - Prefer common names, especially when adding colors of flora and fauna
34
- (plants and animals ;) ) ex. `Venus Slipper Orchid` instead of `Paphiopedilum`.
35
- - Avoid ethnic & racial assumptions
36
- - Do not use LLM / AI to generate color names.
37
-
38
- ## Generated files and CI
5
+ Please note we have a code of conduct; please follow it in all your interactions
6
+ with the project.
7
+
8
+ ## Important Note
9
+
10
+ We're not actively looking to grow the list much further. Instead, we'd love
11
+ help **replacing uninspired or plain bad names**
12
+ (e.g., `Amethyst Light Violet`). Yes, this is subjective—but hey,
13
+ it's a list of color names! 🎨
14
+
15
+ ## Adding Colors
16
+
17
+ 1. **Review Rules:** Read and adhere to the
18
+ ["Rules for new color names"](#rules-for-new-color-names) below.
19
+ 2. **File Edits:** Only update the `src/colornames.csv` file.
20
+ 3. **Local Check:** Run npm test to confirm names and hex values are unique
21
+ and that no generated files are modified.
22
+ 4. **Source**: Add the source/origin of your new colors in the Pull Request
23
+ description. Maintainers will update documentation if needed.
24
+ 5. **Do Not Commit Generated Files:** Do not commit changes to generated files
25
+ like `README.md`, `changes.svg`, or anything in `dist/`.
26
+
27
+ ## Rules for New Color Names
28
+
29
+ ### 🚫 Name Exclusions (Mandatory)
30
+
31
+ These rules are strictly enforced for all new and changed names:
32
+
33
+ - **No Duplicates:** Neither the name nor the hex value can be a duplicate of
34
+ an existing entry.
35
+ - **Offensive Content:** No offensive, racist, obscene, or derogatory names
36
+ (including terms based on ethnicity, race, nationality, gender, or sex). Avoid
37
+ ethnic and racial assumptions.
38
+ - **Protected Brands:** No protected brand names (e.g., `Coca Cola Red`,
39
+ `Facebook Blue`).
40
+ - **No Enumerations:** No numbered or simple sequence names (e.g., `Grey 1`,
41
+ `Blue 2`).
42
+ - **No AI Generation:** Do not use LLM / AI to generate color names.
43
+
44
+ ### ✨ Naming Conventions (Style & Clarity)
45
+
46
+ - **Convey Color:** Names must clearly evoke a color (e.g., `Sunset Orange`
47
+ evokes orange, `Partygoer` does not).
48
+ - **Common/Flora/Fauna:** Prefer common names, especially when referencing
49
+ flora and fauna (plants and animals); for example, use `Venus Slipper Orchid`
50
+ instead of `Paphiopedilum`.
51
+ - **British English:** Use British English spelling (e.g., `Grey` not `Gray`),
52
+ unless the name is something typically U.S. (e.g., `Tuscan Red` is fine).
53
+ - **Capitalization (APA Title Case):** Capitalize the name following
54
+ [APA title case style](https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case)
55
+ (e.g., `Kind of Orange`).
56
+
57
+ ## Generated Files and CI
39
58
 
40
59
  - PRs run `npm ci`, `npm run build`, and `npm test` in CI.
41
- - CI may update `README.md` and `changes.svg` automatically and push
42
- to your PR branch.
43
- - Do not include generated files (`dist/`, `README.md`, `changes.svg`) in commits.
60
+ - CI may update `README.md` and `changes.svg` automatically and push to your PR branch.
61
+ - **Do not include generated files** (`dist/`, `README.md`, `changes.svg`) in
62
+ your commits.
44
63
  - For color name changes, only submit updates to `src/colornames.csv`.
45
64
  - No need to run `npm run build` locally; CI generates outputs.
46
65
  - Optional locally: `npm run lint:markdown` to match CI markdown checks.
47
66
 
48
- ## Committing changes
67
+ ## Committing Changes
49
68
 
50
- - We use automated semantic versioning using conventional changelog rules. You
51
- can run `npx cz` or `npm run commit` instead of `git commit -m`, or make sure
52
- to follow [conventional changelog naming rules]. Our conventional commits
53
- look like:
69
+ We use automated semantic versioning based on conventional changelog rules.
54
70
 
55
- ```text
71
+ - You can run `npx cz` or `npm run commit` instead of `git commit -m`.
72
+ - Alternatively, make sure your commit message follows the
73
+ [conventional changelog naming rules][conventional changelog naming rules].
74
+ Our conventional commits look like:
75
+
76
+ ```text
56
77
  feat(colors): Add fantastic new colors names.
57
78
  fix(colors): Correct the hex value for Awesome Pink.
58
79
  docs(readme): Update the readme to include new colors.
59
- ```
80
+ ```
60
81
 
61
- - Write your commit messages in imperative form:
62
- **feat(colors): Add fantastic new colors names.** rather then
63
- feat(colors): Added new names.
64
- Make sure to run `npm run test` before committing.
65
- For color name changes this is the only command you need locally.
82
+ - **Imperative Form:** Write your commit messages in imperative form:
83
+ **feat(colors): Add fantastic new colors names.** rather than *feat(colors):
84
+ Added new names.*
85
+ - Make sure to run `npm run test` before committing. For color name changes,
86
+ this is the only command you need locally.
66
87
 
67
- ## No Command Line? No Problem! 🐣
88
+ ## No Command Line? No Problem\! 🐣
68
89
 
69
90
  If you are not familiar with Git or the command line, you can contribute directly
70
91
  through GitHub:
71
92
 
72
93
  1. **Fork the repository**: Click the "Fork" icon in the top right corner of
73
- this page. This creates a copy of the project under your own account.
74
- 2. **Edit the list**: Navigate to `src/colornames.csv` in your forked
75
- repository.
94
+ this page. This creates a copy of the project under your own account.
95
+ 2. **Edit the list**: Navigate to `src/colornames.csv` in your forked repository.
76
96
  3. **Add your colors**: Scroll to the bottom and add your new colors. Don't
77
- worry about sorting; it will be done automatically for you.
97
+ worry about sorting; it will be done automatically for you.
78
98
  4. **Create a Pull Request**:
79
- - Commit your changes in the GitHub interface.
80
- - Go back to the [original repository](https://github.com/meodai/color-names).
81
- - GitHub will often show a banner asking if you want to create a Pull Request
82
- from your recent changes. If not, go to the "Pull requests" tab and click
83
- "New pull request", then "compare across forks" to select your version.
84
- - Fill in the details and submit your Pull Request. The title should look
85
- something like "feat(colors): Add new color names".
99
+ - Commit your changes in the GitHub interface.
100
+ - Go back to the [original repository](https://github.com/meodai/color-names).
101
+ - GitHub will often show a banner asking if you want to create a Pull
102
+ Request from your recent changes. If not, go to the "Pull requests" tab
103
+ and click "New pull request", then "compare across forks" to select your
104
+ version.
105
+ - Fill in the details and submit your Pull Request. The title should look
106
+ something like "feat(colors): Add new color names".
86
107
 
87
108
  If this feels too complicated, feel free to just
88
- [open an issue](https://github.com/meodai/color-names/issues/new) with your
89
- list or share a Google Spreadsheet with us. Note that doing it this way skips
90
- our automated checks (which tell you if a color is already taken), so it might
91
- take a bit longer to review.
109
+ [open an issue](https://github.com/meodai/color-names/issues/new)
110
+ with your list or share a Google Spreadsheet with us. Note that doing it this
111
+ way skips our automated checks (which tell you if a color is already taken),
112
+ so it might take a bit longer to review.
92
113
 
93
- ### Attribution
114
+ ## Attribution
94
115
 
95
116
  This Code of Conduct is adapted from the [Contributor Covenant][homepage],
96
117
  version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
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 __30047__ unique color names, built from
16
+ A meticulously curated collection of __30048__ unique color names, built from
17
17
  [many sources](#sources-) and thousands of community contributions.
18
18
 
19
19
  > The names of color function like a thread attached to a frightfully slender
@@ -131,7 +131,7 @@ and ensure tests pass locally (`npm test`).
131
131
  See the full guidelines in [CONTRIBUTING.md](CONTRIBUTING.md) for naming
132
132
  rules, capitalization, CI behavior, and more.
133
133
 
134
- ## Color Count: __30047__ 🎉
134
+ ## Color Count: __30048__ 🎉
135
135
 
136
136
  ~__0.18%__ of the RGB color space
137
137
 
package/changes.svg CHANGED
@@ -10,5 +10,5 @@
10
10
  </style>
11
11
  </defs>
12
12
  <rect fill="#212121" x="0" y="0" width="600" height="150"/>
13
- <text x="40" y="90" fill="#330404">3AM Breakup</text>
13
+ <text x="40" y="90" fill="#ff7a8f">Magical Girl</text>
14
14
  </svg>
@@ -1,4 +1,4 @@
1
- [30047]{name,hex}:
1
+ [30048]{name,hex}:
2
2
  100 Mph,#c93f38
3
3
  20000 Leagues Under the Sea,#191970
4
4
  24 Carrot,#e56e24
@@ -15788,6 +15788,7 @@ Magic Spell,#544f66
15788
15788
  Magic Wand,#c3d9e4
15789
15789
  Magic Whale,#17034a
15790
15790
  Magical,#c1ceda
15791
+ Magical Girl,#ff7a8f
15791
15792
  Magical Malachite,#22cc88
15792
15793
  Magical Mauve,#baa3a9
15793
15794
  Magical Melon,#e9e9d0