W3C home > Mailing lists > Public > www-style@w3.org > April 2013

[css-variables][naming] Renaming 'var'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 13 Apr 2013 15:38:55 -0700
Message-ID: <5169DE7F.5080701@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
So, at Rename the Web Forward [1], Sylvain and I concluded that it
just might be better to use 'set-' as the prefix and 'get()' as the
function name instead of 'var-' and 'var()'.

p {
   set-φοο: green;
   background: get(φοο);
}

This takes us closer to "custom properties" than "variables",
(and has the added bonus of not being an abbreviation!)

Thoughts?

~fantasai

[1] https://twitter.com/sgalineau/status/322870478790344704
Received on Saturday, 13 April 2013 22:39:26 UTC

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