Skip to content

Releases: vanilla-extract-css/vanilla-extract

@vanilla-extract/[email protected]

15 May 01:24
c842fde

Choose a tag to compare

Patch Changes

  • #1066 0d0ea39 Thanks @askoufis! - Fix stale emitted CSS in SSR mode by invalidating all modules related to a file

@vanilla-extract/[email protected]

15 May 01:24
c842fde

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

15 May 01:24
c842fde

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

14 Apr 03:25
cb28d4d

Choose a tag to compare

Minor Changes

  • #1062 d33aa4a Thanks @markdalgleish! - Support assigning properties to layers via @layer option on defineProperties

    Example usage:

    // sprinkles.css.ts
    import { defineProperties } from '@vanilla-extract/sprinkles';
    import { layer } from '@vanilla-extract/css';
    
    export const sprinklesLayer = layer();
    
    const properties = defineProperties({
      '@layer': sprinklesLayer,
      // etc.
    });

@vanilla-extract/[email protected]

12 Apr 04:02
2ba0bc5

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

28 Mar 01:41
f247339

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

28 Mar 04:51
11d23d3

Choose a tag to compare

Minor Changes

  • #955 ece5fc3 Thanks @mrm007! - Add support for cascade layers, i.e. @layer.

    Create a scoped layer to avoid naming collisions, or with an explicit name using globalLayer. Styles can then be assigned to layers using the @layer key within your style definition.

    // layers.css.ts
    import { layer } from '@vanilla-extract/css';
    
    export const reset = layer('reset');
    export const framework = layer('framework');
    export const typography = layer('typography');
    
    // typography.css.ts
    import { style } from '@vanilla-extract/css';
    import { typography } from './layers.css';
    
    export const standard = style({
      '@layer': {
        [typography]: {
          fontSize: '1rem',
        },
      },
    });

@vanilla-extract/[email protected]

20 Mar 02:33
ec4c563

Choose a tag to compare

Patch Changes

@vanilla-extract/[email protected]

20 Mar 02:33
ec4c563

Choose a tag to compare

Minor Changes

@vanilla-extract/[email protected]

11 Mar 08:45
6bfc2d9

Choose a tag to compare

Patch Changes

  • #1036 7e876b6 Thanks @askoufis! - Sort serialized module exports

    Fixes a Vanilla module serialization bug that sometimes resulted in variables being used before they were declared