Themeing, Stylus vs SCSS



  • @celtic Stylus sure did not “fail”. Stylus was one of the reasons I chose Quasar. Vue CLI 3 has a building option for it: https://github.com/vuejs/vue-cli/blob/dev/docs/css.md#pre-processors



  • I figured out that the css preprocessor is not really a thread.
    I was using this great tool: https://www.npmjs.com/package/s2sconvert
    Now my build can handle both SASS and Stylus 🙂

    Unfortunately Quasar wont be our choice as it turned out that it is a kind of fullstack spa, and i need a very specific own made build, vue-cli is not an option for us.
    But you did a great work, I wish you much success!



  • I’m currently deciding whether to bet the ranch on Quasar for a new project. One of my concerns is that it’s so tied to Stylus which is clearly now a dead project. Is there any plan to port it over to SASS?

    My other big concern is that Quasat seems to be a one-man project (albeit a very productive one man!) - how many other people are actively involved in its development?



  • Hey @spanners welcome to Quasar. 🙂
    You will be in no way tied to use Stylus, it is true that the internal components use Stylus as CSS pre processor, but you can choose whatever you like for your Quasar app.
    The docs explain how you can switch the pre processor on the example of SCSS.
    Also, if somehow there are issues with Stylus that are not resolved upstream, I am certain that Quasar will adopt accordingly.

    If you look at the contributor graph at GitHub you will see, that there are actually a lot of people that contribute to Quasar and there are two lead developer, namely @rstoenescu and @pdanpdan

    I can only recommend you to join our Discord chat at https://discordapp.com/invite/5TDhbDg where the community is way more active. From the forum you could get a false impression about how much people care for Quasar. 🙂

    Hopefully I could resolve you concerns, otherwise I am glad to answer additional questions.



  • Hi @a47ae - thank you very much for your quick and informative response - it is very encouraging 😃
    As you suggest I will join the discord forum - Quasar certainly looks like a great framework and I am seriously considering adopting it for our new project.



  • I think there will be some changes possibly in the future on this front. I am not sure exactly and not sure it is 100% related, but I have a feeling it is, from the little bit I know. Still, don’t get too excited, but like everything Razvan has done before, whatever it is, it will be good, even if it ends up totally unrelated. 😉

    Scott



  • @a47ae said in Themeing, Stylus vs SCSS:

    Only thing you currently can’t to is to use the Stylus variables in SCSS/SASS. But I guess one could find a workaround for that.

    I started working on a (very hacky) workaround… gave up half way through, but maybe someone will find it useful:
    https://gist.github.com/bikubi/76325574c7c8236d5f14323d52e472ab


Log in to reply