department-of-veterans-affairs / vets-design-system-documentation

Repository for design.va.gov website
https://design.va.gov
37 stars 57 forks source link

Epic: CSS Library - Replace shared variables import in vets-website #3126

Open micahchiang opened 1 month ago

micahchiang commented 1 month ago

Description

vets-website currently imports shared variables from Formation. This is done at the sitewide level like in the link above, but also in almost all applications similar to this one.

Formation's shared-variables.scss file imports several stylesheets from formation/base, uswds v1, and formation-overrides/variables.

We need to replace the formation import with one from css-library. This epic encompasses the steps required to do so and is part of the plan to get css-library to a v1 release state

Considerations

micahchiang commented 1 month ago

Parking this draft PR here for now that removes shared-variables from vets-website - https://github.com/department-of-veterans-affairs/vets-website/pull/31184. It isn't mergeable for how many things it changes, but it could serve as a reference for how we approach things.

micahchiang commented 1 month ago

Leaving some more notes here: