[Edit: see response from @chriskirknielsen below for the "right" answer (currentcolor) and @c0debabe for a workaround.]
In CSS, when defining the "color" or "background" for an item, is there a way to say "10% lighter/darker than whatever you're inheriting"?
I know I can define a CSS var up front and use that throughout, but that's not what I'm looking for. I suppose I want an "automatic variable" for "whatever this value would be if I weren't touching it".
Is that a thing?
#css