Skip to content

Commit 8ae0ed3

Browse files
committed
Ensure selected text is visible in dark mode
Fixes #4729, #4734
1 parent bb26413 commit 8ae0ed3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pages/vomnibar_page.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,17 @@ ul {
150150
}
151151

152152
#vomnibar input {
153-
background-color: #202124;
154-
color: white;
155153
background-color: var(--vimium-foreground-color);
156154
color: var(--vimium-foreground-text-color);
157155
border: none;
158156
}
159157

158+
/* Ensure selected text is visible in dark mode. */
159+
#vomnibar input::selection {
160+
color: var(--vimium-foreground-color);
161+
background-color: var(--vimium-foreground-text-color);
162+
}
163+
160164
#vomnibar li {
161165
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
162166
}

0 commit comments

Comments
 (0)