Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Support for custom CSS variables

$
0
0

Replies: 0

Hello,

I create my own CSS variables for colors, fluid typography and fluid spacing.

Is there a chance that you guys could provide a support to enter css variables right into block customizer options?

So for example, if I would like to change the heading color, I would just type type var(–color-p-500) in a color field.

The same goes for CSS variables inside spacing and typography options.

Is that possible?

Because as of right now, I just apply a custom class for those elements and then specify those CSS properties in WP Code box plugin. But I am not sure how is that CSS rendered on frontend, as I read somewhere that you put all of the generated CSS inline in the head.


Viewing all articles
Browse latest Browse all 59525

Trending Articles