fix(netlify-cms-ui-default): use grayDark for button (#6069)

* fix(netlify-cms-ui-default): use grayDark for button

This PR is a fix for
https://github.com/netlify/netlify-cms/issues/1333#issuecomment-998115794
because it changes the background color used by `button` to `grayDark`
so that it is accessible.

* chore: update AuthenticationPage test snapshot
This commit is contained in:
Joe Previte 2021-12-21 02:54:34 -07:00 committed by GitHub
parent 0e9732ac55
commit ad85514cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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;
@ -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;

View File

@ -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,