[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) -- MattReceived on Monday, 16 June 2003 17:02:51 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:21 GMT