Skip to content

Replace legacy opencode themes with Athena Desktop themes#24

Merged
luckeyfaraday merged 1 commit into
mainfrom
feat/athena-desktop-themes
Jun 15, 2026
Merged

Replace legacy opencode themes with Athena Desktop themes#24
luckeyfaraday merged 1 commit into
mainfrom
feat/athena-desktop-themes

Conversation

@luckeyfaraday

Copy link
Copy Markdown
Owner

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-green athena theme as the default.

DEFAULT_THEMES is now exactly:

theme source palette character
athena (default) existing deep-green ground, gold/jade — classic green
mono-dark mono-dark.css neutral graphite, pure-white accent
mono-light mono-light.css paper white, black accent
monolith monolith.css void black, acid-lime accent, full vivid palette
press press.css warm ink black / paper cream, vermillion + saffron/sage/ink-blue editorial accents

Each 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

  • New assets: overlay/packages/tui/src/theme/assets/{mono-dark,mono-light,monolith,press}.json
  • patches/opencode-athena.patch: theme/index.ts registry now imports/registers only the five Athena themes; the legacy imports and DEFAULT_THEMES entries are removed.
  • Latent bug fix: context/theme.tsx had three fallbacks pointing at the now-deleted opencode theme (the two system-theme failure paths and the final resolver) — repointed to athena.

Verification

  • Patch regenerated via the canonical clone→git diff workflow (no hand-edited hunks); diff confined to the two theme files.
  • git apply --check against the pinned revision ✅
  • Full build succeeds, smoke test passes ✅
  • Built binary bundles all five themes' signature colors and none of the legacy theme names/colors ✅

🤖 Generated with Claude Code

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>
@luckeyfaraday luckeyfaraday merged commit 8a0b0dc into main Jun 15, 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