mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 10:21:35 +03:00
c2cf331ff7
fix AF-1197
17 lines
382 B
TypeScript
17 lines
382 B
TypeScript
import { cssVar } from '@toeverything/theme';
|
|
import { createVar, style } from '@vanilla-extract/css';
|
|
|
|
export const sidebarOffsetVar = createVar();
|
|
|
|
export const root = style({
|
|
width: '100vw',
|
|
height: '100vh',
|
|
display: 'flex',
|
|
background: cssVar('backgroundPrimaryColor'),
|
|
selectors: {
|
|
'&[data-translucent="true"]': {
|
|
background: 'transparent',
|
|
},
|
|
},
|
|
});
|