Skip to content

Settings: neutral controls, only Save keeps the accent (#42) - #43

Merged
Maxaubert merged 1 commit into
mainfrom
feat/42-neutral-settings-buttons
Sep 23, 2026
Merged

Maxaubert merged 1 commit into
mainfrom
feat/42-neutral-settings-buttons

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Closes #42.

Owner, 2026-09-23: settings buttons should not follow the accent colour; grey from the background with a slight contrast, the dropdown's colours; only the save buttons stay accented.

What changes (in core/, so this is a change to Prism's terminal settings too, arriving with the core bump):

  • ROW_BUTTON (Choose folder..., Use my user folder): the dropdown's look, --p-control fill, --p-divider border, --p-text label.
  • Pressed segment (SEGMENT_ON): a lighter grey pill (--p-text 16% over --p-control), text in --p-text.
  • Switch on (SWITCH_ON): track in --p-text-soft, knob in --p-bg.
  • Dictation's primary buttons: a stronger grey, no accent.
  • Kept accented: Save changes, Save as Custom; and, as non-buttons, Reset links, the chosen theme card, the dropdown's chosen item, the rail's page, focus rings, progress bars, the hotkey capture while listening.

Prism's own settings page keeps its own copies of Switch / Segmented / the Default apps button; those get the same change in a Prism PR.

Versions: app 0.11.0 -> 0.12.0, core 0.9.0 -> 0.10.0.

Tests:

  • New core/renderer/settings/neutralControls.test.ts: the three controls and dictation's buttons carry no accent token; SaveButton still does.
  • accent e2e: samples Choose folder, the pressed New tabs segment and an on switch, picks an accent, and asserts none moved and none wears it (replaces the check that a pressed segment wore the accent). Screenshot: .e2e-shots/settings-neutral-controls.png.
  • npm test 871/871, typecheck, lint (0 errors), full e2e 27/27 scenarios passed.

Unsigned, as before.

🤖 Generated with Claude Code

…#42)

Row buttons take the dropdown's look, a pressed segment is a lighter grey
pill, an on switch is a light track with a dark knob, and dictation's
buttons are grey. Save changes and Save as Custom stay accented. In core/,
so Prism's terminal settings follow with the next core bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Maxaubert
Maxaubert merged commit a0e692c into main Sep 23, 2026
2 checks passed
@Maxaubert
Maxaubert deleted the feat/42-neutral-settings-buttons branch September 23, 2026 06:07
github-actions Bot pushed a commit that referenced this pull request Sep 23, 2026
…#42) (#43)

Row buttons take the dropdown's look, a pressed segment is a lighter grey
pill, an on switch is a light track with a dark knob, and dictation's
buttons are grey. Save changes and Save as Custom stay accented. In core/,
so Prism's terminal settings follow with the next core bump.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

Settings buttons are neutral grey, only Save keeps the accent

1 participant