On Mon, 2016-10-31 at 21:26 +0100, Tomaž Vajngerl wrote: > Hi, > > I made some changes to how we handle icons and load images: > > 1.) It is possible to load SVG images from icon theme > Loading of SVG images was already possible (the rendering is done > with drawing layer when and svg parsing with "svgio") if you refer to > an image with "svg" file extension (which we practically never do). > > Questions, ideas, comments, suggestions are welcome.
Loads of nice things here. One thought, while reading the gtk apis, is there any support for "symbolic" color names in all of this. GTK seems to have the idea of using svgs where there are some symbolic color names which are swapped with colors from the theme at load/render time. Where this seems useful to me for us, is that in our status bar at the bottom of writer there are some icons which are typically mostly gray in the non-dark themes but the intention seems basically that the icon foreground is the same as the text color. It could be nice to capture that with some "text-color" name in the svg and always have status bar icons drawn with the color as their label text. C. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice