Skip to content

v1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 11:15
· 5830 commits to master since this release
5176e2b

Breaking Change

  • getTokens() now returns the $ prefixed tokens, so getTokens().size['$sm'] would be valid usage. This allows for easier usage with props, so you don't have to .slice(1). If you want the previous functionality, getTokens({ prefixed: false }) lets you do getTokens({ prefixed: false }).size.sm

Features

  • core: export useStyle hook for programmatic access to the style function (natew)
  • core: getTokens() not default to returning the tokens with $ prefixes, and takes an option getTokens({ prefixed: false }) for previous functionality (natew)

Bug Fixes

  • lucide-icons: Fix sizing not getting the right theme size token values (natew)

Commits

  • ae6845d: update-starters-v1.1.13 (natew)
  • 5176e2b: update-starters-v1.2.0 (natew)