0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Add color-scheme to dark root selector

This commit is contained in:
Mark Otto 2022-12-27 10:32:10 -08:00 committed by Mark Otto
parent f9827ac8d8
commit 5d9c09ccba

View File

@ -131,6 +131,8 @@
@if $enable-dark-mode {
@include color-mode(dark, true) {
color-scheme: dark;
// scss-docs-start root-dark-mode-vars
--#{$prefix}body-color: #{$body-color-dark};
--#{$prefix}body-color-rgb: #{to-rgb($body-color-dark)};