mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-17 16:31:07 +00:00
Update selectors for carousel media query color mode option (#38328)
This commit is contained in:
parent
d533e6f33d
commit
f77117141d
1 changed files with 9 additions and 3 deletions
|
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue