Help – Can WP Customizer and Sass make a CSS baby together?
-
funny title, honest question. thanks for your help…
I used to use a WP Theme that implemented LESS. Every time I changed one of the theme’s color or other LESS-variable-type settings, it cleared the cache and generated a new .css file.
I asked some friends and they said Sass is compiled client-side (e.g. PHP), but I’m not sure where that leaves me in terms of what I’m wanting to accomplish, which is giving the end user a WP Customizer color picker for primary_color and accent_color and then using those 2 colors to generate all the other colors via Sass (maybe some layout variables too) and get those compiled to a .css file.
Is it possible to build an _s theme that has Sass compile to CSS on page reload from WP Customizer settings?
- The topic ‘Help – Can WP Customizer and Sass make a CSS baby together?’ is closed to new replies.