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

Page: Add custom styling to secondary buttons #540

Closed
wants to merge 2 commits into from

Conversation

daniel-ac-martin
Copy link
Collaborator

The grey background causes accessibility issues when used with secondary
buttons. This overrides some of the styling to provide a black border
for the button.

This is an alternative implementation to #518.

closes: #515

The grey background causes accessibility issues when used with secondary
buttons. This oversides some of the styling to provide a black border
for the button.
@github-actions github-actions bot temporarily deployed to commit August 17, 2023 14:27 Inactive
@daniel-ac-martin
Copy link
Collaborator Author

@tomyems: Knocked this up to see if I could fix the small issues around:

  1. Button height (consistency with primary buttons)
  2. Consistency with focus + hover state

It also demonstrates the idea of demonstrating the styling within the Page component documentation.

We don't have to use it. If you like you could incorporate some of the code into your branch.

Take a look and see what you think.

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.

Create Home Office button component
1 participant