Skip to content

Commit 256a14e

Browse files
committed
fix: fixing the background color in darkmode
1 parent 50cf0bc commit 256a14e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Code/Code.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ html.dark .code-block span {
1616
@apply bg-yellow-100/70;
1717
}
1818

19-
html.dark .code-block span.line.highlighted {
19+
html.dark .code-block span.line.highlighted,
20+
html.dark .code-block span.line.highlighted span {
2021
@apply dark:!bg-gray-700;
2122
}

0 commit comments

Comments
 (0)