Colour Watch's fastext label, not just its swatch
All checks were successful
Deploy / deploy (push) Successful in 22s
All checks were successful
Deploy / deploy (push) Successful in 22s
Swatch-only blue read as unfinished next to the other five fully- coloured entries. The word now carries the colour like every other key, same currentColor mechanism as the rest — accepting blue's ~2.4:1 contrast on black as a known, deliberate exception to the 4.5:1 bar everything else here clears.
This commit is contained in:
parent
5dd49c505c
commit
9fba4f210e
3 changed files with 35 additions and 39 deletions
32
CLAUDE.md
32
CLAUDE.md
|
|
@ -106,21 +106,23 @@ the user's Unraid home server. Server-side project directory is still named
|
|||
other nav, so it needs no scroll to reach. The index overrides it
|
||||
with `HOME_FASTEXT`, the original four-entry row, as its own closing
|
||||
line, since its body already lists every destination once. Every
|
||||
destination gets its own distinct mark — the locked eight colours
|
||||
only give five that read as legible text on black, so getting to
|
||||
eight took three treatments: five flat colours as text+swatch
|
||||
(Index/Library/Discover/System keep their `r`/`g`/`y`/`c` shortcut;
|
||||
Requests gets magenta/`--pending` with no shortcut — a deliberate
|
||||
fit, since Requests already is "waiting on a human" everywhere else
|
||||
magenta appears); Watch gets blue as a swatch-only accent (`.k-blue`
|
||||
— blue fails contrast as body text, so only the small cell carries
|
||||
it, not the row's own label); Activity gets an ordered-dither swatch
|
||||
(`.k-dither`, same mechanism as `--dither-mid`) rather than a flat
|
||||
colour. Settings alone keeps plain ink with no swatch treatment —
|
||||
deliberately, as the one page with no live status of its own.
|
||||
Whichever entry matches the current page renders as a
|
||||
`.fastext-here` span instead of a link — a page linking to itself
|
||||
did nothing, so it isn't offered as a click.
|
||||
destination gets its own distinct mark. Six get a flat colour, text
|
||||
and swatch both: Index/Library/Discover/System keep their `r`/`g`/
|
||||
`y`/`c` shortcut; Requests gets magenta/`--pending` with no
|
||||
shortcut (a deliberate fit — Requests already is "waiting on a
|
||||
human" everywhere else magenta appears); Watch gets blue (`.k-blue`)
|
||||
with no shortcut. Blue is a known exception to the app's own 4.5:1
|
||||
text-contrast bar (it clears ~2.4:1 on black) — kept anyway, at the
|
||||
visitor's request, over the alternative of a swatch-only accent
|
||||
that read as unfinished next to six fully-coloured neighbours.
|
||||
Activity gets an ordered-dither swatch (`.k-dither`, same mechanism
|
||||
as `--dither-mid`) instead of a flat colour — the one other legal
|
||||
way to get a distinct mark without a ninth hue. Settings alone
|
||||
keeps plain ink with no swatch treatment — deliberately, as the one
|
||||
page with no live status of its own. Whichever entry matches the
|
||||
current page renders as a `.fastext-here` span instead of a link —
|
||||
a page linking to itself did nothing, so it isn't offered as a
|
||||
click.
|
||||
- **Nothing is clipped, hidden, or sticky.** All seven page numbers and
|
||||
every fastext entry stay visible at every width, reflowing to another
|
||||
row rather than scrolling, truncating, or folding into a menu. No
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue