braid-design-system
Version:
Themeable design system for the SEEK Group
19 lines (15 loc) • 421 B
text/typescript
import { style } from '@vanilla-extract/css';
import { calc } from '@vanilla-extract/css-utils';
import { vars } from '../../themes/vars.css';
export const root = style({
padding: '0.05px',
lineHeight: 0,
});
export const backdrop = style({
width: '100vw',
height: '100vh',
});
export const menuIsClosed = style({
transform: `translateY(${calc(vars.grid).negate().multiply(2)})`,
visibility: 'hidden',
});