Skip to content

Commit 30f6de9

Browse files
committed
fix: add explicit search highlight styles to plain theme to work around hard-to-read overlapping transparent colors
1 parent 81d2475 commit 30f6de9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/themes.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
--base0D: color-mix(in srgb, currentColor, cyan 30%);
5353
--base0E: color-mix(in srgb, currentColor, rgb(255, 0, 255) 40%);
5454
--base0F: currentColor;
55+
--_text-search-highlight-color: var(--text-search-highlight-color, yellow);
56+
--_text-search-highlight-fg-color: var(--text-search-highlight-fg-color, black);
57+
--_text-search-highlight-outline: var(--text-search-highlight-outline, 1px solid black);
58+
--_text-search-highlight-decoration: var(--text-search-highlight-decoration, underline black);
5559
}
5660

5761
.stereo {

0 commit comments

Comments
 (0)