v1.2.0
github-actions
released this
31 Jan 11:15
·
5830 commits
to master
since this release
Breaking Change
getTokens()
now returns the $ prefixed tokens, sogetTokens().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 dogetTokens({ 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)