Skip to content

fix(web): Light theme holds against an OS that prefers dark, and Dark's sidebar sits below the sheet (CL-9659) - #1064

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-9659-light-theme-os-dark
Sep 30, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-9659-light-theme-os-dark

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Light is now explicit: theme-store apply() and the boot script in index.html set data-theme and the light class on for every non-dark theme (Canvas included, it leaked the same way), so react-ui's :root:not(.dark):not(.light) OS-dark block no longer outranks the token remap.
Verified with agent-browser and prefers-color-scheme: dark forced: in Light, --foreground #2b2627, --card #fff, --primary #2b2627; /workers and /tools render light.
Dark's sidebar/canvas (#0e0e0e) already sits below the sheet (#181818) and matches .mockups/tokens.css; the same-tone look was the leak, so no token change.

Resolves CL-9659

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9659

@TheGreatAxios
TheGreatAxios merged commit 3f66af6 into main Sep 30, 2026
3 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