+1 on using variables in gradients.
For now, it is challenging to use gradients in terms of variables, but a style referencing a variable is valuable since gradients can change in light/dark themes or other themes.
The same could go for effects like shadows.