Closed tamimym closed 9 years ago
Cool feature, thanks. :+1: Although, yumex-dnf should prefer font settings from the currently applied theme, so your gtk theme propably have to use readable fonts.
Merged, Thanks
These changes break font color on light themes. All black fonts (available packages) are now white which is unusable on a light Gtk3 theme. The check you added (check_dark_theme) is correctly detecting a light theme. Everything else (background color, green fonts for installed packages, fonts for package description, package update info, package file list, package requires list, …) is working fine though.
And I second @rapgro, using fonts from the theme should be preferred.
There was a bug, I have fixed it
https://github.com/timlau/yumex-dnf/commit/0313edf9a7b3d3c7bac23e0d9ef03ffd824de630
Agree, this is a work around and a better way is to get colors from the theme.
yumex-dnf has a feature so a theme author can supply a speciel .css file to configue the look and feel of yumex-dnf
(See #26 for details)
I created a function that checks if gtk is using a dark theme. In which case, I adjust the colors so that they become readable. Here's a screenshot of the finished work.