aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-03-16 17:22:20 +0100
committerGitHub <[email protected]>2023-03-16 18:22:20 +0200
commit4ba2deb53424e6b64370a27c71206c14d027e976 (patch)
tree504098cb725a4401e4809265184b85eb7c43b175
parentfe786cdd55a75c086ee2703f9ba5f57e51b4fca4 (diff)
downloadbootstrap-4ba2deb53424e6b64370a27c71206c14d027e976.tar.xz
bootstrap-4ba2deb53424e6b64370a27c71206c14d027e976.zip
Docs: consistent deprecation messages in Close Button dark variant (#38247)
-rw-r--r--site/content/docs/5.3/components/close-button.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/site/content/docs/5.3/components/close-button.md b/site/content/docs/5.3/components/close-button.md
index 033958ded..533271b49 100644
--- a/site/content/docs/5.3/components/close-button.md
+++ b/site/content/docs/5.3/components/close-button.md
@@ -24,7 +24,9 @@ Disabled close buttons change their `opacity`. We've also applied `pointer-event
## Dark variant
-{{< callout info >}}
+{{< deprecated-in "5.3.0" >}}
+
+{{< callout warning >}}
**Heads up!** As of v5.3.0, the `.btn-close-white` class is deprecated. Instead, use `data-bs-theme="dark"` to change the color mode of the close button.
{{< /callout >}}