From dab026fc2bb43aff8d16033143d1bf0d71198277 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 6 Apr 2022 17:35:31 -0700 Subject: Revert border-color utilities to use the CSS property instead of the variable --- site/content/docs/5.1/utilities/borders.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'site/content/docs') diff --git a/site/content/docs/5.1/utilities/borders.md b/site/content/docs/5.1/utilities/borders.md index 6939dcdf8..17d353b32 100644 --- a/site/content/docs/5.1/utilities/borders.md +++ b/site/content/docs/5.1/utilities/borders.md @@ -43,6 +43,12 @@ Change the border color using utilities built on our theme colors. {{< /example >}} +{{< callout >}} +Unlike text and background color utilities, border color utilities redeclare the `border-color` property **without** an additional `--bs-border-opacity`, as opposed to resetting only `--bs-border-color`. This ensures the backward compatibility of border color utilities applying to other components while providing additional functionality through CSS variables. + +This will be revisited in a future major release. +{{< /callout >}} + ## Opacity {{< added-in "5.2.0" >}} -- cgit v1.2.3