color-name-list 13.35.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.
- package/.github/pull_request_template.md +29 -0
- package/CONTRIBUTING.md +87 -66
- package/README.md +2 -2
- package/changes.svg +3 -3
- package/dist/colornames.bestof.csv +1 -0
- package/dist/colornames.bestof.esm.js +1 -1
- package/dist/colornames.bestof.esm.mjs +1 -1
- package/dist/colornames.bestof.html +1 -1
- package/dist/colornames.bestof.json +1 -1
- package/dist/colornames.bestof.min.json +1 -1
- package/dist/colornames.bestof.scss +1 -1
- package/dist/colornames.bestof.toon +2 -1
- package/dist/colornames.bestof.umd.js +1 -1
- package/dist/colornames.bestof.xml +4 -0
- package/dist/colornames.bestof.yaml +3 -0
- package/dist/colornames.csv +1 -2
- package/dist/colornames.esm.js +1 -1
- package/dist/colornames.esm.mjs +1 -1
- package/dist/colornames.html +1 -1
- package/dist/colornames.json +1 -1
- package/dist/colornames.min.json +1 -1
- package/dist/colornames.scss +1 -1
- package/dist/colornames.short.csv +1 -0
- package/dist/colornames.short.esm.js +1 -1
- package/dist/colornames.short.esm.mjs +1 -1
- package/dist/colornames.short.html +1 -1
- package/dist/colornames.short.json +1 -1
- package/dist/colornames.short.min.json +1 -1
- package/dist/colornames.short.scss +1 -1
- package/dist/colornames.short.toon +2 -1
- package/dist/colornames.short.umd.js +1 -1
- package/dist/colornames.short.xml +4 -0
- package/dist/colornames.short.yaml +3 -0
- package/dist/colornames.toon +2 -3
- package/dist/colornames.umd.js +1 -1
- package/dist/colornames.xml +4 -8
- package/dist/colornames.yaml +3 -6
- package/dist/history.json +1 -1
- package/package.json +1 -1
- package/src/colornames.csv +2 -3
|
@@ -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
|
[](http://commitizen.github.io/cz-cli/)
|
|
4
4
|
|
|
5
|
-
Please note we have a code of conduct
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
`
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
43
|
-
|
|
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
|
|
67
|
+
## Committing Changes
|
|
49
68
|
|
|
50
|
-
|
|
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
|
-
|
|
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
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
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
|
-
|
|
97
|
+
worry about sorting; it will be done automatically for you.
|
|
78
98
|
4. **Create a Pull Request**:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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)
|
|
89
|
-
list or share a Google Spreadsheet with us. Note that doing it this
|
|
90
|
-
our automated checks (which tell you if a color is already taken),
|
|
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
|
-
|
|
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
|
[](https://www.npmjs.com/package/color-name-list)
|
|
14
14
|
[](https://github.com/sponsors/meodai)
|
|
15
15
|
|
|
16
|
-
A meticulously curated collection of
|
|
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:
|
|
134
|
+
## Color Count: __30048__ 🎉
|
|
135
135
|
|
|
136
136
|
~__0.18%__ of the RGB color space
|
|
137
137
|
|
package/changes.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 150">
|
|
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="
|
|
13
|
-
<text x="40" y="90" fill="#
|
|
12
|
+
<rect fill="#212121" x="0" y="0" width="600" height="150"/>
|
|
13
|
+
<text x="40" y="90" fill="#ff7a8f">Magical Girl</text>
|
|
14
14
|
</svg>
|