[CSS] Migrate 01-asw.css to oklch --color-N palette #20
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: trentuna/asw#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Replace named palette references (--gray-N, --green-N, --blue-N) with Open Props oklch
--color-1through--color-16for surfaces and text.Dark mode mapping
Links stay blue
Links use a fixed hue (250) regardless of palette — the OG HTML blue convention:
Light mode
Flip the mapping — surfaces from the light end, text from the dark end:
What stays as named palettes
State colors keep FIXED hues (not palette-driven) but use harmonized oklch:
Named palettes (--red-N, --blue-N etc.) may still be used for one-off component needs, but surfaces/text/accent are fully palette-driven.
Reference
See /palette-test.html on asw.trentuna.com for live interactive demo.