Am trying to use post css color function have used it on a previous version of sage and it worked fine on the latest installed with tailwind it doesnt seem to be working.
background: color(config("colors.red") a(41%));
have installed with yarn and added to the plugin loader in postcss.config.jg
plugins: {
"postcss-color-function": true,
cssnano: options.enabled.optimize ? cssnanoConfig : false,
autoprefixer: true,
},
this perviously worked on another site but now it just doens’t get processed and I end up with just straight into the css like
background: color(#e3342f a(41%));
Anyone experienced this or knows how to get this working? its useful when using tailwind.
Thanks
J