Light mode: list meta text and icons faint over the glass; sidebar highlight follows the open list #124

Closed
opened 2026-10-14 04:31:32 +00:00 by kayg · 2 comments
Owner

Seen in the Trash screenshots (#121), and it applies to every list:

  • In light mode, row meta lines ("Today · 30 days left"), row icons and the quiet header buttons ("Empty") are hard to read over the bright sky glass. They need WCAG AA contrast (4.5:1 for text, 3:1 for icons) at every sky hour, not just noon.
  • The sidebar keeps "Today" highlighted while the Trash list (or any other list) is showing. The highlight should follow the list you're in.
Seen in the Trash screenshots (#121), and it applies to every list: - In light mode, row meta lines ("Today · 30 days left"), row icons and the quiet header buttons ("Empty") are hard to read over the bright sky glass. They need WCAG AA contrast (4.5:1 for text, 3:1 for icons) at every sky hour, not just noon. - The sidebar keeps "Today" highlighted while the Trash list (or any other list) is showing. The highlight should follow the list you're in.
Author
Owner

Measured by apps/web/e2e/contrast.spec.ts against the real glass: every glyph in the places and list panes is hidden, the page is photographed (so each pixel is the true backdrop: sky, blur, tint), then each glyph's colour is laid over those pixels and the WCAG ratio is taken at the worst pixel. Views: Trash, All notes, Journal. Chromium, 1440.

Worst ratio on screen (text needs 4.5, icons 3):

look / sky hour text before text after icons before icons after
light / dawn 1.41 5.13 1.56 4.80
light / day 1.50 5.35 1.97 5.44
light / dusk 2.72 6.90 2.71 6.15
light / night 2.59 6.17 2.36 5.56
dark / dawn 2.70 5.79 4.14 5.84
dark / day 2.67 5.68 3.84 5.62
dark / dusk 2.28 5.07 4.26 6.15
dark / night 5.47 7.41 5.69 7.63

Before: 162 of 358 light-mode and 38 of 358 dark-mode glyph measurements failed; after: 0 of 653 failed. The spec also asserts the sidebar highlight follows the open list (exactly one row current).

Perf: the only CSS cost added is brightness() in the panes' existing backdrop-filter. Keystroke-to-paint (@perf, Chromium, this shared and loaded machine, software GL so absolute numbers are not meaningful): before p50 135-304 ms / p95 530-1154 ms over 3 runs, after p50 155-371 ms / p95 752-1598 ms; the two ranges overlap fully (noise). The perf VM gate should decide.

Screenshots:

Light, dawn (worst case), Trash: Trash row highlighted, meta and icons readable
chromium-1440-light-dawn-trash.png

Light, dusk (the issue's screenshot)
chromium-1440-light-dusk-trash.png

Light, night
chromium-1440-light-night-trash.png

Dark, day
chromium-1440-dark-day-trash.png

WebKit, light, dawn
webkit-1440-light-dawn-trash.png

WebKit, dark, day
webkit-1440-dark-day-trash.png

900, light
chromium-900-light-dawn-trash.png

900, dark
chromium-900-dark-day-trash.png

390, light
chromium-390-light-dawn-trash.png

390, dark
chromium-390-dark-day-trash.png

WebKit 390, light
webkit-390-light-dawn-trash.png

WebKit 900, light
webkit-900-light-dawn-trash.png

Measured by `apps/web/e2e/contrast.spec.ts` against the real glass: every glyph in the places and list panes is hidden, the page is photographed (so each pixel is the true backdrop: sky, blur, tint), then each glyph's colour is laid over those pixels and the WCAG ratio is taken at the worst pixel. Views: Trash, All notes, Journal. Chromium, 1440. Worst ratio on screen (text needs 4.5, icons 3): | look / sky hour | text before | text after | icons before | icons after | |---|---|---|---|---| | light / dawn | 1.41 | 5.13 | 1.56 | 4.80 | | light / day | 1.50 | 5.35 | 1.97 | 5.44 | | light / dusk | 2.72 | 6.90 | 2.71 | 6.15 | | light / night | 2.59 | 6.17 | 2.36 | 5.56 | | dark / dawn | 2.70 | 5.79 | 4.14 | 5.84 | | dark / day | 2.67 | 5.68 | 3.84 | 5.62 | | dark / dusk | 2.28 | 5.07 | 4.26 | 6.15 | | dark / night | 5.47 | 7.41 | 5.69 | 7.63 | Before: 162 of 358 light-mode and 38 of 358 dark-mode glyph measurements failed; after: 0 of 653 failed. The spec also asserts the sidebar highlight follows the open list (exactly one row current). Perf: the only CSS cost added is `brightness()` in the panes' existing backdrop-filter. Keystroke-to-paint (`@perf`, Chromium, this shared and loaded machine, software GL so absolute numbers are not meaningful): before p50 135-304 ms / p95 530-1154 ms over 3 runs, after p50 155-371 ms / p95 752-1598 ms; the two ranges overlap fully (noise). The perf VM gate should decide. Screenshots: **Light, dawn (worst case), Trash: Trash row highlighted, meta and icons readable** ![chromium-1440-light-dawn-trash.png](https://git.kayg.org/attachments/d1b2aca0-b0e3-4cd6-b88d-04d5c5f91aec) **Light, dusk (the issue's screenshot)** ![chromium-1440-light-dusk-trash.png](https://git.kayg.org/attachments/a8486924-a52f-4439-9897-9c0c2f4fde72) **Light, night** ![chromium-1440-light-night-trash.png](https://git.kayg.org/attachments/88492520-07aa-47c7-bde3-bedddca2abdf) **Dark, day** ![chromium-1440-dark-day-trash.png](https://git.kayg.org/attachments/3b3f6212-9eb9-46bf-8a3e-9871efbc4caf) **WebKit, light, dawn** ![webkit-1440-light-dawn-trash.png](https://git.kayg.org/attachments/dee85fa7-24fd-44c8-a17c-2e17b0e15f49) **WebKit, dark, day** ![webkit-1440-dark-day-trash.png](https://git.kayg.org/attachments/677b6274-2569-4022-82fa-449288b2002e) **900, light** ![chromium-900-light-dawn-trash.png](https://git.kayg.org/attachments/591e8e97-c30f-4605-ab04-f2e982099df4) **900, dark** ![chromium-900-dark-day-trash.png](https://git.kayg.org/attachments/b8f6cc06-ce0c-41fd-ae4d-8515657dd43e) **390, light** ![chromium-390-light-dawn-trash.png](https://git.kayg.org/attachments/e5d33e11-ed0d-41d2-a433-1bcd63431e17) **390, dark** ![chromium-390-dark-day-trash.png](https://git.kayg.org/attachments/30880256-4e95-4ecb-a190-6567cee11e71) **WebKit 390, light** ![webkit-390-light-dawn-trash.png](https://git.kayg.org/attachments/7641dd38-3697-4602-9c8b-faa2e564a458) **WebKit 900, light** ![webkit-900-light-dawn-trash.png](https://git.kayg.org/attachments/b9e3e647-e694-4152-bd1e-3f226d9e21e4)
Author
Owner

PR #135 closed in favour of the new PR from branch issue/124-light-glass-contrast-2 (the contrast spec now runs in Chromium only). Its CI web failures were timeouts (editor, links, trash, info specs at 30 s, mostly WebKit) while many agents shared the runner; none touch the glass or sidebar code.

PR #135 closed in favour of the new PR from branch issue/124-light-glass-contrast-2 (the contrast spec now runs in Chromium only). Its CI web failures were timeouts (editor, links, trash, info specs at 30 s, mostly WebKit) while many agents shared the runner; none touch the glass or sidebar code.
kayg closed this issue 2026-10-14 06:11:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#124
No description provided.