Skip to content

CL-5781: Theme system — light/dark toggle + preset themes - #21

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-5781-theme-system-lightdark-toggle-preset-themes
Aug 9, 2026
Merged

CL-5781: Theme system — light/dark toggle + preset themes#21
TheGreatAxios merged 2 commits into
mainfrom
cl-5781-theme-system-lightdark-toggle-preset-themes

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Mounts library ThemeProvider / ThemeToggle from @corbits/react-ui (pin bd5057b) at the app root and rail identity dock
  • Per-user theme storage key when signed in; anonymous key when signed out
  • Tokenizes package colors (chat-ui agent accent, settings-ui destructive, bench-ui shadows, artifact-ui kind chart tokens)
  • Shell/app tests wrap ThemeProvider; Tailwind utility guards cover chart-token kind colors

Theme logic lives in corbitsdev/react-ui (PRs #12 theme system, #13 packaging). Workbench stays a thin consumer.

Closes CL-5781.

Test plan

  • bun run typecheck (web + UI packages)
  • bun test ./test in apps/web (shell docks asserts theme control)
  • bun test artifact-ui / chat-ui / bench-ui / settings-ui
  • bun run scripts/checks/web-tailwind-utilities.ts
  • CI green
  • Manual: toggle light/dark and warm/cool presets in the rail

@TheGreatAxios
TheGreatAxios merged commit 28d3672 into main Aug 9, 2026
2 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