W3C home > Mailing lists > Public > www-style@w3.org > May 2012

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 22 May 2012 19:22:45 +0000
To: Brad Kemper <brad.kemper@gmail.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290A354B0B@TK5EX14MBXC262.redmond.corp.microsoft.com>

[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 
Received on Tuesday, 22 May 2012 19:23:44 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:15 UTC