Skip to content

Commit 6765aa3

Browse files
committed
fix
1 parent 04e3b0d commit 6765aa3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/html/templates/styles.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ a {
1616
--ddoc-selection-selected-bg: #056cf00c;
1717
--ddoc-selection-padding: 9px 15px;
1818
--ddoc-usage-active-bg: #ebf6ff;
19+
20+
&:is(.dark *) {
21+
--ddoc-usage-active-bg: theme("colors.stone.800");
22+
}
1923
}
2024

2125
.link {
@@ -387,7 +391,3 @@ pre.highlight {
387391
@apply hidden md:block text-xs leading-none;
388392
}
389393
}
390-
391-
.dark {
392-
--ddoc-usage-active-bg: theme("colors.stone.800");
393-
}

0 commit comments

Comments
 (0)