Skip to content

fix(ui): improve segmented tabs selected indicator contrast in dark mode - #2513

Merged
oneo-me merged 1 commit into
mainfrom
agiox/dark-tabs-selected-style
Nov 26, 2026
Merged

oneo-me merged 1 commit into
mainfrom
agiox/dark-tabs-selected-style

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Use a translucent foreground fill (Alpha(colors.Text(), 0.14)) and a softer shadow (Shadow(0, 1, 2, 0, Black(0.16))) for TabsSegmented's selected indicator in dark mode so it remains clearly distinguishable from the track across backgrounds and cards.
  • Keep light mode using FinOf(cx).Pill() and preserve IndicatorStyle overrides.
  • Add TestTabsSegmentedDarkIndicator and a changelog fragment.

Verification

  • go tool nsgo test ./ui
  • go tool nsgo test ./tools/changelog
  • go tool nsgo check

🤖 Gemini 4 Neon

@oneo-me
oneo-me enabled auto-merge (rebase) November 26, 2026 13:49
@github-actions github-actions Bot added bug Something isn't working documentation Improvements or additions to documentation ui size/S labels Nov 26, 2026
@oneo-me
oneo-me merged commit 8cfb7ef into main Nov 26, 2026
45 checks passed
@oneo-me
oneo-me deleted the agiox/dark-tabs-selected-style branch November 26, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation size/S ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant