Skip to content

Commit 1182ea4

Browse files
committed
Apply readable colors to text in dropdown list with dark color scheme #3291
1 parent 35e008e commit 1182ea4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webextensions/resources/ui-color.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,4 +392,10 @@ hr {
392392
--bg-color: var(--in-content-page-background);
393393
--text-color: var(--in-content-text-color);
394394
}
395+
396+
/* Dropdown popups have blight colors on the dark mode. We define readable combination of colors for safety. */
397+
option:not(:hover):not(:focus):not(:active) {
398+
background: canvas;
399+
color: canvastext;
400+
}
395401
}

0 commit comments

Comments
 (0)