Redesign of dlang.org
Aleksandar Ruzicic via Digitalmars-d
digitalmars-d at puremagic.com
Tue Apr 22 16:45:42 PDT 2014
On Tuesday, 22 April 2014 at 23:08:45 UTC, Adam D. Ruppe wrote:
> I wrote a css expander that has a little bit of SASS features.
>
> Previously it was hidden in my html.d on my misc. github, but I
> just now made it a standalone program in a separate repo:
>
> https://github.com/adamdruppe/cssexpand
>
> Check out the demo input file
> https://github.com/adamdruppe/cssexpand/blob/master/demo/test.css
>
> and demo result file
> https://github.com/adamdruppe/cssexpand/blob/master/demo_result.css
>
> to get an idea of what it does.
Wow, this looks really nice! It has variables, mixins, nested
selectors and includes.. That's all I need!
Only.. any chance of making ยค prefix configurable via cmdline
params? :)
Ideally I would use @ as prefix, but that may interfere with CSS
@-rules (I see you have CssAtRule class to handle those), so I'd
use some character that's easier to type like $ (but that is used
for parent selector in upcoming CSS 4)...
More information about the Digitalmars-d
mailing list