Dynamic, theme-driven, style props for vanilla-extract.
98dc1ed
Thanks @roginfarrer! - Fixed complex type errors related to the permutations of configuration. See use #101 for example.3731e6a: Support assigning properties to layers via @layer
option on defineProperties
Example usage:
// sprinkles.css.ts
import { defineProperties } from 'rainbow-sprinkles';
import { layer } from '@vanilla-extract/css';
export const sprinklesLayer = layer();
const properties = defineProperties({
'@layer': sprinklesLayer,
// etc.
});