Skip to content

chore(themes): regenerate OpenCode theme palettes from v2.2.5 - #482

Merged
chriswritescode-dev merged 1 commit into
mainfrom
chore/opencode-2.2.5-themes
Nov 6, 2026
Merged

chriswritescode-dev merged 1 commit into
mainfrom
chore/opencode-2.2.5-themes

Conversation

@chriswritescode-dev

@chriswritescode-dev chriswritescode-dev commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

User description

Summary

Change

  • shared/src/themes/opencode-palettes.ts: regenerated with pnpm themes:sync from the v2.2.5 tag. Only colour values change, mainly the Catppuccin light variants (Catppuccin, Frappe, Macchiato) now use the Latte palette and corrected diff colours.
  • shared/src/themes/OPENCODE_THEMES_LICENSE: attribution names tag v2.2.5.

Validation

  • pnpm --filter @opencode-manager/shared typecheck: clean
  • Theme-related tests: backend 16 files / 557 tests, frontend 4 files / 30 tests pass

PR Type

Bug fix, Other


Description

  • Regenerate OpenCode theme palettes from v2.2.5

  • Catppuccin, Frappe, Macchiato light variants use Latte

  • Correct Kanagawa light colors and syntax tones

  • Update theme license attribution to v2.2.5


Diagram Walkthrough

flowchart LR
  Tag["OpenCode v2.2.5 tag"] -- "themes:sync" --> Palettes["opencode-palettes.ts"]
  Palettes -- "Catppuccin light" --> Latte["Latte palette colors"]
  Palettes -- "Kanagawa light" --> Kanagawa["Adjusted success, warning, syntax colors"]
  Tag -- "attribution update" --> License["OPENCODE_THEMES_LICENSE"]
Loading

File Walkthrough

Relevant files
Miscellaneous
opencode-palettes.ts
Regenerate theme palette color values from v2.2.5               

shared/src/themes/opencode-palettes.ts

  • Regenerate OPENCODE_THEMES color values from the pinned v2.2.5 tag
  • Point Catppuccin, Catppuccin Frappe and Catppuccin Macchiato light
    variants at the Latte palette, adding diffAdd/diffDelete and trimming
    extended syntax keys
  • Correct dark-variant accent colors such as success, warning, primary
    and comment hues
  • Adjust Kanagawa light theme success, warning, info, textWeak and
    syntax colors
+49/-59 
Documentation
OPENCODE_THEMES_LICENSE
Bump palette attribution tag to v2.2.5                                     

shared/src/themes/OPENCODE_THEMES_LICENSE

  • Update the derived-from attribution from tag v2.0.15 to v2.2.5
  • Keep the MIT license text unchanged
+1/-1     

PR #481 moved OPENCODE_PINNED_VERSION to 2.2.5 but left the generated palettes on an older tag. Rerun pnpm themes:sync against v2.2.5 and update the license attribution. Only colour values change, mainly the Catppuccin light variants.
@lil-worker-cstech

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
⚠️ Risk level: Low
✅ Merge recommendation: No concerns found
🔎 Failure modes

What: The Catppuccin Frappe and Macchiato light variants are now identical to the Catppuccin light variant, which uses the Latte palette. In light mode, users who pick Frappe or Macchiato will see the same colours as plain Catppuccin. This may look like a broken theme switch.
Where: shared/src/themes/opencode-palettes.ts:OPENCODE_THEMES
Trigger: A user in light mode switches between Catppuccin, Catppuccin Frappe and Catppuccin Macchiato.
Detected by: Visual check of the theme picker in light mode. No test compares light palettes across theme variants.
Covered in this PR: No

What: The Frappe and Macchiato light `syntax` blocks no longer define `string`, `property`, `type`, `variable`, `operator` or `punctuation`. If a consumer reads these keys directly instead of falling back to derived defaults, those tokens would render with missing or default colours.
Where: shared/src/themes/opencode-palettes.ts:OPENCODE_THEMES
Trigger: Code highlighting in light mode with the Catppuccin Frappe or Macchiato theme selected.
Detected by: The theme-related backend and frontend tests reported in the PR description, provided they cover resolving optional syntax keys.
Covered in this PR: No

🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@lil-worker-cstech

Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@chriswritescode-dev
chriswritescode-dev merged commit 6676c7c into main Nov 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant