aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2021-09-08 11:49:52 -0700
committerMark Otto <[email protected]>2021-09-08 20:20:50 -0700
commit0a708c0d8a983a20206b3c38c38e4738fddf7518 (patch)
treee3d9bc5284c1be3ec6a3ff25244c497f1e48a3dd
parentc45db4c104b9196a7edb511b6062cf5464abf2c0 (diff)
downloadbootstrap-0a708c0d8a983a20206b3c38c38e4738fddf7518.tar.xz
bootstrap-0a708c0d8a983a20206b3c38c38e4738fddf7518.zip
Deprecate the tooltip-arrow-bg color since we're using CSS variables to set tooltip colors
-rw-r--r--scss/_tooltip.scss2
-rw-r--r--scss/_variables.scss4
2 files changed, 3 insertions, 3 deletions
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 9863f8bfd..b3a410146 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -11,8 +11,6 @@
--#{$variable-prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
// scss-docs-end tooltip-css-vars
- $tooltip-arrow-color: null;
-
position: absolute;
z-index: $zindex-tooltip;
display: block;
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 3994f1897..0568adc12 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1321,7 +1321,9 @@ $tooltip-margin: 0 !default;
$tooltip-arrow-width: .8rem !default;
$tooltip-arrow-height: .4rem !default;
-$tooltip-arrow-color: $tooltip-bg !default;
+// fusv-disable
+$tooltip-arrow-color: null !default; // Deprecated in v5.2.0 for CSS variables
+// fusv-enable
// scss-docs-end tooltip-variables
// Form tooltips must come after regular tooltips