Rainbow Sprinkles Versions Save

Dynamic, theme-driven, style props for vanilla-extract.

[email protected]

5 months ago

Patch Changes

  • #156 98dc1ed Thanks @roginfarrer! - Fixed complex type errors related to the permutations of configuration. See use #101 for example.

[email protected]

11 months ago

Minor Changes

  • 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.
    });
    

[email protected]

1 year ago

Patch Changes

  • d2f2e29: Update flexShrink type to support string values

[email protected]

1 year ago

Patch Changes

  • 4a82f2a: Changed the type off outlineOffset from <length> to <line-width>{1,4}. This allows valid string sizes to be used such as px and rem units.

[email protected]

1 year ago

Minor Changes

  • 0173ace: Added support for @container queries

Patch Changes

  • 4e88f36: Fixed inline styles created for staticProperties

[email protected]

1 year ago

Patch Changes

  • a4ef068: Allow scale keys with hyphen or dot by modifying VALUE_REGEX

[email protected]

1 year ago

Patch Changes

  • fabac72: Replace String.matchAll with RegExp.exec to broaden browser and Node version support

[email protected]

1 year ago

Patch Changes

  • bf7d842: Replaced Array.at() to improve browser support

[email protected]

1 year ago

Patch Changes

  • 0af248c: Update types to allow null in sprinkle values
  • 19bd82c: Fixed classes not being created when property value is 0

[email protected]

1 year ago

Patch Changes

  • ce5d3ab: Updated CSS type for Line Width to support strings