Skip to content

Releases: vanilla-extract-css/vanilla-extract

@vanilla-extract/sprinkles@0.1.0

28 Apr 06:23
d1973ea
Compare
Choose a tag to compare

Patch Changes

@vanilla-extract/esbuild-plugin@0.2.0

28 Apr 06:23
d1973ea
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@vanilla-extract/css@0.4.0

28 Apr 06:23
d1973ea
Compare
Choose a tag to compare

Minor Changes

  • #52 2d98bcc Thanks @markdalgleish! - Rename createThemeVars to createThemeContract

    BREAKING CHANGE

    import {
    -  createThemeVars,
    +  createThemeContract,
      createTheme
    } from '@vanilla-extract/css';
    
    -export const vars = createThemeVars({
    +export const vars = createThemeContract({
      color: {
        brand: null
      },
      font: {
        body: null
      }
    });

Patch Changes

@vanilla-extract/babel-plugin@0.4.0

28 Apr 06:23
d1973ea
Compare
Choose a tag to compare

Minor Changes

  • #52 2d98bcc Thanks @markdalgleish! - Rename createThemeVars to createThemeContract

    BREAKING CHANGE

    import {
    -  createThemeVars,
    +  createThemeContract,
      createTheme
    } from '@vanilla-extract/css';
    
    -export const vars = createThemeVars({
    +export const vars = createThemeContract({
      color: {
        brand: null
      },
      font: {
        body: null
      }
    });

@vanilla-extract/private@0.1.1

26 Apr 00:12
71bf442
Compare
Choose a tag to compare

Patch Changes

@vanilla-extract/css@0.3.2

26 Apr 22:29
c80a862
Compare
Choose a tag to compare

Patch Changes

  • #47 a18bc03 Thanks @mattcompiles! - Improve dev prefixes on generated class names

    • Add file name to class names even if no debug id is present
    • If file is the index file use directory name instead
  • #49 2ae4db3 Thanks @michaeltaranto! - Update the unit-less property map

    The original list was borrowed from the postcss-js parser, but decided to reverse engineer an updated list from csstype for more thorough coverage.

@vanilla-extract/css@0.3.1

26 Apr 00:12
71bf442
Compare
Choose a tag to compare

Patch Changes

@vanilla-extract/webpack-plugin@0.2.1

22 Apr 02:47
e0ed6c9
Compare
Choose a tag to compare

Patch Changes

@vanilla-extract/esbuild-plugin@0.1.2

22 Apr 02:47
e0ed6c9
Compare
Choose a tag to compare

Patch Changes

@vanilla-extract/css@0.3.0

22 Apr 02:47
e0ed6c9
Compare
Choose a tag to compare

Minor Changes

  • #38 156b491 Thanks @markdalgleish! - Add composeStyles function

  • #37 ae9864c Thanks @markdalgleish! - Rename mapToStyles to styleVariants

    BREAKING CHANGE

    -import { mapToStyles } from '@vanilla-extract/css';
    +import { styleVariants } from '@vanilla-extract/css';
    
    -export const variant = mapToStyles({
    +export const variant = styleVariants({
      primary: { background: 'blue' },
      secondary: { background: 'aqua' },
    });

Patch Changes