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

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 UTC