Library: the night sheet reads everywhere it is written on - #220
Conversation
Every label, counter, hint and error in the Library is ink that was black at a fraction, or a signal colour tuned for paper: on night paper they sat at 1.1:1 to 3.7:1, which is what the tag form, the rating box, the About editor and the object forms all showed. The night sheet now carries light ink at a fraction, lifted reds, green and purple, a stronger dim behind a dialog, and one error colour that pointed at a token this project never had. The Libraries page kept its daylight paper because the sheet is a canvas tile handed to the element inline, with washes that multiply: at night the tile is put away and the flat night sheet carries the page. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Claude finished @manager's task in 3m 19s —— View job Reviewing PR #220
SummaryScope is four SCSS files only — no React/TS/a11y-markup changes in this diff, so most of the standard checklist (hooks, hydration, TS types, App Router patterns) doesn't apply here. Verified against the dark-mode contrast passport: I recomputed WCAG contrast ratios independently for a sample of the retuned tokens ( Checked for a subtler regression class: since One real issue found (inline comment on Minor, non-blocking note: the new Everything else checks out:
|
| --red-700: #ff8f7a; | ||
| --green-100: #6fd39a; | ||
| --purple-100: #b49bff; | ||
| --gray-medium: #a89f95; |
There was a problem hiding this comment.
--gray-medium is already declared at line 37 (#8f877e, part of the pre-existing "ink turns to light" block) and is redeclared here with a different value (#a89f95). Since both live in the same body.darkTheme .library selector, the second declaration silently wins and the first becomes dead — confusing for anyone who edits line 37 expecting it to take effect. Worth folding into the single existing declaration instead of adding a second one.
Answers the review: --gray-medium was set twice in the night sheet, so the first line was dead weight. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Fixed: one |
|
Claude finished @manager's task in 49s —— View job Reviewing PR #220 (new commits pushed)
SummaryNew commit Confirmed No other files changed in this push ( |
Wolf's dark-mode contrast list, and the ones he did not list.
The defects were all in the night sheet, not in the components. Every label, counter, hint and placeholder in the Library is ink that is black at a fraction by day (
--black-transparent-300, 14 places: the tag form's labels, the rating box, the character counters, the notes editor, the shelf header, pagination). On night paper that ink sat at 1.11:1. The signal colours were tuned for paper too:--red-6003.06,--green-1003.34,--red-5003.70,--gray-medium4.18, and--purple-100(the AI shelf's own heading colour) 2.11.The night sheet now carries light ink at a fraction and lifted signals. Measured against all six paper surfaces in the dark palette, every token the Library uses as text is now 4.83:1 or better (worst:
--gray-300), and ink on a coloured fill (buttons, chips, the step circle, the rune seal) runs 5.85 to 8.22.Also in:
var(--red, #d33), a token this project never defined; it now takes--red-500. Another rule usedvar(--color-text), also undefined.multiply. At night the tile is put away and the flat night sheet carries the page.Found and NOT changed: the daylight palette has its own pre-existing weak pairs (
--whiteon--green-2002.61,--gray-mediumon paper 2.68,--gray3.26,--whiteon--brown4.26). Repainting the light theme Wolf already approved is his call, not a side effect of a dark-mode fix.🤖 Generated with Claude Code