Preprocessing CSS

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Wed May 25 00:35:22 PDT 2016


Am Wed, 25 May 2016 08:28:01 +0200
schrieb Jacob Carlborg <doob at me.com>:

> On 2016-05-25 05:47, Vladimir Panteleev wrote:
> > That said I don't see a lot of demand for preprocessing our CSS
> > files at the moment.
> >
> > And, to add a data point, I have never used (or needed) neither
> > SASS or LESS, despite creating a lot of web apps and even working
> > at a web design company for a bit. I don't feel like I'm missing
> > out.  
> 
> What you don't know you don't miss ;)
> 

One nice feature in SASS is color manipulation: You can easily
lighten/darken colors and use constants for colors to easily generate
different color schemes.

Since GTK has switched to CSS, quite some themes use SASS to
easily provide different theme variants:
http://worldofgnome.org/adwaita-gtk-theme-is-now-ported-to-sass/
https://github.com/horst3180/arc-theme
...

OTOH I don't know if you really need these features in web applications.


More information about the Digitalmars-d mailing list