Back to changelog View the v3.7.0 release on GitHub
v3.7.0
One font-size system
Typography got simpler and builds got leaner. Fluid and static font sizes used to be two separate concerns; now they share one composable. And Styleframe now tracks which variables and utilities your code references, so it can leave out the ones you never touch.
Improved
- Fluid and static sizes, unified.
useFontSizeDesignTokensnow covers both fluid and fixed font sizes, so you reach for one composable instead of choosing between two systems that did nearly the same thing. - Purging that knows what you use. A new
_usagecollection records the variables and utilities your styles reference, giving the engine the information it needs to drop the rest.
New
- Named prop types. The transpiler exports named
Propstypes fromvirtual:styleframe, so you can import a recipe's prop types by name and type your components against them directly. - A persistent framework switcher. The docs sidebar now remembers whether you read examples in Vue, React, or Vanilla — pick once and every page follows.