Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

[#1771] DefaultButton a11y styling fixes#1927

Merged
cwhitten merged 2 commits into
masterfrom
corinagum/1771
Oct 15, 2019
Merged

[#1771] DefaultButton a11y styling fixes#1927
cwhitten merged 2 commits into
masterfrom
corinagum/1771

Conversation

@corinagum
Copy link
Copy Markdown
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
Copy Markdown

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants