Skip to content

@vanilla-extract/[email protected]

Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 30 Apr 03:58
· 605 commits to master since this release
80341cb

Patch Changes

  • #63 2cecc8a Thanks @fnky! - Allow theme vars to be passed to atomic properties

  • #64 5bee64f Thanks @michaeltaranto! - Support resolving falsey values for conditional atoms

    Fixes bug where falsey values such as opacity: 0 would not resolve classes via the conditional object or responsive array syntax.

    export const atoms = createAtomicStyles({
      defaultCondition: 'mobile',
      conditions: {
        mobile: {},
        desktop: {
          '@media': 'screen and (min-width: 786px)',
        },
      },
      responsiveArray: ['mobile', 'desktop'],
      properties: {
        opacity: [0, 1],
      },
    });
  • #59 e999308 Thanks @markdalgleish! - Fix types for numbers as values

  • Updated dependencies [2cecc8a]: