Could inline styles be generally set with CSS variables?

Inline styles are sometimes set using CSS variables, but other times declared directly for the property. I think it would be nice if the pattern with CSS variables would be generally adopted. It seems it’s perfectly backward compatible?

E.g. like this on the category banners:

2 Likes