aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-01-04 17:47:31 +0100
committerGitHub <[email protected]>2023-01-04 08:47:31 -0800
commit803d9d405c9d1d79f4810725668bdf2f2614ded2 (patch)
treec5e8c6b8be0b70e88a2860b25c68a55e6e85f63b
parentd70b5db2e0aee9ea9a7255d28395278876bf53ba (diff)
downloadbootstrap-803d9d405c9d1d79f4810725668bdf2f2614ded2.tar.xz
bootstrap-803d9d405c9d1d79f4810725668bdf2f2614ded2.zip
Docs: fix headings color in light/dark mode (#37802)
-rw-r--r--site/assets/scss/_content.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss
index 126ec9f88..9eca80464 100644
--- a/site/assets/scss/_content.scss
+++ b/site/assets/scss/_content.scss
@@ -12,7 +12,7 @@
> h2,
> h3,
> h4 {
- --#{$prefix}heading-color: #fff;
+ --bs-heading-color: var(--bs-emphasis-color);
}
> h2:not(:first-child) {
@@ -108,7 +108,7 @@
}
.bd-title {
- --#{$prefix}heading-color: #fff;
+ --bs-heading-color: var(--bs-emphasis-color);
@include font-size(3rem);
}