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 |
| toast-text-color: $lightest, | ||
| toolbar-button-background-color: $medium-light, | ||
| toolbar-button-color: $dark, | ||
|
|
There was a problem hiding this comment.
We've recently made changes to alphabetize all the css variables in file—would you be able to update your changes with the new sorting preference?
| mongoServer = await MongoMemoryServer.create({ | ||
| binary: { version: '7.0.0' } // or latest supported stable version | ||
| }); | ||
| await mongoose.disconnect(); // kill any previous connection |
There was a problem hiding this comment.
The changes in this file and apiKey.ts seem to be outside of the scope of the original issue, which focuses on updating the color contrast within the asset storage bar. Ideally, we want to make sure that pull requests stay within the purview of each issue to make tracking and reviewing changes easier.
Would you be able to remove the additions to these two files?
| // -------- MONGOOSE -------- | ||
| /** Full Api Key interface */ | ||
| export interface IApiKey extends VirtualId, MongooseTimestamps { | ||
| _id: Types.ObjectId; |
There was a problem hiding this comment.
Noted in comment for user.test.ts
|
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! |



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:
