Hooks & Utilities
v1.0.0Added in 1.0.0
One way to color a component: a tone or any CSS color becomes five CSS variables every variant paints with.
Each row is one tone painted three ways: a solid fill, a soft tint and an outline. Pick any color in the playground to see colorVars build the same set from it, with readable text on both themes.
npx wingo-ui@latest add tonesNo dependencies beyond React.
colorVars("#7C3AED")