This PR updates the upgrade codemod to also restore the border color on form elements, since the current * selector doesn't catch these elements since it has a lower specificity (0,0,0) than the form element styles in preflight (0,0,1).
I considered putting this in the form reset CSS instead, but it's possible that someone might be okay with removing that reset from their project but still needs to the border color reset—basically if they're using the border class on all their buttons and form controls, and relying on the default border color in certain situations.
This PR updates the upgrade codemod to also restore the border color on form elements, since the current
*
selector doesn't catch these elements since it has a lower specificity (0,0,0
) than the form element styles in preflight (0,0,1
).I considered putting this in the form reset CSS instead, but it's possible that someone might be okay with removing that reset from their project but still needs to the border color reset—basically if they're using the
border
class on all their buttons and form controls, and relying on the default border color in certain situations.