mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 02:24:19 +02:00
Add color-scheme to dark root selector
This commit is contained in:
@@ -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)};
|
||||||
|
Reference in New Issue
Block a user