Open argyleink opened 1 year ago
In the meantime, we also need more gradients.
this could be something like:
:root {
--space: ;
--gradient-1: linear-gradient(to right var(--space), red, blue);
--gradient-2: …;
--gradient-3: …;
}
@supports (background: linear-gradient(to right in oklab, #000, #fff)) {
:root {
--space: in oklab;
}
}
I think for the colors it's okay, but for the gradients, we have to wait for Firefox support. https://developer.mozilla.org/en-US/docs/Web/CSS/hue-interpolation-method