diff --git a/scss/_carousel.scss b/scss/_carousel.scss index ed5c3dec46..dbbd6c8a7b 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -312,6 +312,7 @@ .carousel-control-play-pause { margin-bottom: $carousel-indicators-margin-bottom; + color: $carousel-control-icon-color; background: rgba($carousel-indicator-active-bg, .5); border: 0; @include border-radius($spacer, $spacer); @@ -354,7 +355,7 @@ left: (100% - $carousel-caption-width) * .5; padding: $carousel-caption-padding-y $carousel-caption-padding-x; // Boosted mod color: $carousel-caption-color; - background-color: color-contrast($carousel-caption-color); // Boosted mod: ensure contrast + background-color: $carousel-caption-bg; // Boosted mod } // Boosted mod: no dark carousel nor carousel in dark mode since Boosted doesn't have any dark mode for now diff --git a/scss/_variables-dark.scss b/scss/_variables-dark.scss index 22a7eeea31..16bef98507 100644 --- a/scss/_variables-dark.scss +++ b/scss/_variables-dark.scss @@ -82,7 +82,7 @@ $body-tertiary-bg-dark: $black !default; // Boosted mod: instead of $body-emphasis-color-dark: $white !default; // Boosted mod: instead of `$gray-100` $border-color-dark: $gray-700 !default; $border-color-translucent-dark: $gray-700 !default; // Boosted mod instead of `rgba($white, .15)` -$headings-color-dark: $white !default; // Boosted mod: instead of `inherit` +$headings-color-dark: inherit !default; $link-color-dark: $white !default; // Boosted mod: instead of `tint-color($primary, 40%)` $link-hover-color-dark: $primary !default; // Boosted mod: instead of `shift-color($link-color-dark, -$link-shade-percentage)` $code-color-dark: tint-color($code-color, 40%) !default; diff --git a/scss/_variables.scss b/scss/_variables.scss index 353f2b5308..85c2026885 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -2080,7 +2080,8 @@ $carousel-indicators-margin-bottom: $spacer !default; // End mod $carousel-caption-width: 70% !default; -$carousel-caption-color: $black !default; +$carousel-caption-color: var(--#{$prefix}body-color) !default; +$carousel-caption-bg: var(--#{$prefix}body-bg) !default; // Boosted mod $carousel-caption-padding-y: $spacer !default; $carousel-caption-padding-x: $spacer !default; // Boosted mod $carousel-caption-spacer: $spacer * 3 !default; @@ -2089,6 +2090,7 @@ $carousel-control-icon-width: 2.5rem !default; // Boosted mod $carousel-control-icon-size: 1rem 1.5rem !default; $carousel-control-icon-bg: var(--#{$prefix}chevron-icon) !default; +$carousel-control-icon-color: $black !default; // Boosted mod $carousel-control-icon-active-bg: $component-active-bg !default; $carousel-control-pause-indicators-spacing: 10px !default; diff --git a/site/content/docs/5.3/dark-mode.md b/site/content/docs/5.3/dark-mode.md index 6daf9ba55e..8e0c971513 100644 --- a/site/content/docs/5.3/dark-mode.md +++ b/site/content/docs/5.3/dark-mode.md @@ -434,6 +434,88 @@ sitemap_exclude: true +### Breadcrumb + +

No theme

+ +
+ +
+ +

Dark theme on container

+ +
+ +
+ +

Light theme on container

+ +
+ +
+ +

Dark theme on component

+ +
+ +
+ +

Light theme on component

+ +
+ +
+ ### Buttons

No theme

@@ -2112,84 +2194,244 @@ sitemap_exclude: true -### Breadcrumb +### Carousel

No theme

- +

Dark theme on container

- +

Light theme on container

- +

Dark theme on component

- +

Light theme on component

- +