Re: Symbolic Icons / SVG Icons that get recoloured

Marco Martin <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <7324220.Lop63sVisO@phobos>
On Mon, Mar 4, 2019 at 5:28 PM David Edmundson <[email protected]> wrote:
> Gnome has: FG, Success, Warning, Error   colour properties
> KDE has: Text, PositiveText, NeutralText, NegativeText colour properties
>
> The exact same idea, but one is semantic, the other explicitly mapping
> the palette names.
>
> There are a few other subtle differences:
>
> * We don't change elements in the SVG unless they set a class. GTK
> mods most elements to the foreground colour.
> * KDE injects the CSS for all SVG icons, not just those ending in -symbolic
> * KDE also has two other CSS colour classes "Background, Highlight"

I really hope something standardized can be done..
on the surface, i like that GTK has very semantic names, like
success,warning and error.
Tough one concern is that since injects the "fg" style everywhere,
it's really possible to tint only the -symbolic names (designers often
change their mind where and under what circumstances monochrome icons
should be, it's all depending to design trends that may be valid today
and not tomorrow)
having to set a class for every shape that has to be colored requires
more work for the designer, tough in the end the result is more
controllable.

--
Marco Martin



_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.