Closed PJ-Singh-001 closed 4 years ago
Let's start with which version you are using. In git, dark and light themes use the corresponding monochrome icons. Moreover, they have a parameter:
<defs>
<style id = "current-color-scheme" type = "text / css">
.ColorScheme-Text {color: #eeeeee; } .ColorScheme-Highlight {color: # 424242; }
</style>
</defs>
Allowing CSS level to change color independently, depending on the background
https://github.com/cbrnix/Newaita/blob/master/Newaita-dark/.places-aqua/16/folder.svg
https://github.com/cbrnix/Newaita/blob/master/Newaita/.places-aqua/16/folder.svg
Here is an example of monochrome icons in dark and light themes
After changing the theme from dark to light, you tried gtk-update-icon-cache?
If you use the AUR version, then I do not do it. It may be outdated at this time.
Thanks for looking @ this. I'll reinstall and check.
I downloaded and tested the latest release, and the issue I had reported is no longer present.
Thanks for your time once again. This is truly a beautiful and comprehensive icon theme. You responsiveness and talent are unmatched!!
SUMMARY
The 16px and 22px places icons use the same images for both the "light" and "dark" variants.
(This is only an issue for the smaller 16px and 22px size icons, because they are monochrome, whereas the larger icons using color images do not exhibit this issue).
As an example of how it should be, see the 16px and 22px actions icons which have both a "light" variant and a "dark" variant.
DETAILS
PROBLEM
(1)
/usr/share/icons/Newaita-dark/.places-*/16/
...uses the same Light variant icons as..../usr/share/icons/Newaita/.places-*/16/
(2)
/usr/share/icons/Newaita-dark/.places-*/22/
...uses the same Light variant icons as..../usr/share/icons/Newaita/.places-*/22/
SPECIFIC EXAMPLE
This applies to all the 16px and 22 px places icons, but here is one specific example...
/usr/share/icons/Newaita/.places-default/22/gtk-directory.svg
is a link to/usr/share/icons/Newaita/.places-default/22/folder.svg
/usr/share/icons/Newaita-dark/.places-default/22/gtk-directory.svg
is a link to/usr/share/icons/Newaita-dark/.places-default/22/folder.svg
However, both
.../Newaita/.places-default/22/folder.svg
and.../Newaita-dark/.places-default/22/folder.svg
contain light icons.EXAMPLE OF HOW IT SHOULD WORK
In contrast, the Newaita actions icons correctly have both light and dark variants...
(3)
/usr/share/icons/Newaita-dark/.actions-*/16/
...uses DIFFERENT icons from.../usr/share/icons/Newaita/.actions-*/16/
(4)
/usr/share/icons/Newaita-dark/.actions-*/22/
...uses DIFFERENT icons from.../usr/share/icons/Newaita/.actions-*/22/
SCREENSHOTS OF THE ISSUE
RECREATE THE ISSUE
Save the following file as
places_icons_example.glade
.Open this file in the Glade application. Then highlight "GtkWindow" in the left pane, and click the "Preview snapshot" icon at the bottom of the left pane.
Change your Gtk theme to a light theme (such as Yaru or Adwaita). Change your icon theme to Newaita. Everything looks OK.
Change your Gtk theme to a dark theme (such as Yaru-dark). Notice the icons are barely visible, since they are still using the (light) Newaita icon theme. This is expected.
Next, change your Icon theme to Newaita-dark. Notice the action icon (gtk-open) is correctly showing a dark variant and is visible against the dark background. Notice the places icon (gtk-directory) is STILL showing the LIGHT variant ad is NOT visible against the dark background. The expected behavior is for gtk-directory to be rendered using a different appropriate image for folder.svg.