2 Comments

That is a great idea. Not tested, but what about extending it to

:root {

--hue: 190;

--saturation: 90%;

--lightness: 40%;

--alpha: 100%;

}

.button {

background-color: hsl(var(--hue) var(--saturation) var(--lightness) / var(--alpha));

}

Expand full comment

Yes, can be done.

Expand full comment