Open narin opened 9 months ago
@dumathane This ticket replaces #8476 which you asked for some guidance on. Instead of replacing the hex codes directly in va-mobile-app's VAColors.ts, we recommend adding the mobile-tokens package as a dependency and referencing the colors we have there (instructions in the README). That way, if VADS updates their colors in the future, you can just update to the latest version of mobile-tokens instead of having to worry about hex codes down the line.
I updated the estimate to a 5 because there are a lot of unused colors in the app that need to be parsed through and removed. I figured since we're updating most of the app colors to use the component library tokens, we might as well clean up the colorsSchemes
file.
OK had a very helpful meeting, here are some notes:
Wrote #9302 for the active state colors for HSP components.
We should still be OK to move forward with this changes, even without the alert component stuff (#8467 and #8468). Right now it looks like the current build is using either light or lightest yellow, and it should actually be using YellowVivid20/#face00, for the sidebar of the yellow alert. (Design system color reference)
Will send this back for changes, once the list of additional mappings/fixes is ready.
@jessicawoodin do you need anything from me (like a build...?) to be able to add the color mapping info to this ticket?
I pulled the color changes into the original spreadsheet and have several questions. I filtered this tab to only show the questions in column G. I think the darkmodeGrayWarmDark change will resolve at least one of the issues that @TKDickson found so far. Let me know if you have any other questions for me!
@jessicawoodin To answer your questions from the spreadsheet:
primaryTextColor
is currently not used in our dark mode theme, so it doesn't look like we need a dark mode color for that
I do think the pickerControls
color should be uswdsSystemColorGray80
instead, here are the comparisons: Before/after: Screenshot
It looks like the menu
color should be uswdsSystemColorGray80
instead also, here are the comparisons:
Before/after: Screenshot
veteranStatusHome
, linkRow
, and announcementBanner
should all definitely be uswdsSystemColorGray80
IMO. These are all rendered on the home screen and here's the before/after:
Before/after: Screenshot
The nav
color isn't used in the app in either light or dark mode
After looking into the snackbar code, the snackBarText
color isn't used in the app at all despite being in our color file. There's another color called snackBarTxt
that's actually used for the snackbar text. The light mode color is vadsColorBaseLighter
and the dark mode color is vadsColorBaseDarker
which seems correct:
Light/dark: Screenshot
snackBarText
since it's not used, and rename snackBarTxt
to just snackBar
in the app code for consistency.
statusDescription
is also no longer used in the app for either light or dark mode
closePanel
is also no longer used in either light or dark mode
buttonPrimary
and buttonSecondaryDisabled
are used in the Pagination component for the buttons that navigate forward/back: Screenshot
That all makes sense to me! The gray80 looks much better than gray60.
Awesome, thanks for confirming! Sending this back to QA
Much improved! There are a few places that should be greyer rather than blacker in dark mode (not a designer, can you tell?) - the inbox list rows, the prescriptions cards, the message boxes in message details, the disability rating rows, the box in contact VA (and those are the locations I specifically looked at, but the general idea is "all rows, boxes and cards like this in dark mode")
What they look like right now:
My best guess is that they're currently grey90, but are supposed to be grey80 (based on the before and after comparisons in Brea's sandbox). Screenshots from sandbox:
Seems like folks are generally on board with my suggestion to do visual QA only (instead of our typical "QA Eng take a look, then UX team does visual QA") on this ticket.
Still TBD who from the UX team would be doing that work, so I'm moving this ticket to blocked for now.
Reassigned QA to @rbontrager (part of QA rotation).
A note that the blocker on this is still, afaik, "finding and assigning a UX person to do the VQA (which is the bulk of the testing work on this ticket)". After which point QA can do an extremely quick functional pass if needed, at the discretion of the QA assigned. Every UX person I've talked to about this agreed that plan made sense, and explained to me why they personally were not the right person to do the VQA :). I have no horse in that race, so keeping the UX blocker on.
@ajsarkar28 @drjecker FYI
I spoke with @jessicawoodin about this work today - based on that conversation, figuring out how to even go about doing this VQA feels like it's going to require some time to think through/plan, and needs its own ticket (it's not straightforward at all). I'm going to spin up a stub ticket based on what I understand so far.
Description
On December 4, VADS updated their primary colors to align with USWDS. They updated most of the hex codes and removed primary dark.
On January 8, VADS updated their remaining colors to align with USWDS. They updated most of the hex codes and removed 5 additional colors (orange, coolBlue, coolBlueLight, coolBlueLighter, and coolBlueLightest.
The mobile app design system team created a spreadsheet for these updates.
Acceptance Criteria
In the va-mobile-app repo: