Do you ever struggle with creating a consistent color palette for your website?
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));
Yes, can be done.
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));
}
Yes, can be done.