No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Possible to use Styl variables with other Pre-processed languages?

    Help
    4
    4
    1514
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      davewallace last edited by

      Hi,

      I’ve just included SASS as my pre-processor of choice, and I’d like to be able to use the existing work included via a .styl theme.

      Is this possible?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        Hi,

        Unfortunately this is not possible from my knowledge. You can’t live “translate” from one CSS preprocessor to another.

        1 Reply Last reply Reply Quote 0
        • Dobromir
          Dobromir last edited by

          As @rstoenescu said you can’t use Stylus variables inside you SASS, however, if you are not importing any specific css framework/tool you could use Stylus. For the most part its similar to SCSS, you can still use braces and what not, I for once use them, as without them my code gets freaky and looks messy to me 🙂
          Having a separate _variables.scss is possible, but you have to manage it by your self 🙂

          1 Reply Last reply Reply Quote 1
          • K
            kosciak last edited by

            http://www.sass2stylus.com/

            You can use this to go with 100% Stylus setup. 🙂

            1 Reply Last reply Reply Quote 0
            • First post
              Last post