Skip to content

Commit 21040c7

Browse files
authored
styling: fix diff syntax color in dark mode
sync: upstream - 0c9e558 (pr: sveltejs#521)
1 parent 6de0a8c commit 21040c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ pre.language-diff code {
2727
color: rgba(0, 0, 0, 0.4);
2828
}
2929

30+
.dark pre.language-diff code {
31+
color: rgba(255, 255, 255, 0.4);
32+
}
33+
3034
.language-diff .inserted,
3135
.language-diff .deleted {
3236
position: relative;

0 commit comments

Comments
 (0)