File size: 556 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import { recipe } from '@vanilla-extract/recipes'
import { BREAKPOINTS } from '../../styles/breakpoints.css'
import { vars } from '../../styles/theme-contract.css'
export const aside = recipe({
base: {
display: 'none',
flexShrink: 1,
width: '30rem',
gridArea: 'aside',
'@media': {
[`screen and ${BREAKPOINTS.tabletUp}`]: {
display: 'block',
paddingTop: vars.space['25'],
height: '100%',
},
},
},
variants: {
isStuck: {
true: {
position: 'fixed',
},
},
},
})
|