Hello,
My understanding is that latest Metronic 9.0.2 is using tailwindcss 4.1.x, but apparently gradient is not defined, for example : bg-gradient-to-r
it appears that we are limited to use ONLY the syntax defined in src/assets/css/styles.css and cannot leverage the full design capabilities of tailwindcss.
tailwindcss provides many new functionality I would like to use in conjunction with metronic / KTUI.
Please advise how i can use tailwindcss 4.1 html classes addition to classes defined in metronic.
Thanks in advance
Hi,
You can use any Tailwind CSS classes. Please make sure when you add a new class you will need to recompile your style.css with Metronic build tools which runs tailwind CLI to recompile css with all actually used classes:
https://keenthemes.com/metronic/tailwind/docs/getting-started/installation
Regards,
Sean