1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Deprecate the tooltip-arrow-bg color since we're using CSS variables to set tooltip colors

This commit is contained in:
Mark Otto 2021-09-08 11:49:52 -07:00 committed by Mark Otto
parent a68e1af2d5
commit 91312486b2
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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