feat(web): theme token blocks with data-theme switching (CL-9552) - #977
Merged
Merged
Conversation
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.
TheGreatAxios
enabled auto-merge (squash)
September 30, 2026 05:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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