scss
_carousel.scss +2 -0
_variables-dark.scss +1 -1
+ 2
- 0
+ 1
- 1
@@ -44,7 +44,7 @@ $body-tertiary-bg-dark: mix($gray-800, $gray-900, 50%) !default;
This PR suggests to set --bs-heading-color
to black in dark mode or when .carousel-dark
is used.
TBH I'm not a big fan of this modification so far but headers have a color set by --bs-heading-color
which has a bigger priority compared to .carousel-caption
color. So I haven't found a more elegant way of doing it for now. Thoughts to improve this PR?
Color consistency between header and text colors within .carousel-caption
.
npm run lint
)
Please check the following URLs in light and dark modes:
Closes #37795 (closed)
Preferences