Skip to content

Commit

Permalink
fix: add color-theme option to html tag (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Oct 30, 2023
1 parent f1517cd commit 75367fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ html:not([data-theme]) {
@each $mode in (light, dark) {
html[data-theme="#{$mode}"] {
@include theme-colors($mode);
color-scheme: $mode;
}
}

Expand Down

0 comments on commit 75367fc

Please sign in to comment.