mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
Closes https://github.com/webstudio-is/webstudio/issues/4939 Added css variables support with autocomplete in text-shadow and box-shadow properties. Extended our ast with new "shadow" value to properly represent variables in shadow properties. Though parser still cannot extract variables from value with variables and falls back to "unparsed" value. <img width="542" alt="Screenshot 2025-03-23 at 00 45 03" src="https://github.com/user-attachments/assets/2493d925-3199-4257-b9e8-dc69daa27324" />
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.