bigardone / phoenix-react-redux-template

Application template for SPAs with Phoenix, React and Redux
MIT License
130 stars 14 forks source link

Stylus rather than SASS ;) #4

Open kristianmandrup opened 8 years ago

kristianmandrup commented 8 years ago

Sass.... is so dirty and old school by now! Keep it nice, clean and "stylus" I'll just make me own fork to "fix" this! :) Good job! Cheers :)

bigardone commented 8 years ago

Hi! I've always wanted to try using stylus and maybe this is the perfect time to do it. One of the reasons I keep using sass is that I like Bourbon and Neat, is there anything similar in Stylus that we can add? If you switch to Stylus and create a PR I'l gladly merge it :) Thanks!

kristianmandrup commented 8 years ago

I already added it. Yes, there are a ton of similar and more powerful Stylus plugins. I've also added PostCSS to the mix. Just need to experiment with integrating said plugins. Would be better with a Slush generator.

kristianmandrup commented 8 years ago

Here is an example of a slush generator which prompts for various styling plugins and installs them...

https://github.com/kristianmandrup/slush-markoa/blob/master/layout/prompts.js

kristianmandrup commented 8 years ago

BTW: I'm reading up on React Native now. Would be a nice integration option as well :)

bigardone commented 8 years ago

@kristianmandrup thanks for the update! I'm going to dig in a bit more into stylus and your slug generator so it only adds the necessary files depending on the options selected :)