It would be nice if there was a way to mix colors using color-mix
. This is especially helpful for adding shades to CSS color variables, without needing to have 100 variables for variations of the same color.
For example: color-mix(in srgb, var(--my-color), #fff 10%);
to lighten a color.