OSD symbols

Luca elle.uca at libero.it
Wed Dec 9 16:53:25 PST 2009


Il giorno mer, 02/12/2009 alle 15.14 +0100, Jakub Steiner ha scritto:
> On Wed, Dec 2, 2009 at 3:00 PM, Patryk Zawadzki <patrys at pld-linux.org> wrote:
> > To do it properly you'll need a "glyph" drawing mode for icons.
> >
> > https://bugzilla.gnome.org/show_bug.cgi?id=591698
> 
> Perhaps that is indeed the way to go. I would have personally thought
> injecting a stylesheet "path { fill: #fff }" where the color would be
> taken from text[NORMAL] or somesuch would be more appropriate? This
> would enable us to color a specific part of the symbol differently
> (think about a last bar of battery-critical). Just have that part of
> the SVG labeled 'warning' and then do something like
> "path[inkscape:label='warning'] { fill: #f00 } where that would be
> mapped from gtkrc (either a new named color @warning or
> @selected_fg_color).
> 
> But perhaps treating the whole symbol as a single color is better. The
> contrast issues have been largely solved for text, so treating these
> as text would probably be best.
> 

Here[1] are some example of monochromatic icons (also note the star and
the triangle inside the url entry) using fg[ACTIVE], courtesy of Google
(Chrome).

Note the second example from top (dark gray): it has a different
rendering, maybe due to readability.

[1]
http://googleblog.blogspot.com/2009/12/google-chrome-for-holidays-mac-linux.html



More information about the xdg mailing list