department-of-veterans-affairs / va-mobile-app

"If VA were a company, it would have a flagship mobile app."
https://department-of-veterans-affairs.github.io/va-mobile-app/
16 stars 2 forks source link

Update app colors to align with VADS/USWDS #7573

Open narin opened 9 months ago

narin commented 9 months ago

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:

narin commented 4 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.

theodur commented 2 months ago

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.

TKDickson commented 2 months ago

OK had a very helpful meeting, here are some notes:

TKDickson commented 2 months ago

Wrote #9302 for the active state colors for HSP components.

TKDickson commented 2 months ago

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.

TKDickson commented 2 months ago

@jessicawoodin do you need anything from me (like a build...?) to be able to add the color mapping info to this ticket?

jessicawoodin commented 2 months ago

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!

theodur commented 2 months ago

@jessicawoodin To answer your questions from the spreadsheet:

jessicawoodin commented 2 months ago

That all makes sense to me! The gray80 looks much better than gray60.

theodur commented 2 months ago

Awesome, thanks for confirming! Sending this back to QA

TKDickson commented 1 month ago

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:

image.png image.png image.png image.png

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:

image.png image.png
TKDickson commented 1 month ago

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.

TKDickson commented 1 week ago

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

htcollier commented 4 days ago

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.