2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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:
Julien Déramond
2022-12-21 07:52:07 +01:00
committed by GitHub
parent f6687e99b5
commit 41f62c5a11
7 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -130,7 +130,7 @@
}
@if $enable-dark-mode {
@include color-mode(dark) {
@include color-mode(dark, true) {
// scss-docs-start root-dark-mode-vars
--#{$prefix}body-color: #{$body-color-dark};
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};