AFFiNE/packages/frontend/electron/renderer/shell/shell.css.ts
2024-08-06 15:57:40 +00:00

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',
},
},
});