Skip to content

Popup: make the long-press selection highlight clearly visible (#2440) - #2689

Open
MiMoHo wants to merge 2 commits into
HeliBorg:mainfrom
MiMoHo:popup-selection-highlight
Open

Popup: make the long-press selection highlight clearly visible (#2440)#2689
MiMoHo wants to merge 2 commits into
HeliBorg:mainfrom
MiMoHo:popup-selection-highlight

Conversation

@MiMoHo

@MiMoHo MiMoHo commented Jul 23, 2026

Copy link
Copy Markdown

Addresses the popup key highlighting part of #2440.

The long-press popup's selected key was hard to make out in dark mode:

  • Dynamic (dark): it used the full system accent (system_accent1_100), which is glaringly light on the dark keyboard.
  • Static themes: it used doubleAdjustedBackground, a barely-visible background shade.

This makes the selection a clear, consistent accent marker:

  • DynamicColors (Holo, dark): dim the accent (doubleAdjustedAccent) — noticeable but not blinding.
  • Static themes: use the theme accent instead of the near-invisible background shade.

Dynamic, dark

before after

Static "dark" theme

before after

Highlight luminance in dark mode: dynamic 203 → 186, static "dark" 76 → 181. Only the popup selection state changes; each theme now marks the selection with its own accent.

MiMoHo and others added 2 commits July 23, 2026 03:36
The long-press popup's selected key was highlighted with the full accent
(system_accent1_100), which is glaringly light on the dark keyboard. Use the
darkened accent (doubleAdjustedAccent) for the Holo popup highlight in dark
mode, matching how the Material night popup already uses a darkened accent, so
the selection is still clearly marked but not blindingly bright.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The popup selection highlight in the static themes used doubleAdjustedBackground,
a barely-visible background shade. Use the theme accent instead, so the popup key
highlighting is clearly noticeable (HeliBorg#2440) and consistent with the dynamic theme.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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