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 atomsFixes 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
]:- @vanilla-extract/css@0.4.1