After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583766 - Icons with variable color scheme
Icons with variable color scheme
Status: RESOLVED DUPLICATE of bug 616180
Product: adwaita-icon-theme
Classification: Core
Component: general
2.26.x
Other All
: Normal enhancement
: ---
Assigned To: Jakub Steiner
Jakub Steiner
Depends on:
Blocks:
 
 
Reported: 2009-05-25 03:32 UTC by bi2h5da02
Modified: 2010-04-22 14:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Star emblem with "highlight" color (4.47 KB, image/svg+xml)
2009-05-25 03:34 UTC, bi2h5da02
Details

Description bi2h5da02 2009-05-25 03:32:37 UTC
We should be able to choose a color in Appearances and have it used for everything, including the icons, wallpaper, splash, window decorations, etc.

So the basic idea of this is to use the power of SVG files to make the icons themable.  I'm imagining that there would be a "base color" in the SVG icons, which would then be rendered according to the Selected Items color specified in Appearance.  I've illustrated this with the Ubuntu Human theme here:

http://www.endolith.com/svgiconcolors/icontest.html

The lower set of icons have a few objects in them with style="fill: highlight;", which is defined in CSS2 to be the color of text selection highlights.  In Firefox, this color is grabbed from GTK and fed to the SVG renderer so that the icons match your color scheme.  If you open the files in Gnome, of course, it doesn't work.

I'm not saying specifically that it should use "highlight", but maybe something like "basecolor", or maybe they should use a "fallback color" that is normally defined, followed by a tag in comments that tells the renderer to substitute the theme color here, or some other such solution.

I don't know what you use to render SVGs, or if you sometimes use PNGs, or how often the icons are re-rendered, or anything else that might be required to implement this, but I'm posting it anyway. :)
Comment 1 bi2h5da02 2009-05-25 03:33:13 UTC
I meant to include a link to http://brainstorm.ubuntu.com/idea/9190/ at the beginning.
Comment 2 bi2h5da02 2009-05-25 03:34:04 UTC
Created attachment 135294 [details]
Star emblem with "highlight" color
Comment 3 Hylke Bons 2010-04-22 14:42:30 UTC
Some RedHat folks are working on this. Follow #616180

*** This bug has been marked as a duplicate of bug 616180 ***