Web Tools
CSS Variables Generator
Generate CSS custom properties (design tokens) for colors, spacing, typography, and custom values. Output as CSS, SCSS, or JSON with category grouping and namespace prefixes. Includes 6 presets for popular design systems. Runs entirely in your browser — your data never leaves your machine.
css variables custom-properties design-tokens scss
Published May 30, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Define your design tokens by adding variables with names, values, and categories. The tool generates CSS custom properties, SCSS variables, or JSON output with optional category grouping and namespace prefixes.
Features
- 4 token categories: colors, spacing, typography, custom
- 3 output formats: CSS custom properties, SCSS variables, JSON
- Category grouping: organize output with section comments
- Namespace prefix: auto-prefix variables (e.g.,
--app-*,--theme-*) - Custom selector: use
:root,body, or any selector - 6 presets: Material Design, Tailwind spacing, Typography scale, Dark/Light theme, Minimal
- Statistics: total variables, per-category counts
- Private: runs entirely in the browser — no data transmitted
Use Cases
- Creating design token systems for new projects
- Generating CSS custom properties from design specifications
- Converting design tokens between CSS, SCSS, and JSON formats
- Setting up theming systems with namespace prefixes
- Quick-starting projects with popular design system presets