Skip to content

Commit

Permalink
chore: adjust modal background color for peek view
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmFly committed Sep 18, 2024
1 parent a0d6a28 commit 1d08151
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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"]': {
Expand Down

0 comments on commit 1d08151

Please sign in to comment.