mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 20:13:35 +09:00
Here got rid of top level stylesheet caching in favor of managing caching by each rule. So nesting rule, font face and style rule based on their inputs and methods manage own cached css string. In stylesheet all the work left is building media queries and concatenating all rules. This prevents hard to debug cached css after updates.
CSS Engine
This package is designed to render effectively CSS in the format produced by Webstudio Builder. It is using CSS variables for all dynamic parts and can render at runtime as for usage on Live Canvas in the Builder as well as for extracting a fully static style sheet for production.