Styleframe Logo
Back to changelog
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. useFontSizeDesignTokens now 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 _usage collection 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 Props types from virtual: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.
View the v3.7.0 release on GitHub