Repository navigation
feat(settings): a Catppuccin palette, Mocha in dark and Latte in light - #414
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (3)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe application adds Catppuccin, with Mocha values for dark mode and Latte values for light mode. Settings, the Colors selector, translations, tests, design documentation, and the Unreleased changelog now include the palette. ChangesCatppuccin palette
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~12 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to Catppuccin remains an opt-in palette, and its inspected dark/light and terminal colors are consistent. No material merge risk is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 3 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 7 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
5c0554f to
a0c4c17
Compare
…tppuccin The host painted --bg-panel, which every other palette sets equal to --term-bg. Catppuccin puts the terminal on Base and the chrome on Mantle, so the rows the grid leaves over showed as a Mantle band under a Base terminal. The host now paints --term-bg; the other palettes render the same.
Bumps package.json and herdr-plugin.toml to 0.3.49 and moves the Unreleased notes under [0.3.49] - 2026-10-04, with the compare link. Every entry already carries its PR link and contributor credit. Raises the remote PC bundle to 16: a runtime notice is titled by its own first line on a remote PC too (`source` on the notice part, #418), and the Antigravity meter reads the token file on a Linux PC (#399). Push the `remote-v16` tag and let the bundle workflow publish before running release.yml. Carries #357, #399, #411, #413, #415, #414, #416, #417, #418, #346.


Change
Adds a fourth opt-in palette, Settings → Appearance → Colors → Catppuccin: Catppuccin Mocha in dark, Latte in light. It is built like
reportandcharcoal, with no new mechanism: two[data-theme][data-palette="catppuccin"]token blocks insrc/styles.css, the matchingTERMINAL_THEMES/THEME_COLORentries insrc/lib/settings.ts, a fourth button in Settings (ko/ja/zh included), DESIGN.md and CHANGELOG.The surfaces follow the Catppuccin style guide and Catppuccin's Zed theme:
To keep the existing WCAG AA test (4.5:1 on every surface) passing, it departs from the palette in three places:
#712fc6, Blue#1750bf, Red#ac0c2f, Green#28651b. This applies the style guide's "legibility first" rule.Validation
bun run generate:types --check: passesbun run typecheck: passesbun run build: passesbun test src/lib/settings.test.ts src/lib/i18n.test.ts: 39/39 pass. These now also cover catppuccin in the sanitize check, the--term-*mirror and the AA contrast check for both themes.bun run test:unit: 20 failures, the same 20 that fail onmainwithout this change (server/process/socket tests).catppuccin-mauve.json).