Skip to content

[UI] Fix the selected history view being hard to tell apart in dark mode - #742

Merged
hannesa2 merged 1 commit into
masterfrom
history-view-switch-contrast
Oct 1, 2026
Merged

hannesa2 merged 1 commit into
masterfrom
history-view-switch-contrast

Conversation

@goneng

@goneng goneng commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Draw the Detailed / Tree view switch above the history list in the
standard rounded style, whose selected segment stands out in both
appearances. With the textured square style, the selected segment in
dark mode was only a shade lighter than the other one.

Changes

  • Change the switch's segment style from textured square to rounded
  • Leave the action buttons next to it as they are; disabled ones
    already dim their icons

Screenshots

Before

image

After

image

Test plan

  • ibtool on the xib: no new warnings or notices compared with master,
    and it compiles
  • Offscreen render of the switch in each candidate style, light and
    dark: rounded is the one whose selected segment is clear in both
  • In the CI build (DMG), in dark mode: the selected segment, Detailed
    or Tree, is clearly lighter than the other one

Draw the Detailed / Tree view switch in the standard rounded style,
whose selected segment stands out in both appearances.

- Change the switch's segment style from textured square to rounded
- Leave the action buttons next to it as they are; disabled ones
  already dim their icons
@hannesa2

Copy link
Copy Markdown
Contributor

Screenshot differs: emulatorApi=arm64 with 2 screenshot(s)

setpoint (old) | diff | actual screenshot (new)

commit-context-menu.pngscreenshot

settings-general.pngscreenshot

@goneng goneng changed the title Fix the selected history view being hard to tell apart in dark mode [UI] Fix the selected history view being hard to tell apart in dark mode Sep 30, 2026
@goneng
goneng marked this pull request as ready for review September 30, 2026 22:12
@hannesa2
hannesa2 merged commit bee8230 into master Oct 1, 2026
3 checks passed
@hannesa2
hannesa2 deleted the history-view-switch-contrast branch October 1, 2026 04:06
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