aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2021-09-08 11:49:52 -0700
committerMark Otto <[email protected]>2022-03-08 14:53:53 -0800
commit91312486b2a07325491bab3507f469b681ac724c (patch)
treeef05874f33004a244ace36b2d7fd57f94ada89ca
parenta68e1af2d5f4f8d5c10d1c1005cc6734adfcced6 (diff)
downloadbootstrap-91312486b2a07325491bab3507f469b681ac724c.tar.xz
bootstrap-91312486b2a07325491bab3507f469b681ac724c.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 fb4e9d1c3..7fbf70695 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -15,8 +15,6 @@
--#{$variable-prefix}tooltip-arrow-height: #{$tooltip-arrow-height};
// scss-docs-end tooltip-css-vars
- $tooltip-arrow-color: null;
-
position: absolute;
z-index: var(--#{$variable-prefix}tooltip-zindex);
display: block;
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 11b5cffac..6eda4ee44 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1294,7 +1294,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