mirror of https://github.com/twbs/bootstrap.git
Add color-scheme to dark root selector
This commit is contained in:
parent
f9827ac8d8
commit
5d9c09ccba
|
|
@ -131,6 +131,8 @@
|
||||||
|
|
||||||
@if $enable-dark-mode {
|
@if $enable-dark-mode {
|
||||||
@include color-mode(dark, true) {
|
@include color-mode(dark, true) {
|
||||||
|
color-scheme: dark;
|
||||||
|
|
||||||
// scss-docs-start root-dark-mode-vars
|
// scss-docs-start root-dark-mode-vars
|
||||||
--#{$prefix}body-color: #{$body-color-dark};
|
--#{$prefix}body-color: #{$body-color-dark};
|
||||||
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
|
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue