CSS Variable Gen
v1.0.0Generate CSS custom property systems with fallbacks and themes
Generates CSS custom property (:root) blocks from design tokens, with light/dark theme support, category grouping, and var() fallback chaining.
How to use- →Enter a variable name starting with -- (e.g. --color-primary) and its light-theme value.
- →Optionally add a dark-theme override and a fallback reference for var() chaining.
- →Assign a category label to group related variables under comment blocks in the output.
- →Toggle between Light and Dark preview to see how each theme resolves, then copy the result.
Preview
Add at least one variable name to generate output.