W3C home > Mailing lists > Public > www-style@w3.org > October 2006

Re: CSS color palettes

From: Pascal Germroth <pascal@germroth.name>
Date: Tue, 31 Oct 2006 01:46:36 +0100
Message-ID: <45469CEC.7090303@germroth.name>
CC: www-style@w3.org

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

Hello All,

>> You basically declare everything that shares a foreground color and
>> everything that shares a background color and make a rule for each
>> grouping that shares a color. It's not as elegant as a palette, but it
>> works with the current system mostly.
>
> [...] I'm proposing this because I think it will be more
> efficient, simple and elegant. With all the implementations of the CSS
> standards in the different browsers, CSS files are full of "hacks", it
> has became a tour-de-force for designers. I'd like to see a simpler way
> to create web pages.

In my opinion, CSS has to become more "user-friendly" generally. Unlike
HTML maybe, CSS is still mainly written by humans (and I think it will
stay like that unless there is a revolution somewhere near Adobe) but it
does not provide the "usability" of other languages. For example, if one
could use Macros, Functions, Variables and Scripting in CSS (without a
server-side Preprocessor and proprietary extensions) the code could
become much smaller, and the color-palette-problem, along with several
others would be solved.

And XPath for selectors would be nice, too (yes, I know, the grammar
does not allow this. But maybe as a function like `*
h1:xpath("[count(span)>2]")`?).
Instead of extending CSS-Selectors to meet XPath, one could instead
extend XPath to meet CSS-Selectors which would be easier, IMO. But
that's off-topic and I think it has been on-topic quite a while ago...


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

iQEVAwUBRUac7IplHwrShYbrAQLcBwf/UoyQm6rGHLMzjrQNXB4n/ler7amQYYQU
iIIKA4tLM6++5BRAIetwdVaIaqmEr0bJsVyv8+OBACTjjeBVkc0mndQ+zUztF1wz
WDJhUODoVEdpAndOmtwFP/7NayCeqg152eBFY1qoHqy7LzCKc93a8YPwex3TjXBn
GWQh6DvKEsa8S048Vq/Xm1Y0+hUsxs3LIg+arFoVvmRySRpknpAUrTxEPeVsQ/yo
bGaHpqQSdndz3+v4zUKPWoyFMcdhhGwBe9rjDxTt3Oq3s3DWLYnS26e0g1a57VV6
LKamN2ZwHems78sL9P5JjyaHKbLWDm8DkF7I+WIYftQhcYvojeSYkA==
=pLwr
-----END PGP SIGNATURE-----
Received on Tuesday, 31 October 2006 13:34:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT