Skip to content

Commit

Permalink
fix(netlify-cms-ui-default): use grayDark for button (#6069)
Browse files Browse the repository at this point in the history
* fix(netlify-cms-ui-default): use grayDark for button

This PR is a fix for
#1333 (comment)
because it changes the background color used by `button` to `grayDark`
so that it is accessible.

* chore: update AuthenticationPage test snapshot
  • Loading branch information
jsjoeio authored Dec 21, 2021
1 parent 0e9732a commit ad85514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
padding: 0 15px;
background-color: #798291;
color: #fff;
background-color: #798291;
background-color: #313d3e;
color: #fff;
padding: 0 12px;
margin-top: -40px;
Expand Down Expand Up @@ -232,7 +232,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
padding: 0 15px;
background-color: #798291;
color: #fff;
background-color: #798291;
background-color: #313d3e;
color: #fff;
padding: 0 12px;
margin-top: -40px;
Expand Down
2 changes: 1 addition & 1 deletion packages/netlify-cms-ui-default/src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const colors = {
active: colorsRaw.blue,
activeBackground: colorsRaw.blueLight,
inactive: colorsRaw.gray,
button: colorsRaw.gray,
button: colorsRaw.grayDark,
buttonText: colorsRaw.white,
inputBackground: colorsRaw.white,
infoText: colorsRaw.blue,
Expand Down

0 comments on commit ad85514

Please sign in to comment.