Skip to content

Commit

Permalink
fix: dark-mode-class class selector
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Aug 20, 2022
1 parent b3609f0 commit e29bb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixins/_dark-mode-class.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/// }
///
@mixin dark-mode-class($element: 'html', $class: 'dark') {
#{$element}[class='#{$class}'] & {
#{$element}[class~="#{$class}"] & {
@content;
}
}

0 comments on commit e29bb23

Please sign in to comment.