Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove .usa-button focus background color override #909

Merged
merged 6 commits into from
Mar 8, 2023

Conversation

jamigibbs
Copy link
Contributor

@jamigibbs jamigibbs commented Mar 3, 2023

Description

This update will remove a custom override to .usa-button that was applying a focus background color that does not conform with the design system button states. The focus color should be --color-primary-darker (#003e73); the same as va-button.

Related issue: department-of-veterans-affairs/vets-design-system-documentation#1585
Related PR: department-of-veterans-affairs/component-library#642

Testing done

Locally

Screenshots

Screenshot 2023-03-03 at 3 52 09 PM

Acceptance criteria

  • [ ]

Definition of done

  • Changes have been tested in vets-website
  • Changes have been tested in IE11, if applicable
  • Documentation has been updated, if applicable
  • A link has been provided to the originating GitHub issue (or connected to it via ZenHub)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs

@jamigibbs jamigibbs marked this pull request as ready for review March 6, 2023 19:07
@jamigibbs jamigibbs requested a review from a team as a code owner March 6, 2023 19:07
@@ -7,6 +7,8 @@ button,
[type='submit'],
[type='reset'],
[type='image'] {
-webkit-font-smoothing: inherit;
-moz-osx-font-smoothing: inherit;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've update this to inherit because this seems to be what the USWDS v3 system uses for their no-knockout-font-smoothing mixin:

https://github.com/uswds/uswds/blob/1db0e68d7e5cf21ae52f2d8a29d5963c7aa1b681/packages/uswds-core/src/styles/mixins/general/add-knockout-font-smoothing.scss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants