OSD symbols

Jakub Steiner jimmac at gmail.com
Wed Dec 2 06:14:19 PST 2009


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.

-- 
Jakub Steiner <jimmac at gmail.com>
http://jimmac.musichall.cz


More information about the xdg mailing list