Skip to content

Commit cccd49f

Browse files
committed
Fix carousel when color-mode-type is media-query
1 parent 208ba3d commit cccd49f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scss/_carousel.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,14 @@
230230

231231
@if $enable-dark-mode {
232232
@include color-mode(dark) {
233-
.carousel,
234-
&.carousel {
233+
.carousel {
235234
@include carousel-dark();
236235
}
236+
237+
@if $color-mode-type == "data" {
238+
&.carousel {
239+
@include carousel-dark();
240+
}
241+
}
237242
}
238243
}

0 commit comments

Comments
 (0)