mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 06:16:59 +08:00
chore: adjust modal background color for peek view (#8295)
close AF-1391
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { cssVar } from '@toeverything/theme';
|
||||
import { cssVarV2 } from '@toeverything/theme/v2';
|
||||
import { style } from '@vanilla-extract/css';
|
||||
|
||||
export const modalOverlay = style({
|
||||
position: 'fixed',
|
||||
inset: 0,
|
||||
zIndex: cssVar('zIndexModal'),
|
||||
backgroundColor: cssVar('black30'),
|
||||
backgroundColor: cssVarV2('layer/background/modal'),
|
||||
pointerEvents: 'auto',
|
||||
selectors: {
|
||||
'&[data-anime-state="animating"]': {
|
||||
|
||||
Reference in New Issue
Block a user