-
Notifications
You must be signed in to change notification settings - Fork 11
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
Pixel polishing #240
Comments
When I increased the font size of checkboxes I noticed that the grid/reference height panel becomes wide enough to occlude grid labels. @arouinfar what should we do? EDIT: I thought about shifting the labels to the other side of the vertical line but then they would be occluded by the energy legend. |
Can we move the |
Good idea! Done. |
This list of changes is done @arouinfar. Reassigning to you to review. |
Thanks @jessegreenberg! The sim is definitely looking cleaner, but I found a few more pixels to polish.
EDIT: Energy Graph AccordionBox polishes moved to #262. |
Hmm, it turns out that griddle forces these labels to match the bar color so Ill need to make changes there to do this. |
I would be fine making the labels black across all energy graphs. I suspect that the colors do not have sufficient contrast against light gray or white backgrounds to pass at the WCAG AAA level. https://webaim.org/resources/contrastchecker/ |
Oh I see - in that case other sims that use BarChartNode are masses-and-springs and pendulum-lab. I would change default behavior in griddle to have black label text, but you could optionally pass in a different color. @arouinfar can you please confirm that you are OK changing labels to black in all three sims? EDIT: Or if you would like to leave colors as they are for one sim. |
Questions in #240 (comment) will be moved to phetsims/griddle#49. The labels are now black. @arouinfar re-assigning to you to review. |
@jessegreenberg the updated labelColor looks good in master. I've also commented in phetsims/griddle#49. |
I just realized that all items in #240 (comment) were checked off, so I reviewed those in master. I don't think there's any remaining work for this issue, so I'll go ahead and close. |
OK, text sizes were increased. @arouinfar can you review again? |
Thanks @jessegreenberg! I think the data will be much more readable when the sim is being projected in a classroom. |
@jessegreenberg here are the recommended pixel polishes. Where applicable, the changes would also affect ESPB.
#ababab
) to main control panel, toolbox, Energy AccordionBox (Graphs screen), grid panel. (All gray panels should have this stroke.)The text was updated successfully, but these errors were encountered: