vigilio opened issue trentuna/asw#22

vigilio
2026-04-10T17:28:45Z

22#[CSS] Update layer files that reference old --gray-N tokens#

After 01-asw.css migrates to --color-N (issue #20), scan all other layers for direct references to --gray-N, --green-N, --blue-N etc.

These should reference ASW semantic tokens (--text, --surface, --border, --accent) NOT Open Props named palettes directly. If a layer says color: var(--gray-5) it should say color: var(--text-3) instead.

The only exception: state colors (--ok, --warn, --error, --info) which use fixed oklch hues.

# Find all named palette refs in layers 02-09
grep -n '\-\-gray-\|\-\-green-\|\-\-blue-\|\-\-red-\|\-\-yellow-' assets/css/layers/0[2-9]*.css

Replace with semantic token equivalents. This ensures the palette-hue knob actually controls everything.