feat: add css virable

This commit is contained in:
QiShaoXuan
2022-10-27 15:17:00 +08:00
parent 43e1efd79e
commit 659e83befd
3 changed files with 6 additions and 4 deletions
+1 -4
View File
@@ -8,10 +8,7 @@ const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
return {
boxShadow: theme.shadow.tooltip,
padding: '4px 12px',
backgroundColor:
theme.mode === 'dark'
? theme.colors.popoverBackground
: theme.colors.primaryColor,
backgroundColor: theme.colors.toolTipBackground,
color: '#fff',
fontSize: theme.font.xs,
};