diff --git a/app/cypress/support/component.js b/app/cypress/support/component.js index 9cacf352..49cfd9b6 100644 --- a/app/cypress/support/component.js +++ b/app/cypress/support/component.js @@ -20,7 +20,7 @@ import '../../src/themes/fonts.css'; import '../../src/themes/tokens.css'; import '@mantine/core/styles.css'; // App.js loads this too. Without it a Notification renders unstyled here, so a toast had no -// surface and no title colour of Mantine's -- and its contrast test could not fail. +// surface and no title color of Mantine's -- and its contrast test could not fail. import '@mantine/notifications/styles.css'; /* * App.js loads this as well. Rules for things outside the component library live here -- diff --git a/app/src/App.css b/app/src/App.css index 52a95e5a..a93f819f 100644 --- a/app/src/App.css +++ b/app/src/App.css @@ -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. */ diff --git a/app/src/Tags.js b/app/src/Tags.js index 4bc2beec..7eadcff9 100644 --- a/app/src/Tags.js +++ b/app/src/Tags.js @@ -117,7 +117,7 @@ export function useTags() { {...props} // onClick passed here. className={className} /* - * The contrasting text colour goes in a custom property, not in `color`. As + * The contrasting text color goes in a custom property, not in `color`. As * `color` it was an inline declaration, which no stylesheet rule can outrank -- * so night, where a tag becomes an outline over a near-black page, still got * the black text calculated for a bright tag's fill. The tag was legible only @@ -340,7 +340,7 @@ function EditTagsModal() { * `--label-text`, not `color`, for the same reason as the chip itself: * inline `color` cannot be overridden, so in night this preview showed * black text on a transparent outline over a near-black page. It is the - * preview of the colour being chosen, so being honest about how the tag + * preview of the color being chosen, so being honest about how the tag * will actually look matters here more than anywhere. */} render( const tagOf = (name) => screen.getByText(name); /* - * Wait for the fetched colours to arrive. Before they do, `NameToTagLabel` falls back to a + * Wait for the fetched colors to arrive. Before they do, `NameToTagLabel` falls back to a * plain `