Re: [css-variables] CSS Variables are a NEW kind of variable

|
| :root{ def-primarycolor: blue; }
| .x{ background-color: $primarycolor; }
|

This is nearly what I proposed in my June 4 'compromise', the only 
difference being that it don't pass the "the variable name is consistent 
between declaration and retreival" assertion (and that you will never be 
able to reference a framework-provided property in the future even if we 
would like to allow that; also create inconsistencies like in inherit(color) 
vs inherit(def-mycolor) vs $color).

I would not say I dislike it but this is clearly missing an huge opportunity 
and messing things arounds. Seriously, css variables are properties, let's 
consider them as such. 

Received on Thursday, 14 June 2012 17:09:33 UTC