--varwind

A Tailwind-inspired library letting you use CSS variables through DOM elements

No Build Step

Use CSS variables directly in your HTML without a compilation process.

Excellent DevTool Support

Chrome DevTools support CSS variable exploration for easy debugging.

Familiar Syntax

Straightforward mapping of CSS properties to varwind names.

Example:

<div x-css-vars="pl--3 bg--blue-500">...</div>

Equivalent to:

padding-left: var(--3);
background: var(--blue-500);

Other Features

Works with