catppuccin / gtk

🪟 Soothing pastel theme for GTK3/4
GNU General Public License v3.0
907 stars 51 forks source link

Text color issues in some apps #12

Closed sidewinda closed 2 years ago

sidewinda commented 2 years ago

I just noticed some issues with the text colors in FieZilla and Thunderbird.

It's always on the text for an selected item. In FileZilla the folders have white text. When an folder is selected the row gets a lighter purple background but the text turns into black or the darkst purple color of the theme whicht is not readable.

On Thunderbirds it's almost the same issue. The selected mailbox folder in the left sidebar also gets this dark text and is not readable.

I switched back to the original theme from Manjaro to test it and there these problem don't exist.

Any solution for this?

lyntier commented 2 years ago

The GTK engine determines the theme to be a light theme. The application then uses their own light/dark colors to render the text. Similar issues occur in Pop!OS . image

Themes in /usr/share/themes are defined as such: image

Catppuccin is missing this -dark suffix. I renamed the themes in my .themes directory as follows: Catppuccin-{color} => Catppuccin-{color}-dark Catppuccin-{color}-hdpi => Catppuccin-{color}-dark-hdpi Catppuccin-{color}-xhdpi => Catppuccin-{color}-dark-xhdpi

The result: image

(light/dark theme should probably not be determined based on the name of the folder, and I thought there were themes that didn't do this... but this works, so I am happy.)

pedropalmav commented 2 years ago

The GTK engine determines the theme to be a light theme. The application then uses their own light/dark colors to render the text. Similar issues occur in Pop!OS . image

Themes in /usr/share/themes are defined as such: image

Catppuccin is missing this -dark suffix. I renamed the themes in my .themes directory as follows: Catppuccin-{color} => Catppuccin-{color}-dark Catppuccin-{color}-hdpi => Catppuccin-{color}-dark-hdpi Catppuccin-{color}-xhdpi => Catppuccin-{color}-dark-xhdpi

The result: image

(light/dark theme should probably not be determined based on the name of the folder, and I thought there were themes that didn't do this... but this works, so I am happy.)

I followed this steps in Pop! os 22.04 LTS and it worked partially. When i open the menu on the top bar i can't really see because the color of the selection is too bright. image

Moreover, now all the gnome shell asociated windows don't use the catppuccin color scheme. I tried to fix it by following this issue, but it didn´t work at all. This is the gnome tweak window for those who don't speak spanish. image

Does anyone know how to solve this?

eclairevoyant commented 2 years ago

I'm not a contributor atm, but I don't think this is an issue with the theme. You don't need to rename the folders either.

Instead, I'd recommend checking your GTK config files to ensure they're consistent. For example, this is my config for GTK3. This is located at ~/.config/gtk-3.0/settings.ini (I had to create the file). This seems to consistently produce a dark theme in the apps I used.

[Settings]
gtk-theme-name = Catppuccin-pink
gtk-application-prefer-dark-theme = true

GTK4 apps require different config, see https://wiki.archlinux.org/title/GTK#Dark_theme_variant

sadrach-cl commented 2 years ago

A new version will be released in a few days. I will close this ticket, since I only focus on the new version and I hope it will solve your problem. If not, please create a new support ticket.

Regards.