use of Sass to generate CSS

Greetings all,

Just wondered if anyone had any experience, or thoughts, on using Sass (Syntactically Awesome Stylesheets) to create CSS files.
It looks to be very powerful and an integration of a Sass to CSS conversion within XPP would seem to offer quite a lot to the task of generating a CSS file to use for XPP styling.


Paul

Paul Montgomery
Letterpart Ltd


Sass (Syntactically Awesome Stylesheets)
https://en.wikipedia.org/wiki/Sass_%28stylesheet_language%29

  • Paul,

    Sass is indeed an interesting way to write CSS style sheets. It allows you to declare variables and use them throughout your style sheet. It also gives you the ability to combine sets of properties in named 'mixins' . And not to forget the added math capabilities that allow you to calculate the values.
    Plus its 'extend' feature allows you to write style sheets that are more concise and as such easier to debug

    However the goal of Sass is to write out a CSS style sheet.
    And I guess that this is where the trouble starts.
    It seems like Sass knows how to cache compiled templates.
    It would be interesting to know how much the Sass engine slows down composition every time you launch a compose division.
    (from what I read it might be very minimal)

    But it certainly should not stop you to open an RFE.
    It could certainly be an interesting extension that would make XPP style writing even more powerful.
    So in case you open an RFE you add my name to it.
  • Bart,

    Thanks very much for your summary of the features of Sass.
    It looks like a CSS preprocessor, like Sass, would offer a great many benefits when doing the complex setup work that a powerful composition system like XPP allows you to do.
    I'll submit an RFE!


    thanks,
    Paul