Releases: vanilla-extract-css/vanilla-extract
@vanilla-extract/sprinkles@0.1.0
@vanilla-extract/esbuild-plugin@0.2.0
Minor Changes
- #53
58e4f8a
Thanks @mattcompiles! - Support exporting functions from.css.ts
files via recipes
Patch Changes
@vanilla-extract/css@0.4.0
Minor Changes
-
#52
2d98bcc
Thanks @markdalgleish! - RenamecreateThemeVars
tocreateThemeContract
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
- #50
48c4a78
Thanks @mattcompiles! - Allow vars to be passed as values to all style properties
@vanilla-extract/babel-plugin@0.4.0
Minor Changes
-
#52
2d98bcc
Thanks @markdalgleish! - RenamecreateThemeVars
tocreateThemeContract
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
Patch Changes
- #45
e154028
Thanks @mattcompiles! - FixcreateThemeVars
when using null values
@vanilla-extract/css@0.3.2
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 mapThe 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
Patch Changes
-
#45
e154028
Thanks @mattcompiles! - FixcreateThemeVars
when using null values -
Updated dependencies [
e154028
]:- @vanilla-extract/private@0.1.1
@vanilla-extract/webpack-plugin@0.2.1
@vanilla-extract/esbuild-plugin@0.1.2
@vanilla-extract/css@0.3.0
Minor Changes
-
#38
156b491
Thanks @markdalgleish! - AddcomposeStyles
function -
#37
ae9864c
Thanks @markdalgleish! - RenamemapToStyles
tostyleVariants
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
- #34
756d9b0
Thanks @mattcompiles! - Reduce CSS var and identifier lengths