material-you-theme icon indicating copy to clipboard operation
material-you-theme copied to clipboard

Light theme is applied to dark-themed applications when the system theme is light

Open workonfire opened this issue 3 years ago • 2 comments

As the title says. I can see why this happens, but I'd like to use some apps with a dark theme while the system theme stays light.

Expected behavior:

System theme is light, while in apps where the theme should be dark, this extension should use the dark variant instead of the light one. For example, there's Tilix where I have the dark theme explicitly enabled. With my green wallpaper and global light theme enabled, it should look like this: image image

Current behavior:

image image

Also, the contrast in dropdown menus is a bit odd.

workonfire avatar Aug 04 '22 19:08 workonfire

the solution will be for the extension to generate both a dark and a light style sheets instead of a single one and setting it ts the theme , this will also fix the apps not switching dark and light themes till they are closed and reopened

allaeddineomc avatar Aug 09 '22 00:08 allaeddineomc

I looked into this issue and @allaeddineomc seems to be right, generating both dark and light style sheets would solve this issue for a lot of apps which have manual dark and light mode toggles including the new Gnome text editor, Gnome Console and others, @avanishsubbiah I also saw https://github.com/GradienceTeam/Gradience/issues/12 which might be relevant for this too.

sidevesh avatar Sep 04 '22 04:09 sidevesh