Skip to content

Releases: saneef/postcss-design-token-utils

v3.0.0

29 Apr 14:12
cd4763b
Compare
Choose a tag to compare
  • Breaking: Renames option classResponsivePrefixSeparator to responsivePrefixClassSeparator.

Full Changelog: v2.0.3...v3.0.0

v2.0.3

25 Apr 12:53
bd27e8c
Compare
Choose a tag to compare

Chore

  • Updates .npmignore to exclude inessential files

Full Changelog: v2.0.2...v2.0.3

v2.0.2

25 Apr 12:52
874851d
Compare
Choose a tag to compare

Fixes

  • Empty string prefix get '-' class prefix. 323afb3

Full Changelog: v2.0.1...v2.0.2

v2.0.1

25 Apr 09:47
85558c7
Compare
Choose a tag to compare

Fixed

  • Generates separate declaration block for each property. b6fd5c9

Full Changelog: v2.0.0...v2.0.1

v2.0.0

25 Apr 06:42
13110c2
Compare
Choose a tag to compare
  • Breaking: move tokens argument into options.
  • fix type errors when using the plugin.

Migrate from v1.x

v1:

postcssDesignTokenUtils(tokens, {
 /* Plugin options */
})

v2:

postcssDesignTokenUtils({
  tokens,
 /* Plugin options */
})

Full Changelog: v1.1.0...v2.0.0

v1.1.0

22 Apr 10:54
93dcbe3
Compare
Choose a tag to compare

Changed

  • property in options.utilityClasses now supports multiple properties that can be included in a utility class. Example: ["margin-top", "margin-bottom"].

Full Changelog: v1.0.1...v1.1.0

v1.0.1

15 Apr 21:15
c12fced
Compare
Choose a tag to compare
  • Adds git repo URL in package.json

Full Changelog: v1.0.0...v1.0.1

v1.0.0

15 Apr 21:14
67535d2
Compare
Choose a tag to compare

Added

  • Generates CSS custom properties from design tokens
  • Generates utility classes including responsive variants