Closed micahchiang closed 1 month ago
Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @nickjg231 @powellkerry @rmessina1010 @rsmithadhoc
Here is the ESLint rule that was written to map the Formation utility names to the new utility names that might be helpful: https://github.com/department-of-veterans-affairs/veteran-facing-services-tools/issues/900
Description
In order to prevent disruption in the switch from Formation to css-library, we need to maintain the existing utility naming convention. This can be done at the same time as #2538, but won't really be testable until that ticket is finished.
Considerations
vads-u-
, followed by the css property, and then suffixed with--<unit-value
for example border top isvads-u-border-top--1px
.This currently outputs a list of classes that looks like this:
vads-border-top-1px
base
property withvads-u-border
should get us the prefix.-
prefix might get us what we need for our existing suffix convention. Experimentation may be requiredvads-u-border-top--2p5px
utility class, then the same should be generated in css libraryTasks
Acceptance Criteria