Skip to content

Commit

Permalink
fix(dark): classname cannot be applied to itself (#5120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd authored Mar 13, 2023
1 parent 22b3166 commit 4a0a2ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions styles/layout/_dark-theme.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
body.dark {
background-color: $dark-black;
color: $white;
}

.dark {
color-scheme: dark;

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

body {
background-color: $dark-black;
}

body,
.blogpost-meta {
color: $white;
}
Expand Down

0 comments on commit 4a0a2ce

Please sign in to comment.