Skip to content
New issue

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

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

Already on GitHub? # to your account

[#1771] DefaultButton a11y styling fixes #1927

Merged
merged 2 commits into from
Oct 15, 2019
Merged

[#1771] DefaultButton a11y styling fixes #1927

merged 2 commits into from
Oct 15, 2019

Conversation

corinagum
Copy link
Contributor

@corinagum corinagum commented Oct 14, 2019

#1771

This PR fixes the styling for the <DefaultButton> (Cancel button on dialogs) component, which previously was not high enough contrast. I got these specs from @DesignPolice, which are borrowing a bit from v.next design (Fluent) for styling / simplicity of implementation. Using colors available in neutral.css was complicated and started a chain reaction in color-swaps, so this is the simple alternative we went with.

Please see below for a gif overview of what the default button now looks like in all three themes. No testing added.

defaultButton

@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.897% when pulling 0a0716e on corinagum/1771 into 8aa6bd4 on master.

@cwhitten cwhitten merged commit d5a714a into master Oct 15, 2019
@tonyanziano tonyanziano deleted the corinagum/1771 branch October 22, 2019 18:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants