mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-13 04:06:57 +02:00
test(theme): widen distinguishability threshold headroom
The distinguishability threshold (10) sat only 2 units below the palette's measured closest pair (coral/peach at 12.0), making it brittle to a minor future nudge. Lower to 8: still fails the old palette's closest pair (fog/storm at 7.55) while giving the current palette 4 units of headroom. Also corrects the spec's lightness-change figure from -0.1 (computed from rounded HSL) to the precise -0.18.
This commit is contained in:
committed by
Fred Cabassut
parent
14dba4f4d2
commit
5f1017a359
@@ -92,7 +92,7 @@ html, body { accent-color: var(--accent-check); }
|
||||
## 2. Note card colours (`src/lib/utils/colors.ts`)
|
||||
|
||||
Replace `NOTE_COLORS_DARK`. Every entry keeps its light counterpart's hue, holds lightness
|
||||
near-constant against today's values (measured average change: +4.1 saturation points, −0.1
|
||||
near-constant against today's values (measured average change: +4.1 saturation points, −0.18
|
||||
lightness points), and nudges two crowded hues apart (`blossom` and `storm` shift toward pink
|
||||
and true blue respectively) so the twelve read as distinguishable siblings rather than a smudge.
|
||||
The visible improvement in dark mode comes from the base surfaces, the picker chips, the
|
||||
|
||||
Reference in New Issue
Block a user