Fix/storage bar contrast#3863
Conversation
|
Tagging @runningonsideprojects and @Izzy-Snyder for review whenever you have a moment! |
sorry it took so long to respond, will be reviewing later tonight! thank you for your patience @raclim @NishulDhakar |
|
Thanks for the feedback. @runningonsideprojects |
|
Thanks so much @NishulDhakar and @runningonsideprojects! I've added in a few more comments—please feel free to ask any questions or raise any thoughts about them! |
|
Just wanted to check in here if you're still interested in adding in the requested changes! |
|
Hey @raclim, I've addressed all the requested changes alphabetized the progress-bar CSS variables and removed the out-of-scope changes from user.test.ts and apiKey.ts. Please review when you get a chance |
|
Hey @runningonsideprojects Those deletions were unintentional, they happened due to a bad merge conflict resolution when syncing with develop. I've now restored the file to match develop exactly and re-applied only the intended progress-bar-* changes across all three themes. The latest commit 0626da3 should have a clean diff with no unrelated deletions. Sorry for the noise. |
|
@NishulDhakar just wanted to follow up and ask if you are still interested in working on this PR! |
|
Hey @runningonsideprojects, thanks for following up, |
Hey @NishulDhakar pls address all reviewer comments so we can move through w/ this PR please! |
fbf841f to
d81bd0f
Compare
|
Hey @raclim @runningonsideprojects , I've addressed all inline comments and resolved all conversations. The diff is now clean, only the intended progress-bar-* changes across all three themes. Ready for re-review whenever you get a chance! |
Hi, as mentioned before please respond to all reviewer comments. you are introducing a change that is not within the purview of the original issue and PR description which warrants explanation:
|
65fb43d to
e5fbff0
Compare
|
Hey @raclim @runningonsideprojects all reviewer comments have been addressed and resolved. The _functions.scss change was unintentional and has been removed. The PR now only contains the intended progress-bar-* contrast fixes across _variables.scss and _asset-size.scss. Ready for final review! |




Closes #3856
Summary
This PR improves the Storage Bar color contrast across all themes (Light, Dark, and Contrast) to meet WCAG 2.1 Level AA non-text contrast requirements (minimum 3:1 ratio).
Problem: The Storage Bar on the Assets page had insufficient contrast (~1.1:1) between the progress indicator (
$P5-pink) and its background ($gray), creating accessibility barriers for visually impaired users.Solution: Updated theme variables and styling to increase contrast between the progress bar and background, and added a visible border that contrasts with the page background.
Changes Made
Variable Updates (
variables.scss)Light Theme:
progress-bar-background-colorfrom$grayto$lightprogress-bar-border-colorset to$middle-grayDark Theme:
progress-bar-background-colorfrom$grayto$darkerprogress-bar-border-colorset to$middle-grayContrast Theme:
progress-bar-background-colorfrom$grayto$darkerprogress-bar-active-colorfrom$P5-pinkto$yellowprogress-bar-border-colorset to$middle-lightStyling Updates (
_asset-size.scss)progress-bar-border-colorborder-color: getThemifyVariable('progress-bar-border-color')within the@include themify()blockQA Steps
https://editor.p5js.org/{username}/assetsScreenshots
Before
Light Theme:

Dark Theme:

Contrast Theme:

After
Light Theme:

Dark Theme:

Contrast Theme:
