-
-
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
weather_status: Improve contrast of favorite icon #38333
Conversation
@nimishavijay @jancborchardt I think we need to think here how to properly display the current state: enabled <-> disabled |
Yes, mainly we should decide whether we want to keep the yellow star or not, because we have the same problem on the files list (yellow star on white background => too low contrast). |
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.
StarOff looks strange, cause it looks as if a click on it would remove the star.
Instead we should use the "non-filled" star icon for the state when it's not a favorite, that is more common.
Regarding color, just dark is fine, or do we find maybe a dark yellow/gold that still looks like a star color? In dark mode it can/must of course be light yellow.
@jancborchardt yellow will not work on white background, but dark golden at least fulfills the AA criteria of 3:1 contrast. Do you think this looks better than the default color? |
7d0f782
to
6e524c6
Compare
@susnux yep, I would say that dark gold is good! It at least conveys a little bit of a star color, otherwise favorite gets lost in the sea of other functions. (Different issue, but we should probably also make sure that the "Delete" icon in all the action menus is colored accordingly – also something for the Penpot library @nimishavijay ) |
6e524c6
to
f533928
Compare
I had to adjust the color slightly to |
Conflicts |
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
f533928
to
b4ec3a3
Compare
Resolved |
Summary
Do not use a yellow icon but the default colored one and use the
StarOff
icon for removing a favorite instead of usingStarOutline
.This also adds a feature: The current selected favorite is highlighted by setting the icon color to the primary color.
screenshots
Checklist