Skip to content

Commit c6ff2ad

Browse files
committed
fixup! book: fix code styling in dark mode
1 parent fa7a6e1 commit c6ff2ad

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

assets/sass/dark-mode.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@
8484
}
8585

8686
/* Book pages: code colors */
87-
--book-code-color: #{$fixed-width-font-color};
88-
--book-code-bg: #{$no-changes-bg-color};
89-
--book-code-border: #{$pre-border};
87+
.edition2 {
88+
--book-code-color: #{$fixed-width-font-color};
89+
--book-code-bg: #{$no-changes-bg-color};
90+
--book-code-border: #{$pre-border};
91+
}
9092

9193
img {
9294
filter: brightness(.6) contrast(1.2);

0 commit comments

Comments
 (0)