Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Claws-Mail font color of selected items is incorrect with GTK-3.0 #4164

Open
mbenkmann opened this issue Nov 18, 2024 · 0 comments
Open

Claws-Mail font color of selected items is incorrect with GTK-3.0 #4164

mbenkmann opened this issue Nov 18, 2024 · 0 comments

Comments

@mbenkmann
Copy link

Claws-Mail has a custom Gtk widget called GtkSCTree which it uses in at least the folder and summary view. This custom widget does not implement any CSS classes. When using the GTK-3.0 version of Claws-Mail+Yaru, for some reason of the .gtkstyle-fallback:selected{} rules found here

background-color: $selected_bg_color;

only the background-color rule affects the selected entries in this custom widget. This causes a regression compared to the GTK-2.0 version of Claws-Mail+Yaru and makes the entries harder to read. The font color of a selected entry does not change to white as it should, but stays black and depending on the variant of Yaru being used this is more or less terrible to read. E.g. in the default version it results in black on red which is really painful.

The only way I found to fix this is to add a blanket catchall:

*:selected { color: $selected_fg_color; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant