Skip to content

chore(catalog): theme previews for every official app theme - #55

Merged
nwparker merged 1 commit into
mainfrom
nwparker/theme-previews
Nov 1, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/theme-previews

Conversation

@nwparker

@nwparker nwparker commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds display-only themePreview colors to the official theme releases that had none (Midnight, Nord, OLED, Dusk & Ember, GitHub Light, Solarized Light, Dracula, Gruvbox), and trims GitHub Themes for Orca to four previews.

Why:

  • Orca's Appearance theme pickers are gaining a "More themes" section (stablyai/orca, branch nwparker/theme-default-catalog) that lists catalog themes by mode using themePreview (it needs base to put a theme in the Light or Dark picker, and the colors for its swatch). Releases without previews can't be offered there, so Dracula, Nord, Gruvbox and friends were missing.
  • themePreview allows at most 4 entries and Orca parses it with .catch(undefined), so the GitHub release's 5 previews were silently dropped in full. It now keeps Light Default, Dark Default, Dark Dimmed and Light High Contrast.

Colors are read from each theme file: --background, --foreground, accent from --primary (else --ring/--foreground), surface from --card (else --sidebar/--background); labels are the manifest theme titles. No plugin bytes, hashes or commits change.

Validation

  • ORCA_DIR=<orca checkout> node scripts/check-catalog.mjs → catalog: ok.

@nwparker
nwparker merged commit 042d5d1 into main Nov 1, 2026
1 check passed
@nwparker
nwparker deleted the nwparker/theme-previews branch November 1, 2026 05:42
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