Which CSS Preprocessor(s) do you use with your Phoenix projects?

I’ve mostly used LESS before, but started using Stylus on a new project. What do you guys use?

2 Likes

I’m forced into SASS for a lot of things, but it seems very powerful.

3 Likes

If the project was big enough to use one I would use SASS.

3 Likes

usually go with PostCSS with postcss-cssnext and some other plugins for my toy projects :slight_smile:

1 Like

I’ve used SCSS (SASS v3 see also http://sass-lang.com/documentation/file.SCSS_FOR_SASS_USERS.html) on both small and large projects. Files have the extension .scss. I find the format intuitive and relative easy to maintain, even on large projects.

2 Likes

By SASS I do mean the files I deal with are *.scss. ^.^

3 Likes

None—I barely write CSS. I just use http://tachyons.io/

2 Likes

The creator said it’s going to be obsolete in his tech talk last month (he believes managing css in Javascript is where the trend is heading).

Still, Tachyons seems pretty cool.

1 Like

There’s a lot of merits to styles in JS for SPAs using tech like React. I’ll all for them, but I love Tachyons when I just need to make something static look nice :slight_smile:

Lots of “trends” end up in the tarpit. These Blog entries may be of interest:

The author is currently working on his book CSS in Depth (Manning) (50% off with code mlgrantlt until 2016-08-30).

1 Like

We’ll see where CSS in JS is going, but if you spend more than an hour in the React community, most people are using it or interested in it. It’s big there.

In Elm as well, the note there is to use styles there almost to excess it seems. I still try to keep everything I can out into my scss files. ^.^