Jako / TailwindHelper

MODX Helper for Tailwind
https://jako.github.io/TailwindHelper/
GNU General Public License v2.0
3 stars 0 forks source link

Suggestions to build Tailwind CSS from inside manager #1

Open DESIGNfromWITHIN opened 2 years ago

DESIGNfromWITHIN commented 2 years ago

Thanks for this fantastic plugin Jako!

I plan to make a MODX theme using TailwindCSS and am thinking on how to generate the CSS after users pick colors for the theme in ClientConfig...

Do you have any suggestions to build Tailwind CSS from inside manager after users change options in ClientConfig?

Jako commented 2 years ago

That's currently not easy possible since the SCSS has to be built locally.

But you can work with css variables(https://caniuse.com/css-variables) and change your workflow to use those variables by i.e. adding https://github.com/mertasan/tailwindcss-variables