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

Add inverse button styles #3556

Merged
merged 2 commits into from
Apr 27, 2023
Merged

Add inverse button styles #3556

merged 2 commits into from
Apr 27, 2023

Conversation

querkmachine
Copy link
Member

Ports the inverse button styles from the GaaP product page repository into Frontend.

I haven't added any additional automated or accessibility tests (not that other stylistic variants have them), but these styles have existed in the wild for a long time already—one would hope that any major issues with the styles had already been identified.

Closes #2267.

Port the inverse button styles from the GaaP product page repository into Frontend
@querkmachine querkmachine requested a review from a team April 26, 2023 15:47
@querkmachine querkmachine self-assigned this Apr 26, 2023
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3556 April 26, 2023 15:47 Inactive
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-pr-3556 April 26, 2023 15:58 Inactive
@querkmachine querkmachine marked this pull request as ready for review April 26, 2023 16:13
Copy link
Contributor

@owenatgov owenatgov left a comment

Choose a reason for hiding this comment

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

Once comment that's up for debate. Everything else looking sharp.

src/govuk/components/button/button.yaml Show resolved Hide resolved
@paulrobertlloyd
Copy link
Contributor

Will there be guidance for this component in the design system, or is this a hidden feature for now?

@querkmachine
Copy link
Member Author

@paulrobertlloyd I don't see why not! We have documentation for the other button alternatives and the inverse link style, I don't see why this would be different.

peteryates added a commit to x-govuk/govuk-form-builder that referenced this pull request May 23, 2023
Inverse buttons were added to govuk-frontend in PR #3556[0]

[0] alphagov/govuk-frontend#3556
peteryates added a commit to x-govuk/govuk-components that referenced this pull request May 28, 2023
Inverse buttons were added to govuk-frontend in PR #3556

alphagov/govuk-frontend#3556
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.

Add inverse button modifier
5 participants