diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 524645fb02..3c4340a948 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -316,7 +316,7 @@ kbd { kbd { padding: 0; @include font-size(1em); - font-weight: $nested-kbd-font-weight; + font-weight: inherit; // mdo-do: check if this is needed } } diff --git a/scss/_root.scss b/scss/_root.scss index becddf14af..cc2fbb6d1e 100644 --- a/scss/_root.scss +++ b/scss/_root.scss @@ -105,7 +105,6 @@ --#{$prefix}border-radius-lg: #{$border-radius-lg}; --#{$prefix}border-radius-xl: #{$border-radius-xl}; --#{$prefix}border-radius-xxl: #{$border-radius-xxl}; - --#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency --#{$prefix}border-radius-pill: #{$border-radius-pill}; // scss-docs-end root-border-var diff --git a/scss/_utilities.scss b/scss/_utilities.scss index 8f1039d044..9fed74fb37 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -611,9 +611,6 @@ $utilities: map-merge( values: map-merge( $utilities-text-colors, ( - "muted": var(--#{$prefix}secondary-color), // deprecated - "black-50": rgba($black, .5), // deprecated - "white-50": rgba($white, .5), // deprecated "body-secondary": var(--#{$prefix}secondary-color), "body-tertiary": var(--#{$prefix}tertiary-color), "body-emphasis": var(--#{$prefix}emphasis-color), diff --git a/scss/_variables-dark.scss b/scss/_variables-dark.scss index 260f6dcc1d..590630356a 100644 --- a/scss/_variables-dark.scss +++ b/scss/_variables-dark.scss @@ -91,12 +91,14 @@ $accordion-button-active-icon-dark: url("data:image/svg+xml, -**Heads up!** As of v5.3.0, the `alert-variant()` Sass mixin is deprecated. Alert variants now have their CSS variables overridden in [a Sass loop](#sass-loops). - - ``)} /> @@ -136,12 +132,6 @@ As part of Bootstrap’s evolving CSS variables approach, alerts now use local C -### Sass mixins - - - - - ### Sass loops Loop that generates the modifier classes with an overriding of CSS variables. diff --git a/site/src/content/docs/components/carousel.mdx b/site/src/content/docs/components/carousel.mdx index 397f7da876..21c0bdd23b 100644 --- a/site/src/content/docs/components/carousel.mdx +++ b/site/src/content/docs/components/carousel.mdx @@ -272,15 +272,11 @@ Carousels support swiping left/right on touchscreen devices to move between slid `} /> -## Dark variant +## Dark carousel - +Add `data-bs-theme="dark"` to the `.carousel` for darker controls, indicators, and captions. Controls are inverted compared to their default white fill with the `filter` CSS property. Captions and controls have additional Sass variables that customize the `color` and `background-color`. -Add `.carousel-dark` to the `.carousel` for darker controls, indicators, and captions. Controls are inverted compared to their default white fill with the `filter` CSS property. Captions and controls have additional Sass variables that customize the `color` and `background-color`. - - - - +