2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03: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
+9 -3
View File
@@ -230,9 +230,15 @@
@if $enable-dark-mode { @if $enable-dark-mode {
@include color-mode(dark) { @include color-mode(dark) {
.carousel, @if $color-mode-type == "media-query" {
&.carousel { .carousel {
@include carousel-dark(); @include carousel-dark();
}
} @else {
.carousel,
&.carousel {
@include carousel-dark();
}
} }
} }
} }