Skip to content

feat(web): theme token blocks with data-theme switching (CL-9552) - #977

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-9552-theme-tokens
Sep 30, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-9552-theme-tokens

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Adds one token file (Light in :root, Dark and Canvas via data-theme), maps react-ui's shadcn vars onto the semantic roles, and replaces ThemeProvider with a small store that sets data-theme on , toggles the dark class for Dark, and persists per user (corbits-theme:). Settings theme select now offers Light/Dark/Canvas; the palette and context-menu cycle actions use the store. No picker UI beyond that existing select.

Note: the semantic --primary (charcoal) and --success names collide with react-ui's, so those follow the canon values.

Resolves CL-9552

Light, dark and canvas token blocks, react-ui vars mapped onto them, and a small theme store that owns data-theme on <html> and persists per user.
@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9552

@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) September 30, 2026 05:05
@TheGreatAxios
TheGreatAxios merged commit 9821d9e into main Sep 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant