funkhaus / fuxt

A complete Headless WordPress tech stack built on Nuxt.
223 stars 28 forks source link

Replace SASS with a PostCSS #33

Closed drewbaker closed 2 years ago

drewbaker commented 2 years ago

One of the only things we use SASS for is the media queries variables. I think we can replace that with this PostCSS plugin.

https://www.npmjs.com/package/postcss-media-variables

This would enable us to remove SASS and SASS-Loader dependencies, which I'm all for.

Also might need to then use this, as it's the other thing needed from SASS: https://www.npmjs.com/package/postcss-nested

I think PostCSS is in Nuxt by default now.

drewbaker commented 2 years ago

Closed with https://github.com/funkhaus/fuxt/commit/38b3f21c7729affa62afa7c28b1c1425dbc791bd