mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 11:26:25 -05:00
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:
parent
155b490adb
commit
4a4a939f63
23 changed files with 262 additions and 262 deletions
|
|
@ -177,9 +177,9 @@ export interface ColoredInputProps
|
|||
*/
|
||||
style?: React.CSSProperties;
|
||||
/*
|
||||
* A token colour name for the label, and the SAME union Label accepts rather than a
|
||||
* A token color name for the label, and the SAME union Label accepts rather than a
|
||||
* loose `string`: the point of the union is that a theme must have a token by that
|
||||
* name, and widening it here would let a call site name a colour that resolves to
|
||||
* name, and widening it here would let a call site name a color that resolves to
|
||||
* nothing in every theme.
|
||||
*/
|
||||
color?: LabelProps['color'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue