GNOME Bugzilla – Bug 759384
Generate the symbolic icon set for dark themes
Last modified: 2015-12-20 17:59:52 UTC
Created attachment 317246 [details] [review] Icon set generation for dark themes. So if I gathered well, GTK+3 will be able to invert monochrome icons directly for dark themes, but there is no way to do this automatically in GTK+2 (Bug 759105, comment 68). So for 2.10, let's just generate the icon set usable for dark themes from the committed icon set for light theme. The attached patch does this. It uses gegl from command line with "gegl:invert-linear" operation to invert the colors and create another set of icons at build time, making sure the dark theme will be the complete equivalent of the light theme. I called the generated icon set "Symbolic-dark" because it is made to work over dark themes, but since the icons are actually "whiter" than the Symbolic one, I find it confusing. Somehow it should be called "Symbolic-light", but the Symbolic-light *icon set* would go with the Symbolic-dark *theme* (and vice-versa), which is also confusing. Any better idea how to call the light icon set made to work with dark themes?
commit 94aec7cb6c91165c29eeb72b48b3e1b885b0407b Author: Jehan <jehan@girinstud.io> Date: Sat Dec 12 13:25:21 2015 +0100 icons: generate "negative" color symbolic icons. The negative icons are generated from the Symbolic icon theme with the GEGL operation 'gegl:invert-linear'.