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:
parent
0e9732ac55
commit
ad85514cba
@ -140,7 +140,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
|
|||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
background-color: #798291;
|
background-color: #798291;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #798291;
|
background-color: #313d3e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
margin-top: -40px;
|
margin-top: -40px;
|
||||||
@ -232,7 +232,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
|
|||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
background-color: #798291;
|
background-color: #798291;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #798291;
|
background-color: #313d3e;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
margin-top: -40px;
|
margin-top: -40px;
|
||||||
|
@ -64,7 +64,7 @@ const colors = {
|
|||||||
active: colorsRaw.blue,
|
active: colorsRaw.blue,
|
||||||
activeBackground: colorsRaw.blueLight,
|
activeBackground: colorsRaw.blueLight,
|
||||||
inactive: colorsRaw.gray,
|
inactive: colorsRaw.gray,
|
||||||
button: colorsRaw.gray,
|
button: colorsRaw.grayDark,
|
||||||
buttonText: colorsRaw.white,
|
buttonText: colorsRaw.white,
|
||||||
inputBackground: colorsRaw.white,
|
inputBackground: colorsRaw.white,
|
||||||
infoText: colorsRaw.blue,
|
infoText: colorsRaw.blue,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user