complete oklch migration: zero named palette refs remain
- 01-asw.css: 20 new tokens (14 --syntax-*, 6 utility: print, absolute, high-contrast) - Layers 02-09: all 30 TODO refs replaced with semantic/syntax tokens - Zero --gray-N, --green-N, --blue-N, --red-N, --yellow-N in layers 02-09 - Palette-hue knob now controls entire site. Syntax highlighting uses fixed oklch hues.
This commit is contained in:
parent
d9641b0485
commit
2df2c67018
7 changed files with 81 additions and 35 deletions
|
|
@ -171,10 +171,10 @@ dl[data-layout="inline"] dd {
|
|||
/* Increase contrast for high-contrast preference */
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
--border-color: var(--gray-10); /* TODO: map to semantic token — no alias for gray-10 (--border=gray-11; high-contrast needs one step higher) */
|
||||
--border-color-subtle: var(--border-subtle); /* --border-subtle = var(--gray-12) */
|
||||
--text-primary: var(--gray-0); /* TODO: map to semantic token — no alias for gray-0 (--text=gray-1 in dark; high-contrast needs brightest white) */
|
||||
--text-secondary: var(--text-2); /* --text-2 = var(--gray-3) */
|
||||
--border-color: var(--hc-border);
|
||||
--border-color-subtle: var(--border-subtle);
|
||||
--text-primary: var(--hc-text);
|
||||
--text-secondary: var(--text-2);
|
||||
--border-width: var(--border-size-2);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue