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

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 UTC