From 0ae2e42ca21928ec6bdb1ef6e39b89cbab1c1958 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 3 Aug 2026 14:37:37 -0400 Subject: [PATCH] Use proper accent color for the selected autocomplete row In an autocomplete popup, focus remains in the text field, so the inactive selection color was being used instead. --- scss/components/_richlistbox.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scss/components/_richlistbox.scss b/scss/components/_richlistbox.scss index b61a73a4b3..5c7baf2b8a 100644 --- a/scss/components/_richlistbox.scss +++ b/scss/components/_richlistbox.scss @@ -1,3 +1,10 @@ +// An autocomplete popup keeps focus in the field it completes, so its selected +// row is the active one, rather than the platform's unfocused selection +panel[type="autocomplete-richlistbox"] .autocomplete-richlistitem[selected] { + background-color: var(--color-accent); + color: var(--color-accent-text); +} + richlistbox { background: var(--material-background); border: var(--material-panedivider);