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

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

From: Chris Eppstein <chris@eppsteins.net>
Date: Thu, 31 May 2012 13:27:42 -0700
Message-ID: <CANyEp6WpZdaVMj6-7VEh3_03zY==pm4jz=9e32FpZyqq3Rc=Jg@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, François REMY <fremycompany_pub@yahoo.fr>, "www-style@w3.org" <www-style@w3.org>
I don't understand. if we want to introduce a verb why not use an @-rule?

@define link-color: blue;

But I don't get why a simple set via `$link-color: blue;` less preferable.
You guys are way over-thinking this.

chris

On Thu, May 31, 2012 at 12:05 PM, Brian Kardell <bkardell@gmail.com> wrote:

> On Thu, May 31, 2012 at 2:23 PM, Sylvain Galineau
> <sylvaing@microsoft.com> wrote:
> >
> > [François REMY:]
> >> > The very idea of mixing up a function with a name ('define') is
> >> > completely confusing.
> >>
> >> +1, BTW.
> >>
> > All right, just so I understand what was being talked about. What part
> > of the following included/'mixed up' a "function"?
> >
> >        :root { define-link-color: blue }
> >        a { color: $link-color }
> >
> > I see a user-defined property set to a value. And a delimiter to
> dereference/use
> > that user-defined property. We're clearly not talking about the CSS
> function
> > syntax since there is no such thing here so what are we referring to?
> >
> >
>
> I don't personally find "define" confusing, by I see François' point.
> Sylvain, isn't there any other prefix that we could hang this on that
> doesn't have this potential to confuse?  user-*,  custom-*,  meta-*,
> map-* ?
>
>
Received on Thursday, 31 May 2012 20:28:13 GMT

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