I think CSS variables would be a nice addition to zen-coding.
First define all variables at the top of the CSS document like:
// $blue = #1c7ebf
// $gray = #e1e1e1
And then you can use the variables throughout the whole css document:
#footer{
background:$gray;
color:$blue
}
will be
#footer{
background:#e1e1e1;
color:#1c7ebf
}
I know this can be achieved by adding snippets for each color but not all sites
have the same color scheme + that takes much more time.
Original issue reported on code.google.com by thijsss...@gmail.com on 30 Jun 2010 at 9:00
Original issue reported on code.google.com by
thijsss...@gmail.com
on 30 Jun 2010 at 9:00