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

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

From: Brian Kardell <bkardell@gmail.com>
Date: Thu, 14 Jun 2012 12:03:47 -0400
Message-ID: <CADC=+jc=1mVkBHiRhkWsP5-QVC+kEtVcg5yt=sH=Q1kSnU0wzg@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Chris Eppstein <chris@eppsteins.net>, Divya Manian <manian@adobe.com>, www-style@w3.org
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...))

Received on Thursday, 14 June 2012 16:04:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC