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.
This commit is contained in:
Dan Stillman 2026-08-03 14:37:37 -04:00
parent 1dffe21de0
commit 0ae2e42ca2

View file

@ -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);