You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently manually setting icons all over the place. That makes it hard to keep track of what icons exist, and also hard to switch them out when we want to do things like change the theme.
We should instead register all our icons with custom stock names, and then refer to them using these stock names from inside the XML definitions. This will allow automatic transition between variants for dark and light, for example.
We might also investigate how to manage icons from inside of CSS, in order to make it possible for end users to customize CSS and icons.
Some things to look at for this might be the icon-name propery and new_from_icon_name for setting images. GtkIconFactory and IconTheme are also possible places of investigation.
The text was updated successfully, but these errors were encountered:
We are currently manually setting icons all over the place. That makes it hard to keep track of what icons exist, and also hard to switch them out when we want to do things like change the theme.
We should instead register all our icons with custom stock names, and then refer to them using these stock names from inside the XML definitions. This will allow automatic transition between variants for dark and light, for example.
We might also investigate how to manage icons from inside of CSS, in order to make it possible for end users to customize CSS and icons.
Some things to look at for this might be the
icon-name
propery andnew_from_icon_name
for setting images.GtkIconFactory
andIconTheme
are also possible places of investigation.The text was updated successfully, but these errors were encountered: