Skip to content

feat(themes): polish Dracula & Monokai — real elevation + text ramps (#40)#60

Merged
kipavy merged 1 commit into
devfrom
polish-themes-dracula-monokai-40
Jul 24, 2026
Merged

feat(themes): polish Dracula & Monokai — real elevation + text ramps (#40)#60
kipavy merged 1 commit into
devfrom
polish-themes-dracula-monokai-40

Conversation

@kipavy

@kipavy kipavy commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

First pass on issue #40 (polish built-in themes), covering Dracula and Monokai.

What was flat

Both presets read as flat/monochrome for two structural reasons:

  1. Collapsed elevation rampbgToolbar == bgTerminal == bgStatusBar, and bgBase sat between them. Toolbar, base, cards, and panels never visually separated.
  2. Inverted text ramptextDim was darker than textMuted (Dracula #44475a, Monokai #3e3d32), so "dim" secondary text washed out to near-invisible on the base background.

Changes (per theme)

  • Rebuilt backgrounds as a stepped ramp: toolbar (darkest) → base → status → card → elevated, so surfaces layer.
  • Fixed the text ramp so textMuted < textSecondary < textDim < textPrimary < textBright, with a legible dim tier.
  • Active tabs now use an accent-tinted background + accent underline instead of a flat neutral fill.
  • Brightened accentHover (it was darker than the base accent).

Canonical identity is preserved — Dracula's purple/pink/green and Monokai's lime/pink/orange, plus the terminal ANSI palettes, are unchanged. Only the UI surface/text tokens were re-derived.

Verification

  • tsc --noEmit clean.
  • vitest run src/stores/themeStore.test.ts src/utils/appearance.test.ts — 12 passing.
  • Live-verified each theme in the running app (host list + Theme Creator surfaces).

Nord and Tokyo Night have the same structural issues and can follow in a second pass. The refreshed Dracula Theme-Creator screenshot from this work also updates the README showcase (and the docs / landing showcases in their repos).

…40)

Both presets read flat because their surface and text ramps were broken:

- Chrome backgrounds collapsed together — `bgToolbar` == `bgTerminal` ==
  `bgStatusBar`, and `bgBase` sat *between* them, so toolbar / base / cards /
  panels never separated. Rebuild each as a stepped ramp
  (toolbar darkest → base → status → card → elevated).
- The text ramp was inverted: `textDim` was *darker* than `textMuted`
  (Dracula #44475a, Monokai #3e3d32), so "dim" secondary text washed out to
  near-invisible. Restore ordering with a legible dim tier.
- Active tabs were a flat neutral fill; give them an accent-tinted background
  + accent underline so the current tab reads clearly.
- Hover accent was darker than the base accent; brighten it.

Canonical hues (Dracula purple/pink/green, Monokai lime/pink/orange) and the
terminal ANSI palettes are unchanged. tsc + theme/appearance tests green.

Refs #40
@kipavy
kipavy merged commit c906fbf into dev Jul 24, 2026
1 check passed
@kipavy
kipavy deleted the polish-themes-dracula-monokai-40 branch July 24, 2026 08:32
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