mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/3399 Here added a few improvements to repeated style to handle variables properly. For now all changes affects only backgrounds section. - single layer can use css variable with multiple gradients - with multiple layers each can have css variable with single gradient - when single variable inside multiple layers has multiple gradients all thumbnails become transparent, it should be and indicator of invalid gradients - fixed toggling hidden considering variables - fixed deleting layers considering variables - now when single layer has variable with multiple gradients only first gradient can be deleted or toggled
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.