Freely chosen accent colour (#17) #32
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MassiveDynamic/kataba!32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/17-accent-colour"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #17. After review, the accent can be chosen freely instead of from the curated list (ADR-0012, partly superseding ADR-0010).
accentColorstores the chosen#rrggbb. Old suggestion names still read as that suggestion's colour; anything else falls back to blue.accentPair()derives the light and dark value in OKLCH and adjusts the lightness until it reaches WCAG AA (4.5:1) on every surface of the mode. The curated accents stay as suggestions with their hand-checked pairs.--accent-light/-darkas inline style on<html>from the cached settings ('use cache'+ thesettingstag, revalidated on save)Notes
next buildnow needs the database, because the root layout's prerendered shell reads the cached settings.surfacebut not everywhere onsurface-sunken, e.g. blue at 4.33:1. See ADR-0012.🤖 Generated with Claude Code
Selectable accent colour (#17)to Freely chosen accent colour (#17)