Replace legacy opencode themes with Athena Desktop themes#24
Merged
Conversation
The TUI theme picker previously exposed ~30 upstream opencode themes (aura, catppuccin, dracula, gruvbox, nord, tokyonight, etc.). Replace that set with the four Athena Desktop palettes from context-workspace, keeping the existing classic-green `athena` theme as the default. DEFAULT_THEMES is now exactly: athena, mono-dark, mono-light, monolith, press. Each desktop CSS palette is translated into a full opencode ThemeJson (semantic roles, diff, markdown, and a syntax palette derived from each theme's accent set). Also fix a latent bug surfaced by removing the `opencode` theme: context/theme.tsx had three fallbacks selecting the now-deleted `opencode` theme (the two system-theme failure paths and the final resolver) — repointed to `athena`. Patch regenerated via the clone→git diff workflow; verified it applies cleanly to the pinned revision and that the built binary bundles all five themes and none of the legacy ones. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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
Swaps the ~30 upstream opencode themes in the TUI theme picker for the four Athena Desktop palettes from
context-workspace, keeping the existing classic-greenathenatheme as the default.DEFAULT_THEMESis now exactly:athena(default)mono-darkmono-dark.cssmono-lightmono-light.cssmonolithmonolith.csspresspress.cssEach desktop CSS palette is translated into a complete opencode
ThemeJson— semantic roles, diff colors, markdown, and a syntax-highlighting palette derived from each theme's accent set.Changes
overlay/packages/tui/src/theme/assets/{mono-dark,mono-light,monolith,press}.jsonpatches/opencode-athena.patch:theme/index.tsregistry now imports/registers only the five Athena themes; the legacy imports andDEFAULT_THEMESentries are removed.context/theme.tsxhad three fallbacks pointing at the now-deletedopencodetheme (the twosystem-theme failure paths and the final resolver) — repointed toathena.Verification
git diffworkflow (no hand-edited hunks); diff confined to the two theme files.git apply --checkagainst the pinned revision ✅🤖 Generated with Claude Code