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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Jun 2012 10:21:35 -0700
Message-ID: <CAAWBYDDJ8qCNGYeQzTB+F73CktoKWsX5WgsaMjwG27fdrMUb+A@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: François REMY <fremycompany_pub@yahoo.fr>, Sylvain Galineau <sylvaing@microsoft.com>, Chris Eppstein <chris@eppsteins.net>, Divya Manian <manian@adobe.com>, www-style@w3.org
On Thu, Jun 14, 2012 at 9:03 AM, Brian Kardell <bkardell@gmail.com> wrote:
> I hate to throw another one into the mix or anything, but, is
> something like this a non-starter at this point:
>   - $ is a shortcut/convenience for simple var()
>   - left and right compliment, rather than match?
>   - a short prefix other than $ or var which both appear to be loaded
> with perception problems..
>
> Something like -
>
> :root{ def-primarycolor: blue; }
> .x{ background-color: $primarycolor; }
>
> Where def-* is a place for author defined properties to be hung?
>
> ((bracing for the beatdown...))

This is pretty much exactly what's currently in the draft, except the
draft uses a var- prefix.

~TJ
Received on Thursday, 14 June 2012 17:22:24 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT