Skip to content

Commit ad85514

Browse files
authored
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 #1333 (comment) because it changes the background color used by `button` to `grayDark` so that it is accessible. * chore: update AuthenticationPage test snapshot
1 parent 0e9732a commit ad85514

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/netlify-cms-backend-git-gateway/src/__tests__/__snapshots__/AuthenticationPage.spec.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
140140
padding: 0 15px;
141141
background-color: #798291;
142142
color: #fff;
143-
background-color: #798291;
143+
background-color: #313d3e;
144144
color: #fff;
145145
padding: 0 12px;
146146
margin-top: -40px;
@@ -232,7 +232,7 @@ exports[`GitGatewayAuthenticationPage should render with no identity error 1`] =
232232
padding: 0 15px;
233233
background-color: #798291;
234234
color: #fff;
235-
background-color: #798291;
235+
background-color: #313d3e;
236236
color: #fff;
237237
padding: 0 12px;
238238
margin-top: -40px;

packages/netlify-cms-ui-default/src/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const colors = {
6464
active: colorsRaw.blue,
6565
activeBackground: colorsRaw.blueLight,
6666
inactive: colorsRaw.gray,
67-
button: colorsRaw.gray,
67+
button: colorsRaw.grayDark,
6868
buttonText: colorsRaw.white,
6969
inputBackground: colorsRaw.white,
7070
infoText: colorsRaw.blue,

0 commit comments

Comments
 (0)