xonecas.io
8356
Wx

www-xonecas-io / files

www-xonecas-io / tickets / 1039-dark-mode-needs-a-look-at-the-colors.md

1.6 KB
1---
2id: 1039
3title: Dark mode needs a look at the colors
4type: bug
5status: done
6priority: p2
7created: 2026-11-08T05:33:05Z
8updated: 2026-11-08T16:01:10Z
9source: human
10moves: 2026-11-08T05:33:40Z inbox doing drag; 2026-11-08T05:33:43Z doing todo drag; 2026-11-08T05:40:33Z todo doing drag; 2026-11-08T05:45:09Z doing review agent; 2026-11-08T16:01:10Z review done drag
11area: site
12---
13
14Something is not quite right, the white lines are very dominant, making it not so dark. Take a pass at it with a designers eye
15
16## Notes
17
18- 2026-11-08 05:45Z (agent): Done. Dark mode drew every structural line (header rule, cards, chips, search box, file tree, h2 rules, slider track, suggest box, tag-hover shadow) in ink #f1ead8, which is 15:1 on paper, as bright as body text. That's why it read as not so dark.
19  Change: a new token --color-edge = light-dark(#1a1a1a, #6b6453). Light mode is identical (edge = ink). In dark, edge is a warm grey at 3.1:1 on paper, which keeps the WCAG non-text minimum for the search input border while letting text and the accent lead. All 24 border-ink classes in the templates became border-edge, and site.css points the slider track, thumb border, tag-pool hover shadow, #suggest border and shadow, and README table header borders at edge. Focus outlines, the current pager page and the tooltip stay ink, on purpose: they should stand out. edge is listed on /style/.
20  Checked: computed borders rgb(107,100,83) dark and rgb(26,26,26) light; dark screenshots of /, /projects/, a project page and /activity/ at 390; go vet and go test pass. Before/after crop attached. Not changed: text ink, paper and card, which the ticket didn't fault.