Skip to content

Commit

Permalink
Update selectors for carousel media query color mode option (#38328)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored Mar 26, 2023
1 parent d533e6f commit f771171
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scss/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,15 @@

@if $enable-dark-mode {
@include color-mode(dark) {
.carousel,
&.carousel {
@include carousel-dark();
@if $color-mode-type == "media-query" {
.carousel {
@include carousel-dark();
}
} @else {
.carousel,
&.carousel {
@include carousel-dark();
}
}
}
}

0 comments on commit f771171

Please sign in to comment.