File size: 832 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 29 30 31 32 33 34 35 36 37 |
import { style } from '@vanilla-extract/css'
import { vars } from '../../styles/theme-contract.css'
export const themeGroup = style({
height: '4.6rem',
width: '9.2rem',
position: 'relative',
backgroundColor: vars.colors.codeBackground,
borderRadius: vars.radii.r8,
zIndex: 0,
})
export const themePicker = style({
background: 'transparent',
border: 'none',
width: '50%',
height: '100%',
display: 'inline-flex',
justifyContent: 'center',
alignItems: 'center',
borderRadius: vars.radii.r8,
padding: '0.2rem',
cursor: 'pointer',
position: 'relative',
zIndex: 1,
})
export const themeActiveBlob = style({
height: 42,
backgroundColor: vars.colors.white,
position: 'absolute',
zIndex: 0,
top: 2,
borderRadius: vars.radii.r8,
transition: 'left 400ms ease-out, right 400ms ease-out',
})
|