- From: Matt <matt@hogwarts-library.net>
- Date: Mon, 16 Jun 2003 22:02:51 +0100
- To: <www-style@w3.org>
[Reply interposted]
Brant Langer Gurganus wrote:
> While it is probably too late for CSS3 Color Module consideration, I
> believe that author-definable color aliases would be useful. CSS can
> define the RGB values of common colors (red, green, blue, etc.) and
> then authors can define aliases to their commonly used RGB values.
<examples squashed onto one line>
> Example of CSS-defined color (normatively included in specification):
> @color-definition { name: white; color: #FFFFFF }
>
> Example of Author-defined color:
> @color-definition { name: almostBlack; color: #010101 }
>
> Example Usage:
> body { color: almostBlack; background-color: white }
But
body { color: white ; background-color: almostBlack}
wouldn't degrade in a non-suporting browser.
> The advantages of such an addition to CSS would be more consistend
> color themes because there would be fewer chances for typos.
Sorry, but typing errors is not a reason for an addition to a W3
specification!
(Most good text editors can be configured to recognise all (e.g.) accepted
properties and values in CSS anyway)
--
Matt
Received on Monday, 16 June 2003 17:02:51 UTC