Skip to content

refactor(settings): keep three color palettes - #1078

Merged
devswha merged 1 commit into
mainfrom
refactor/three-palettes
Oct 14, 2026
Merged

devswha merged 1 commit into
mainfrom
refactor/three-palettes

Conversation

@devswha

@devswha devswha commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Change

Settings → Appearance → Colors keeps Amber (default), Charcoal and Catppuccin. Dark report, Lilac and Forest are removed.

  • Amber is the default look (81% of installs with a settings snapshot never change the palette), Catppuccin matches herdr's own default theme, and Charcoal is the neutral, hue-free terminal look for Codex and plain-terminal users.
  • Every palette is a light and a dark block that each later token change has to fill in, and DESIGN.md must mirror them. Fewer palettes keep that cost down. CONTRIBUTING now says new palette PRs are not taken.
  • A stored report, lilac or forest (including System mode's paletteLight / paletteDark) loads as amber: sanitizeSettings already falls back for an unknown name, and new tests pin it.
  • Light charcoal used to share a block with light report; that block is now charcoal's own, with charcoal's ink accent, cursor and selection inlined (same values as before).
  • shared/telemetry.ts keeps the old palette enum on purpose: narrowing it changes the Worker sources and would need a redeploy. The app simply no longer sends the removed values.

Validation

  • bun run check fast: generated types, typecheck, build, unit tests (3529 pass, 0 fail).
  • Demo app in Chromium, 1280×800: the Colors select lists exactly Amber, Charcoal, Catppuccin; each of the three in dark and light sets data-palette with no page errors (screenshots checked by eye, light charcoal included); a stored report, lilac or forest opens as amber.
  • Browser regression scripts that picked Forest/Lilac now pick Catppuccin/Charcoal; they were not run here (CI's browser lane runs them).

Refs #507: palettes beyond these three belong to the opt-in theme packs discussed there, not to the core app.

@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 52db1aa4-192e-4618-8ad3-a12f742f51dd
📥 Commits

Reviewing files that changed from the base of the PR and between 2bd47d5 and 893305a.

📒 Files selected for processing: 16
  • CONTRIBUTING.md
  • DESIGN.md
  • changelog.d/three-palettes.md
  • scripts/preferences-sync-regression.ts
  • scripts/settings-pages-demo-regression.ts
  • scripts/telemetry-regression.ts
  • src/components/SettingsDialog.tsx
  • src/lib/i18n.ja.ts
  • src/lib/i18n.ko.ts
  • src/lib/i18n.tr.ts
  • src/lib/i18n.zh.ts
  • src/lib/paletteFor.test.ts
  • src/lib/preferencesSync.test.ts
  • src/lib/settings.test.ts
  • src/lib/settings.ts
  • src/styles.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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