Design tokens: migrate from --color-* to the Carol DS token set (light + dark) #138
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#138
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?
The design package (
../carol-design/) ships a fuller token set than the currentapp/themes/. We use--color-fg / --color-bg / --color-accent / --color-border / --color-surface; the DS uses--bg / --surface / --surface-2 / --surface-3 / --inset / --text / --text-secondary / --text-muted / --text-faint / --border / --border-strong / --border-subtle / --accent / --accent-fg / --accent-subtle / --accent-text / --ring, plus the brand blue scale and ink ramp.Adopting the new aliases is the foundation for the design's three other shifts (component primitives, sidebar shell, per-screen rebuilds).
Scope
app/themes/light.cssandapp/themes/dark.csswith the full DS alias set, values lifted from the design'stokens/colors.css(cited in the PR body).--color-*names as deprecated aliases pointing at the same values, so existing inline-styled components don't visually regress. They flip per-surface during the screen-rebuild tickets.CLAUDE.mdStack defaults → themes line to point at the new token surface; keep ADR-0008 cited as the engine (cookie + DB persistence is unchanged).Acceptance criteria
colors.css.git grep "var(--color-"still returns matches (the bridge), but new code reaches for the DS names.Out of scope
--color-*aliases — separate cleanup ticket once every surface has flipped.Composes with
Design package (
../carol-design/), ADR-0008 (theme system), every existing(app)surface as inert until the screen-rebuild tickets pick the new names up.--color-*bridge (#138) #147