·
2 commits
to master
since this release
Minor Changes
-
#1720
7bbe189Thanks @cahnory! - Add support for@scopetoconditionsEXAMPLE USAGE:
import { style } from '@vanilla-extract/css'; import { defineProperties } from '@vanilla-extract/sprinkles'; const scopeRoot = style(); const scopedProperties = defineProperties({ defaultCondition: 'unscoped', conditions: { unscoped: {}, document: { '@scope': `(${scopeRoot})` } }, responsiveArray: ['unscoped', 'scoped'], properties: { flexDirection: ['row', 'column'], order: { first: '1', second: '2' } } });