1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-22 15:39:59 +00:00

Update selectors for carousel media query color mode option (#38328)

This commit is contained in:
Mark Otto 2023-03-26 00:53:00 -07:00 committed by GitHub
parent d533e6f33d
commit f77117141d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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