Les styles en ligne peuvent-ils être généralement définis avec des variables CSS ?

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:

3 « J'aime »

Sure, we generally want CSS variables in more places. If there are other places this would be convenient for that don’t currently have them, let us know!

This uses --category-banner-background and --category-banner-color

2 « J'aime »

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.