-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix icon color in dark mode #7953
Conversation
I'm pretty sure we use Ikonli-icons not just in the preferences dialog. So i guess it would be better, to put that into the base.css? |
Btw, keeping the checkboxes in the PR description and checking them, if applicable, is mandatory! |
Why did you open a new PR instead of pushing your commit onto the old branch? |
@calixtus I've tried put it in base.css, but it also changes something else, which makes it weird. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A discription to the work i've done.
You only need to add it to Dark.css so that it only is applied when you select the Dark theme |
@Siedlerchr I know, but in the figures following: |
try the following to .glyph icon add -fx-icon-color: -jr-theme-text;
|
@Siedlerchr In this way, it works but still have problems. In the figure, you can see this icon is colored by the theme-color while it should be the text base color. |
If you look into IconTheme, you see that there is a method asButton which adds another css class and makes it an icon-button. Seems like you need to add an extra rule for that |
A new PR to #7917, fixes #7853
by adding this at the end of PreferencesDialog.css and it works. Here's comparison.
BEFORE
AFTER
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)