Back to changelog View the v3.8.0 release on GitHub
v3.8.0
Smaller output, faster builds
Everything in this release is about what reaches the browser and how fast it gets there. Styleframe now shortens utility class names at build time, drops recipes you never use, and builds on a faster toolchain. Smaller stylesheets, shorter builds — no change to how you write.
Improved
- Class names shrink at build time. The transpiler rewrites long utility class names to compact ones during the build, so your production CSS and markup carry less weight for the same styles.
- Unused recipes fall away. Recipe-level tree-shaking means a recipe you register but never render no longer contributes CSS. You pay only for the components you actually use.
- Dynamic utilities from the scanner. The scanner now creates utilities on the fly for CSS properties it doesn't already have a match for, so uncommon properties still get first-class utility classes.
- A faster toolchain. The build moved from Vite 7 to Vite 8 with Rolldown and oxc, cutting build time across the monorepo.
New
- A Figma round-trip. New
styleframe figma exportandstyleframe figma importCLI commands move design tokens between Figma and your codebase, with more robust token handling. - The chat-message recipe. A first AI-chat building block, with avatar, content, and actions sub-parts.
Fixed
styleframe initnow scaffolds projects against the current^3.0.0package versions instead of the stale^2.0.0range.