From 608cd4ca5196c9bdc6973a91922e4d2cdec68a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 3 Oct 2023 10:52:48 +0200 Subject: [PATCH] Update site/layouts/shortcodes/callout-deprecated-dark-variants.html Co-authored-by: Louis-Maxime Piton --- site/layouts/shortcodes/callout-deprecated-dark-variants.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/shortcodes/callout-deprecated-dark-variants.html b/site/layouts/shortcodes/callout-deprecated-dark-variants.html index aa219c6e9c..062a28c354 100644 --- a/site/layouts/shortcodes/callout-deprecated-dark-variants.html +++ b/site/layouts/shortcodes/callout-deprecated-dark-variants.html @@ -4,6 +4,6 @@

- Heads up! Dark variants for components were deprecated in v5.3.3 with the introduction of color modes. Instead of adding .{{ $component }}-dark, set data-bs-theme="dark" on the root element, a parent wrapper, or the component itself. + Heads up! Dark variants for components were deprecated in v5.3.3 with the introduction of color modes.
Add data-bs-theme="dark" to the .{{ $component }} or any ancestor element to enable a component-specific color mode. Learn more about our color modes.