@webflow/variables
v2.8.0
Published
Tooling for style variables in Webflow code component libraries.
Maintainers
Keywords
Readme
@webflow/variables
Tooling for style variables in Webflow code component libraries.
Entry points
@webflow/variables: re-exports theStyleVariableCatalogtypes from@webflow/data-types/variables, and addsvalidateStyleVariableCatalog,sanitizeVariableNameandextractVarReferences. The CLI and the Webflow server both validate catalogs with it, and the server usesextractVarReferencesto rewritevar(--x)in raw values.
The types live in @webflow/data-types, which holds the contracts. This package holds the behavior.
