Skip to content

Modernize settings dropdown styling#56

Merged
Ed-Barnes937 merged 1 commit into
mainfrom
better-dropdowns
Jul 13, 2026
Merged

Modernize settings dropdown styling#56
Ed-Barnes937 merged 1 commit into
mainfrom
better-dropdowns

Conversation

@Ed-Barnes937

Copy link
Copy Markdown
Collaborator

What

The settings dropdowns rendered WebKit's native <select> chrome (the beveled grey arrow button), which looked dated. This restyles them for a cleaner, modern look.

Changes (all in src/style.css)

  • Strip native chromeappearance: none on the selects, with a custom chevron drawn from two CSS gradients so it reskins with every theme (a data-URI SVG can't read var()).
  • Hover + focus states — border brightens on hover; focus gets an accent ring (box-shadow). The same focus ring is applied to the text/number/textarea inputs for consistency.
  • Themed option list — open dropdown uses --bg-elevated/--text instead of system colors.
  • Switched the .section-grid select base rule from the background shorthand to background-color so it no longer wipes the chevron background-image.

Covers both dropdown groups: the main settings fields (.settings-field > select) and the compact section-grid selects.

Verification

Pure CSS — no TS touched. npm run tauri dev builds clean and the app launches.

🤖 Generated with Claude Code

Strip WebKit's native select chrome (appearance: none) and draw a
custom chevron from two CSS gradients so it reskins with the theme.
Add hover/focus states with an accent focus ring and theme the open
option list. Covers both the settings fields and the section-grid
selects.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Ed-Barnes937
Ed-Barnes937 merged commit 3009686 into main Jul 13, 2026
4 checks passed
@Ed-Barnes937
Ed-Barnes937 deleted the better-dropdowns branch July 13, 2026 11:38
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