OSD symbols

Ted Gould ted at gould.cx
Wed Dec 2 14:33:15 PST 2009


On Wed, 2009-12-02 at 11:48 -0500, Matthias Clasen wrote:
> On Wed, 2009-12-02 at 09:05 -0600, Ted Gould wrote:
> > > I don't think anything replacing individual colors is going to work very
> > > well in general. I was thinking you'd probably have to do something the
> > > color rotation in the gimp: convert to hls, rotate to map hue in icon to
> > > hue of theme color, then convert back. That would let you have 'red' as
> > > alert color in your icon and e.g. purple in the theme, and let you map
> > > all shades of red in the icon to shades of purple.
> > 
> > I strongly believe that we shouldn't do any automatic choosing of color,
> > and just allow the theme to set symbolic color names that are passed
> > into the SVG as named colors.  So a theme could set a "warning_color"
> > and adjust that based on what colors work.  Computers suck at choosing
> > colors and there becomes a11y issues as well.
> 
> I didn't talk about automatic choosing of colors, I was talking about
> the fact that being restricted to a single shade of red is not optimal,
> even in a mostly-monochromatic icon. 

Oh, sorry, I thought you were talking about generating a set of colors.

WRT icons wanting to use shades of particular colors or other things for
highlights, that can be achieved using SVG filters.  I don't believe
that rsvg supports the color map filter today, but fixing that would
probably be better than fixing it on icon theme side of things.  This
should give artists full control of what colors or shades of colors
they're using.  In some cases, this could look bad, but that's what bug
trackers are for ;)

		--Ted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20091202/ed6e9f98/attachment.pgp 


More information about the xdg mailing list