Repository navigation
feat(themes): apply OpenCode color themes app-wide with a settings picker - #364
Merged
Merged
Conversation
…cker - Vendor the 36 OpenCode theme palettes into the shared package, synced from the pinned OpenCode release tag via pnpm themes:sync. - Add a colorTheme user preference across the settings schema, defaults, and the assistant internal API. - Extend palettes with success, warning, info, and diff colors, and add a resolver that maps palettes to CSS tokens and applies them to the DOM. - Apply the theme app-wide through a ThemeProvider context, adopting the tokens in message, repo, session, and settings components, agent colors, git status styles, and diff viewers. - Add a theme picker to General settings and make model quick-select follow the active theme (fixes #355).
Contributor
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (115)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Owner
Author
|
This resolves #364 by applying the OpenCode color themes app-wide, including the new settings picker.
|
6 of 9 tasks
This was referenced Sep 28, 2026
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.
Summary
Vendor the 36-theme OpenCode catalog into the shared package and apply the selected color theme across the entire manager UI. Users can pick a color theme in General settings, and every surface — chat messages, diffs, agent colors, git status styles, and the model quick-select — follows the active theme in both light and dark modes.
shared/src/themeswith palettes vendored from the pinned OpenCode release (v2.0.15), refreshable via a newpnpm themes:syncscript, plus the vendored license file.colorThemeuser preference to the backend settings schema, defaults, and the assistant internal API.ThemeProvidercontext that applies the theme on boot and on preference changes.Type of Change
Checklist
pnpm lintpasses locallypnpm typecheckpasses locallyTesting
pnpm test-> cli + backend + frontend suites all pass (frontend: 1,615 tests; backend coverage 86.99%).pnpm lint-> 0 errors (pre-existingno-explicit-anywarnings only).pnpm typecheck-> exit 0.