-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Rework theming logic to invert header icon color #4776
Comments
@justin-sleep Makes sense, but we should make sure that there isn't an issue with another color with this new threshold. |
@juliushaertl could you have a look again. Seems like Notifications icon is black because it uses the value. This worked in 11, now broken on 12 |
Fixed in #6344 |
Good proposal @justin-sleep! More design feedback and contributions are appreciated :) |
The current method of determining whether or not to invert the color for header icons (after 68a63ad) is insufficient. Currently, it allows darker icons on a fairly dark background, e.g. my current theme color:
One possible solution would be to raise the lightness threshold for inverting the colors. This is what it looks like after I raised the threshold past 55 (my background color's lightness):
As what looks 'better' may vary from person to person, another possible solution to this would be to simply allow the user a button in the theming interface to toggle dark/light header icons.
Steps to reproduce
Expected behaviour
The header icon colors should not be dark.
Actual behaviour
The header icon colors invert to their dark variants.
The text was updated successfully, but these errors were encountered: