Skip to content

Commit df2ab78

Browse files
authored
fix background color for inline code under dark mode (webpack#6438)
1 parent e604104 commit df2ab78

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/styles/dark.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ body {
1717
code,
1818
tt {
1919
text-shadow: none;
20+
background-color: transparentize(getColor(fiord), 0.55);
2021
}
2122
blockquote {
2223
border-left-color: #343434;
@@ -53,6 +54,9 @@ body {
5354
}
5455
pre {
5556
background-color: #131b1f;
57+
code {
58+
background: transparent;
59+
}
5660
}
5761
a code {
5862
color: #69a8ee;

0 commit comments

Comments
 (0)