2 Comments
Mar 29, 2023·edited Mar 29, 2023Liked by Shruti Balasa

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