Re: CSS color palettes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

> While proposals for variables in CSS get rejected on a regular and
> frequent basis, this one made me wonder if there was a backward
> compatible way after all: overloading keywords.

But wouldn't it be "semantically bad" to, for example, overload "red"
with your favorite green? Variables (or constants, if you want) would
really be better, then...
But doesn't CSS already have variables, for the counters? Wouldn't it be
easy to do something likewise for "real" variables? Like:

@define menucolor { value: #f00; }
#menu { color: value-of(menucolor); }


- --
Pascal Germroth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRUfx7IplHwrShYbrAQLTmwf+LJ7YKTfTcjqu1hj3upPdG3Yzp9BbkXpR
//sZxoaYlk3c/x2DsfzyPPDAfT+iLXJFJFLIRbZKMP1gbAjrE3+bFlWXYjuRNjTh
zpdj4I6Lj7/n2Cevn8zlFa19KHLeU1Cxw3IBlo2vAY7yP3DTMkkIMEaOsCffBufx
Ni+KcRSk9Do9V6QhgfQcqxDg81d7v4z0g5rg8PWmCOmghW+7Yw0WrdrcoWGjqLZ8
jJCdKG8LD0BaAt+6JZj1XGioKi4sY1VhNu4BcDbPy86Hw9PEpUYfk7+9E9e/vgDz
DKgrU/KKrfcPM5WjsyyfKBVfzq6fDm+IABNw67KsuNO08lX0ykdGuw==
=WjTb
-----END PGP SIGNATURE-----

Received on Wednesday, 1 November 2006 01:01:53 UTC