mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
Fix Sass compilation when $color-mode-type
is set to media-query
(#37687)
* Fix Sass compilation when `$color-mode-type` is set to `media-query` * Update mixin names, fix docs color modes for using media queries by using mixin Co-authored-by: Mark Otto <markdotto@gmail.com>
This commit is contained in:
@@ -210,7 +210,7 @@
|
||||
|
||||
// Dark mode carousel
|
||||
|
||||
%carousel-dark {
|
||||
@mixin carousel-dark() {
|
||||
.carousel-control-prev-icon,
|
||||
.carousel-control-next-icon {
|
||||
filter: $carousel-dark-control-icon-filter;
|
||||
@@ -226,13 +226,13 @@
|
||||
}
|
||||
|
||||
.carousel-dark {
|
||||
@extend %carousel-dark;
|
||||
@include carousel-dark();
|
||||
}
|
||||
|
||||
@if $enable-dark-mode {
|
||||
@include color-mode(dark) {
|
||||
.carousel {
|
||||
@extend %carousel-dark;
|
||||
@include carousel-dark();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user