Closed narin closed 4 months ago
A few general PR comments/questions:
Edit, knew I was forgetting one but couldn't remember until posting:
A few general PR comments/questions:
Was no testing done to validate the typing changes work as intended? Or was it done locally via the workspace?
- Tested locally via the workspace (added notes above)
For the AC: "Can the above be automated in GitHub Actions?" would that effectively be covered if/when we add dependabot if it was against the VADS css-library? Or was that just meaning the already existing build jobs for publishing/Figma?
- No additional GHA scripting/jobs needed as we're adding css-library via package.json and build commands remain the same
Did this resolve the other ticket in the sprint that you thought it would? If so, link that ticket to the PR also
- Yup! Added a note above and a comment on the #119. I can only connect 1 ticket to ZenHub but added a link in the description
Ticket #7425 and #119
Description of Change
css-library
'svariables.json
rather than our own copy of the color tokensbase.json
withuswds.json
which contains USWDS colors missing from VADS.css-library
that requests the addition of these missing colors, however VADS has a policy that any USWDS colors added also needs semantic names. See Slack thread. There is an outstanding ticket to create these semantic names, however we won't be getting to them in the immediate future as per @jessicawoodin. For now, we'll add them manually intouswds.json
to unblock this work.build.js
to clean up some token names, filter out colors, and handle the token exports explained more belowColors
variable. This will allow us toimport { Colors } from '@department-of-veterans-affairs/mobile-tokens'
and reference them usingColors.BlueVivid60
instead of the previously more verboseDesignTokens.colorUswdsSystemColorBlueVivid60
.Testing Packages
Screenshots/Video
N/A
Testing
PR Checklist
Code reviewer validation:
changelog
label applied if it's to be included in the changelogPublish
If changes warrant a new version per the versioning guidelines and the PR is approved and ready to merge:
main
into branchmain