Skip to content

fix: align sidebar, select, and password-meter to their surfaces#568

Merged
stickerdaniel merged 3 commits into
mainfrom
fix/theme-ui-polish
Jun 15, 2026
Merged

fix: align sidebar, select, and password-meter to their surfaces#568
stickerdaniel merged 3 commits into
mainfrom
fix/theme-ui-polish

Conversation

@stickerdaniel

@stickerdaniel stickerdaniel commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Three small surface/theme issues that are easy to miss with the default zinc theme but show up in forks that customise the background or card colours.

The select dropdown rendered its rounded items flush against the container edge because the viewport had no padding, unlike the dropdown-menu which insets its items. The select viewport now uses matching padding so both dropdowns look consistent. This one is visible in the default theme too.

The sidebar showed hovered and selected rows at the same full sidebar-accent in light mode, so hovering an item looked identical to the active one. The dark-mode treatment already softened non-active hover to a half-opacity accent; that now applies in light mode too, and the reveal-overlay token is flattened to the matching opaque colour so the shortcut overlay still lines up with the row.

The password strength meter drew its segment gaps with ring-background, which only matches the surface when the page background equals the card colour. The meter always sits inside a card, so it now uses ring-card in both modes. No visual change with the default theme where background and card are both white, but it fixes forks with a tinted page background.

No visual change to the default theme except the select padding and the softer light-mode sidebar hover.

Regression guard: not warranted, these are CSS-only class tweaks (hover opacity, dropdown padding, ring surface) with no logic or data contract a test could pin without brittle pixel snapshots.

Light mode showed hovered and selected rows at the same full sidebar-accent,
so hovering an item looked identical to the active one. Apply the existing
dark-mode treatment (bg-sidebar-accent/50 for non-active hover) in light mode
too, and flatten the reveal-overlay token to the matching opaque colour.
The select viewport had no padding, so its rounded items sat flush against
the container edge while the dropdown-menu insets its items. Add matching
padding so both dropdowns look consistent.
The segment gaps used ring-background, which only matches the surface when the
page background equals the card colour. The meter always sits inside a card, so
ring-card is correct in both modes (light previously hardcoded ring-background).
Copilot AI review requested due to automatic review settings June 15, 2026 11:09
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 15, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
saas-starter c023849 Commit Preview URL

Branch Preview URL
Jun 15 2026, 11:11 AM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@stickerdaniel stickerdaniel enabled auto-merge (squash) June 15, 2026 11:58
@stickerdaniel stickerdaniel merged commit 23d09e5 into main Jun 15, 2026
11 of 12 checks passed
@stickerdaniel stickerdaniel deleted the fix/theme-ui-polish branch June 15, 2026 12:07
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