Skip to content

@vanilla-extract/babel-plugin@0.3.0

Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 22 Apr 02:47
· 573 commits to master since this release
e0ed6c9

Minor Changes

  • #37 ae9864c Thanks @markdalgleish! - Rename mapToStyles to styleVariants

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