Re: [css-variables] ...let's change the syntax

On Thu, Mar 13, 2014 at 1:50 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> Forgot to respond to this line:
>
> On Wed, Mar 12, 2014 at 9:40 PM, Chris Eppstein <chris@eppsteins.net>
> wrote:
> > An issue we're bumping into in the sass community now is namespace
> collisions from 3rd-party libraries. It would be nice if CSS could avoid
> our mistake by forcing a namespace for custom properties.
>
> That's why I'd prefer "underscore anywhere in the name" over "leading
> underscore" - you can put the namespace before the underscore, leading
> to a nice visual separation.
>
> ~TJ
>
>

Since we have -[vendor]- for custom vendor things, we could just reserve --
for 'no vendor, just custom'... At least it's explainable/consistent.



-- 
Brian Kardell :: @briankardell :: hitchjs.com

Received on Thursday, 13 March 2014 18:03:20 UTC