mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
feat: upgrate to new theme (#2027)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -92,6 +92,6 @@ const StyledArrow = styled('span')<{
|
||||
bottom: 0,
|
||||
},
|
||||
|
||||
...getArrowStyle(placement, theme.colors.tooltipBackground),
|
||||
...getArrowStyle(placement, 'var(--affine-tooltip)'),
|
||||
};
|
||||
});
|
||||
|
||||
@@ -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)',
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user