Support for CSS variables | WordPress.org

[ad_1]

Hello Blocksy Team,

I just tried your theme, it is really a blast to use.

But there is a one thing that is keeping me from using it.

Do you have any plans to support CSS variables?

To explain, I have my own CSS framework.

A part of this framework are CSS variables for fonts and colors (e.g. var(–primary, var(–secondary), etc..)

I wanted to use those variables inside a Theme customizer, for example to set a color for header row. Or a color for menu items. Inputing variables is not possible at the moment.

The same applies to inputing CSS variables for font settings. So for example if I wanted to use my CSS Framework fluid typography, I couldn’t do it in your theme because I can not set CSS variable var(–h2) for a H2 element.

I was a bit surprised because GeneratePress offers this functionality where we can add our own CSS variables.

Thank you in advance for your answer.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer