mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-10 14:35:56 +09:00
Ref https://github.com/webstudio-is/webstudio-builder/issues/2137 Here added static tokens support to meta. Id of resulting style source become persistent like this "componentName:tokenName". Such token styles are inserted only if style source with same id not exist. This way we prevent breaking styles already changed by user. Style source input now autocomplete global tokens and suggest to create predefined component tokens. Also disabled spell check in style source input. <img width="244" alt="Screenshot 2023-08-20 at 17 18 37" src="https://github.com/webstudio-is/webstudio-builder/assets/5635476/9572f5b1-6243-49fa-83be-a0315f104987">
Webstudio SDK
Webstudio SDK is a TypeScript API that lets you use your Webstudio site or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site