Skip to content

Commit

Permalink
styling: fix diff syntax color in dark mode
Browse files Browse the repository at this point in the history
sync: upstream - 0c9e558 (pr: sveltejs#521)
  • Loading branch information
sorae42 authored Oct 18, 2023
1 parent 6de0a8c commit 21040c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ pre.language-diff code {
color: rgba(0, 0, 0, 0.4);
}

.dark pre.language-diff code {
color: rgba(255, 255, 255, 0.4);
}

.language-diff .inserted,
.language-diff .deleted {
position: relative;
Expand Down

0 comments on commit 21040c7

Please sign in to comment.