RE: [css-variables] Using $foo as the syntax for variables

[Brad Kemper:]
> 
> I think this would cause trouble to people who use SASS, but still want
> some variable use in their final, rendered CSS. Also, I don't like the
> idea of a completely different pattern (functional notation) for similar
> use combined with a second argument, such as default.

I have been concerned about this as well; not only might it cause some code
maintenance confusion but the assumption seems to be that the two shall never
meet in the same stylesheet. Though, for now, I am lacking the imagination to 
think of the awesome one could do by generating CSS variable constructs with 
SASS on the server, I'm not sure we can make this assumption. Or that it is 
desirable to make using the two together more difficult. We simply have no 
control on whether and when SASS will go away. We do have control on how 
easy/hard it would be to use variables and frameworks such as SASS together 
though.

Received on Tuesday, 22 May 2012 19:23:44 UTC