]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: fix headings color in light/dark mode (#37802)
authorJulien Déramond <juderamond@gmail.com>
Wed, 4 Jan 2023 16:47:31 +0000 (17:47 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 16:47:31 +0000 (08:47 -0800)
site/assets/scss/_content.scss

index 126ec9f8825552525216b9b78456053263516c70..9eca80464539173ae4fd7493cdd063864d1bdcba 100644 (file)
@@ -12,7 +12,7 @@
   > h2,
   > h3,
   > h4 {
-    --#{$prefix}heading-color: #fff;
+    --bs-heading-color: var(--bs-emphasis-color);
   }
 
   > h2:not(:first-child) {
 }
 
 .bd-title {
-  --#{$prefix}heading-color: #fff;
+  --bs-heading-color: var(--bs-emphasis-color);
   @include font-size(3rem);
 }