@vanilla-extract/babel-plugin@0.3.0
seek-oss-ci
released this
22 Apr 02:47
·
573 commits
to master
since this release
Minor Changes
-
#37
ae9864c
Thanks @markdalgleish! - RenamemapToStyles
tostyleVariants
BREAKING CHANGE
-import { mapToStyles } from '@vanilla-extract/css'; +import { styleVariants } from '@vanilla-extract/css'; -export const variant = mapToStyles({ +export const variant = styleVariants({ primary: { background: 'blue' }, secondary: { background: 'aqua' }, });