Skip to content

feat(ui): add Sakura, Espresso, Witch Hazel, E-Ink, and Dune themes (opencode#66531) - #1357

Merged
Hona merged 2 commits into
devfrom
upstream-f/themes-66531
Nov 26, 2026
Merged

Hona merged 2 commits into
devfrom
upstream-f/themes-66531

Conversation

@Hona

@Hona Hona commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Ports official anomalyco/opencode#66531 (d382c66c6d00f136c7974229268d7534b4689947, UP-260): adds the Sakura, Espresso, Witch Hazel, E-Ink, and Dune themes, updates the Poimandres light palette, and regenerates v2 theme tokens with the updated light neutral scale and monochrome hue-scale resolver.

Summary

  • Regenerated apps/desktop/assets/themes.json via apps/desktop/tools/themes.ts against official d382c66c6d packages/ui/src/theme (47 themes total, adding dune, eink, espresso, sakura, and witchhazel, updating poimandres, and applying v2/resolve.ts's updated neutral/monochrome scales).
  • crates/opencode-ui/src/themes.rs automatically loads every entry from apps/desktop/assets/themes.json into Settings > Appearance > Theme and --color-theme <id>.

Verification

  • CI run 45901077585 on head 5a027d8785: green (guardrails, build-macos, build-windows (x64), build-windows (arm64), build-linux (x64); Linux arm64 skipped).
  • Headless verification on the Windows x64 PR build beside a before build (14fec3dcb2), all 2/2 cases passed (11/11 launches exit 0):
    1. Theme picker (--scene settings-appearance): lists 47 items (OpenCode first, rest alphabetical), including Dune, E-Ink, Espresso, Sakura, and Witch Hazel (before: 42 items, 0 of the 5 present).
    2. Theme palettes & Poimandres update: sakura dark (#170913ff/#24141fff), eink light (#e4e2daff/#ebe9e2ff), dune dark (#0f0d07ff/#1b1811ff), espresso dark (#110b08ff/#1e1612ff), witchhazel dark (#1b1627ff/#282236ff), and poimandres light (#e0e9f4ff/#e8f0faff, before #eef1f5ff/#f4f7fbff) all render distinctly while oc-2 dark stays unchanged.
  • Local guardrails (scripts/guardrails.ps1): 9/9 passed; bun scripts/web-clock.ts: 0 violations.
  • Not run: real window, macOS, Linux.

Hona added a commit that referenced this pull request Nov 26, 2026
@Hona
Hona marked this pull request as ready for review November 26, 2026 22:22
@Hona
Hona merged commit d148963 into dev Nov 26, 2026
7 checks passed
@Hona
Hona deleted the upstream-f/themes-66531 branch November 26, 2026 22:43
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