Skip to content

Give the settings page a more polished layout - #22

Merged
Commanderx-code merged 1 commit into
mainfrom
claude/command-center-readme-style-5gd7fb
Sep 26, 2026
Merged

Commanderx-code merged 1 commit into
mainfrom
claude/command-center-readme-style-5gd7fb

Conversation

@Commanderx-code

Copy link
Copy Markdown
Owner

📝 Change

Brings the in-app Settings page in line with the refreshed docs (#16–#21). The changes are visual only: no settings, IDs, storage, or behavior change.

  • Header card: the "A workspace that fits you" intro is now a card with a soft accent-tinted gradient, an accent eyebrow, and an accent version badge.
  • Section icons: the numbered badges (01–06) are replaced with icons in an accent-tinted tile: ⚙ General, ▦ Applications, ◐ Appearance, ⌘ Repositories (same glyph as the sidebar), ⇄ Integrations, ✦ Custom actions. The icons are aria-hidden.
  • Toggle switches: on/off settings (role="switch") and the notification checkboxes are real toggle switches in the accent color, with a visible focus ring.
  • Inputs: text inputs and selects get an accent focus border and glow.
  • Layout:
    • The section nav pills get a filled background and hover state.
    • Sections highlight their border on hover or focus.
    • Integrations and Custom quick actions span the full width, so Custom actions no longer sits alone in half a row.
  • Panels below the form: Setup & portability, Desktop notifications & tray, and About & updates now match the other sections: muted 12px body text and consistent padding. Notification toggles sit in rows with dividers instead of floating checkboxes. The empty release-notes and command boxes stay hidden until they have content.

All new rules sit in one block at the end of src/styles.css, scoped to #settings-view and #notification-form. They use the existing theme variables (--cyan, --surface, --surface-soft, --line, --accent-ink), so the light theme and all three accent colors work. Transitions are covered by the existing reduced-motion rule. color-mix() has an rgba fallback declared first.

✅ Validation

  • npm run check
  • npm test: 78/78 pass. The interface tests exercise settings search, section links, and saving.
  • npm run test:rust: not run; there are no Rust changes.
  • Checked in the browser preview: full-page screenshots before and after, in the dark and light themes.

🔎 Review notes

No new dependencies. Only markup glyphs and CSS changed. Worth a quick look in the desktop app (WebKitGTK) to confirm the switches render as expected.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BUhabxL4SPejg19jgbSyYN


Generated by Claude Code

Turn the intro into an accent-tinted header card, replace the numbered
section badges with icons, use toggle switches for on/off settings,
add focus rings to inputs, and make the integrations and custom action
sections full width. Style the notification, portability, and updates
panels to match the other sections, and hide release output boxes until
they have content. Works with the light theme and every accent color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BUhabxL4SPejg19jgbSyYN
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.

2 participants