Re: [css3-background] Default shadow color

On Mar 3, 2011, at 7:26 PM, Estelle Weyl wrote:

> My oft used use case for text shadow is:
> 
> text-shadow: 0 0 1px currentColor;
> 
> reason: graphic designers like to use helvetica thin, which is illegible. a tiny shadow makes the text legible.
> 
> So, while developers can decide "I want all my drop shadows to be rgba(0,0,0,0.3) (I find 0.5 way too dark), it would be much more complex to always define the current color of the text, which could be forever changing. Grey is easy to determine. What color your text is throughout a site is much more difficult to determine.
> 
> 
> I would prefer to see text shadow remain current color.

This is presumably for a user style sheet, right?

It is clearly a hack though. If there is a need for a property for thickening up the strokes of text glyphs, then we should have that property. Something like 'font-smooth: strong' perhaps.

Received on Friday, 4 March 2011 03:46:51 UTC