feat: upgrate to new theme (#2027)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Flrande
2023-04-20 16:31:19 +08:00
committed by GitHub
parent 63f7b2556e
commit 372377dd6b
61 changed files with 624 additions and 1037 deletions
@@ -92,6 +92,6 @@ const StyledArrow = styled('span')<{
bottom: 0,
},
...getArrowStyle(placement, theme.colors.tooltipBackground),
...getArrowStyle(placement, 'var(--affine-tooltip)'),
};
});
+1 -1
View File
@@ -191,6 +191,6 @@ export const BasicStyledPopper = styled(PopperUnstyled, {
zIndex?: CSSProperties['zIndex'];
}>(({ zIndex, theme }) => {
return {
zIndex: zIndex ?? theme.zIndex.popover,
zIndex: zIndex ?? 'var(--affine-z-index-popover)',
};
});