Skip to content

Commit

Permalink
Update site/layouts/shortcodes/callout-deprecated-dark-variants.html
Browse files Browse the repository at this point in the history
Co-authored-by: Louis-Maxime Piton <[email protected]>
  • Loading branch information
julien-deramond and louismaximepiton authored Oct 3, 2023
1 parent 25c2eac commit 608cd4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<div class="bd-callout bd-callout-warning">
<p>
<strong>Heads up!</strong> Dark variants for components were deprecated in v5.3.3 with the introduction of color modes. Instead of adding <code>.{{ $component }}-dark</code>, set <code>data-bs-theme="dark"</code> on the root element, a parent wrapper, or the component itself.
<strong>Heads up!</strong> Dark variants for components were deprecated in v5.3.3 with the introduction of color modes.<br>Add <code>data-bs-theme="dark"</code> to the <code>.{{ $component }}</code> or any ancestor element to enable a component-specific color mode. <a href="/docs/customize/color-modes">Learn more about our color modes</a>.
</p>
</div>

0 comments on commit 608cd4c

Please sign in to comment.