style: spell it "color" everywhere

283 occurrences across 23 files, all of them mine and all of them in the
theme/UI work: comments, test names, and a handful of local identifiers
(`colours`, `roleColours`, `awaitColoured`) plus one test fixture tag named
'Uncoloured'.

Nothing was required to keep the other spelling.  Checked before replacing: no
CSS custom property or class name contains it, no library prop or API key does,
and every string holding it is a test name or our own copy.  The renamed
identifiers were checked for collisions with an existing `color`/`colors` in the
same file first -- there were none.

Verified as a pure rename: 262 lines changed, and normalising the spelling on
every removed line reproduces the added line exactly, for all 262.  So the diff
contains no other edit hiding in it.

1134 jest / 64 suites, 271 cypress component tests with the same 12 pre-existing
Semantic-era failures in Tags/Channels/Download/Inventory, clean npm run build.
This commit is contained in:
Roland 2026-08-02 18:02:44 -06:00
parent c1a12b41f0
commit a642c2e981
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
23 changed files with 262 additions and 262 deletions

View file

@ -63,7 +63,7 @@ html .mantine-Notifications-root[data-position^='top'] {
.wrolpi-navbar-link:hover,
.wrolpi-navbar-link-button:hover {
/* A translucent black works on every navbar colour, light or dark. */
/* A translucent black works on every navbar color, light or dark. */
background: rgba(0, 0, 0, 0.12);
}
@ -76,7 +76,7 @@ html .mantine-Notifications-root[data-position^='top'] {
* - An anchor takes `a {color: var(--blue)}` from tokens.css, which outranks an inherited
* value however the bar sets it. The search glyph is an anchor, and so is every status
* icon that links to /admin -- those only looked right because they carry an inline
* colour of their own, which still wins here and is meant to.
* color of their own, which still wins here and is meant to.
* - A Mantine ActionIcon paints `--ai-color`, its own themed blue. The hamburger and the
* theme toggle are ActionIcons. The variable is no use as a hook: Mantine writes it
* INLINE on the element, so a stylesheet declaring it loses every time (the same trap
@ -200,7 +200,7 @@ pre.wrap-text {
/*
* A card's title and its author/channel/domain line are links, but they are the card's
* text -- they take the body colour rather than the link colour, so a grid of cards reads
* text -- they take the body color rather than the link color, so a grid of cards reads
* as titles and not as a wall of blue. This was a literal `black` until the themes
* arrived, which left every title at about 1.1:1 on the dark, night and amber panels.
*/