diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss index f5e1f8fda6..d1a4b76a75 100644 --- a/site/assets/scss/_component-examples.scss +++ b/site/assets/scss/_component-examples.scss @@ -314,9 +314,9 @@ min-height: 16.625rem; // Boosted mod: instead of `15rem` > div { - color: var(--bs-highlight-color); // Boosted mod: instead of `var(--bs-body-bg)` + // Boosted mod: no `color` background-color: var(--bd-primary-light); - border: 1px solid var(--bd-primary); + border: 1px solid var(--bs-primary); > span { position: absolute; diff --git a/site/assets/scss/_toc.scss b/site/assets/scss/_toc.scss index f26e2a4c4a..f5ed814618 100644 --- a/site/assets/scss/_toc.scss +++ b/site/assets/scss/_toc.scss @@ -34,7 +34,7 @@ &:hover, &.active { color: var(--bd-toc-color); - border-left-color: var(--bd-toc-active-border-left-color); // Boosted mod: instead of `--bd-toc-color` + border-left-color: var(--bs-primary); // Boosted mod: instead of `--bd-toc-color` } &.active { diff --git a/site/assets/scss/_variables.scss b/site/assets/scss/_variables.scss index e862920d2d..6028b2e8c6 100644 --- a/site/assets/scss/_variables.scss +++ b/site/assets/scss/_variables.scss @@ -1,7 +1,8 @@ // Local docs variables -$bd-primary: $primary; // Boosted mod // stylelint-disable-next-line function-disallowed-list -$bd-primary-light: lighten(saturate($bd-primary, 5%), 15%); // Boosted mod +$bd-primary-light: lighten(saturate($primary, 5%), 15%); // Boosted mod +// stylelint-disable-next-line function-disallowed-list +$bd-primary-dark: darken(saturate($brand-orange, 5%), 15%); // Boosted mod $bd-purple: #4c0bce; $bd-violet: lighten(saturate($bd-purple, 5%), 15%); // stylelint-disable-line function-disallowed-list // Boosted mod: np $bd-purple-light @@ -12,12 +13,10 @@ $bd-callout-variants: info, warning, danger !default; :root, [data-bs-theme="light"] { - --bd-primary: #{$bd-primary}; // Boosted mod --bd-primary-light: #{$bd-primary-light}; // Boosted mod // Boosted mod: no --bd-purple --bd-violet: #{$bd-violet}; // Boosted mod: no --bd-accent - --bd-primary-rgb: #{to-rgb($bd-primary)}; // Boosted mod --bd-primary-light-rgb: #{to-rgb($bd-primary-light)}; // Boosted mod // Boosted mod: no --bd-violet-rgb // Boosted mod: no --bd-accent-rgb @@ -29,10 +28,11 @@ $bd-callout-variants: info, warning, danger !default; // Boosted mod: no --bd-callout-link // Boosted mod: no --bd-callout-code-color --bd-pre-bg: var(--bs-tertiary-bg); - --bd-toc-active-border-left-color: var(--bd-primary); // Boosted mod } @include color-mode(dark, true) { + --bd-primary-light: #{$bd-primary-dark}; // Boosted mod + --bd-primary-light-rgb: #{to-rgb($bd-primary-dark)}; // Boosted mod --bd-violet: #{mix($bd-violet, $white, 75%)}; --bd-violet-bg: #{$bd-violet}; // Boosted mod: no --bd-toc-color diff --git a/site/content/docs/5.3/utilities/spacing.md b/site/content/docs/5.3/utilities/spacing.md index ac1faa15d3..1478e72a15 100644 --- a/site/content/docs/5.3/utilities/spacing.md +++ b/site/content/docs/5.3/utilities/spacing.md @@ -77,7 +77,7 @@ Here are some representative examples of these classes: Additionally, Boosted also includes an `.mx-auto` class for horizontally centering fixed-width block level content—that is, content that has `display: block` and a `width` set—by setting the horizontal margins to `auto`.