Skip to content

Commit 4a0a2ce

Browse files
authored
fix(dark): classname cannot be applied to itself (#5120)
1 parent 22b3166 commit 4a0a2ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

styles/layout/_dark-theme.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
body.dark {
2+
background-color: $dark-black;
3+
color: $white;
4+
}
5+
16
.dark {
27
color-scheme: dark;
38

49
.dark-theme-switcher {
510
background-image: url('/static/images/light-mode.svg');
611
}
712

8-
body {
9-
background-color: $dark-black;
10-
}
11-
12-
body,
1313
.blogpost-meta {
1414
color: $white;
1515
}

0 commit comments

Comments
 (0)