Skip to content

fix: improve native tab bar appearance and dark mode handling#32

Merged
datlechin merged 1 commit into
mainfrom
fix/native-tab-bar-appearance
Feb 6, 2026
Merged

fix: improve native tab bar appearance and dark mode handling#32
datlechin merged 1 commit into
mainfrom
fix/native-tab-bar-appearance

Conversation

@datlechin
Copy link
Copy Markdown
Member

Summary

  • Dark mode color fix: Wrap background color assignments in performAsCurrentDrawingAppearance so colors resolve correctly during light/dark appearance transitions
  • Window key state tracking: Tab items now observe didBecomeKey/didResignKey notifications and refresh appearance when the window gains or loses focus
  • Cleaner tab selection style: Replace border-based selected tab highlight with accent-tinted background (controlAccentColor at 15% opacity), and use quaternaryLabelColor for hover state

Test plan

  • Switch between light and dark mode — tab bar background and tab items should update colors correctly without stale colors
  • Click away from the app window and back — tab selection appearance should update
  • Hover over tabs — should show subtle hover highlight
  • Selected tab should show accent-tinted background without borders

Use performAsCurrentDrawingAppearance for correct colors during
appearance transitions, track window key state for tab styling,
and use accent-tinted selection instead of border-based highlight.
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