Skip to content

Commit

Permalink
fix tooltip arrow css var background
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilhelm committed Aug 2, 2022
1 parent cac7c8b commit c319b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const TooltipArrow = styled('span', {
height: '0.71em' /* = width / sqrt(2) = (length of the hypotenuse) */,
boxSizing: 'border-box',
color: theme.vars
? `rgba(${theme.vars.palette.grey.darkChannel} / 0.9)`
? theme.vars.palette.Tooltip.bg
: alpha(theme.palette.grey[700], 0.9),
'&::before': {
content: '""',
Expand Down

0 comments on commit c319b9d

Please sign in to comment.