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

CE-294 Fix(7137) Make the love and favorite icons colorblind friendly #7264

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

edelfino11
Copy link
Contributor

Resolves:

This fix solves issue 7137, simply changed the love and favorite svgs to the colorblind friendly svg on the stats.scss

Passing all tests:
Screen Shot 2022-12-01 at 12 41 28 PM

Copy link

@DNin01 DNin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the activated love button was changed to an outlined favorite icon. You can see that the second part you changed is under .project-loves.loved { which refers to the love icon when you loved a project, so that should stay what it was before. background-image: url("/svgs/favorite/favorite_type-gray.svg"); should be below .project-favorites { instead of .project-loves.loved {.

Minor detail, these outlined icons are shaped slightly differently than the filled-in icons:

It might look more consistent if instead of changing what image is used, you modified the grayed-out icons (love-gray.svg and fav-gray.svg) to have an outline using an SVG editor.

@edelfino11
Copy link
Contributor Author

Oh, I did not realize the subtle difference! I completely changed the SVGs and fixed the small mistake I had before, sorry about that.

Copy link

@DNin01 DNin01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@benjiwheeler benjiwheeler changed the title Fix(7137) Make the love and favorite icons colorblind friendly CE-294 Fix(7137) Make the love and favorite icons colorblind friendly Dec 16, 2022
@benjiwheeler
Copy link
Contributor

@edelfino11, this change looked great! Our design team took a look and made some tiny tweaks, and made the outline gray a little darker (and changed the remix and views icons too). Thanks for collaborating on this with us!

@benjiwheeler benjiwheeler merged commit 6657232 into scratchfoundation:develop Jan 31, 2023
@DNin01
Copy link

DNin01 commented Jan 31, 2023

@edelfino11, this change looked great! Our design team took a look and made some tiny tweaks, and made the outline gray a little darker (and changed the remix and views icons too). Thanks for collaborating on this with us!

👏 Awesome!

@Racecar-Roaster
Copy link

This is really cool and a nice feature! But I think it could be better if you make it just the thick outline so it's more colorblind friendly!

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

Successfully merging this pull request may close these issues.

None yet

4 participants