2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +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
+6
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();
} }
} }
}
} }