Skip to content

Commit 3e9ef18

Browse files
authored
Merge pull request #55 from oruga-ui/update-tooltip
fix(tooltip): add variant color override
2 parents 47c68ea + 238c506 commit 3e9ef18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/assets/scss/components/_tooltip.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ $tooltip-zindex: $zindex-tooltip;
105105
// Color variants
106106
@each $name, $color in $theme-colors {
107107
&.variant-#{$name} {
108+
--#{$prefix}tooltip-color: var(--#{$prefix}#{$name}-contrast);
108109
--#{$prefix}tooltip-bg: var(--#{$prefix}#{$name});
109110
}
110111
}

0 commit comments

Comments
 (0)