Skip to content

Commit

Permalink
Fix disabled background color
Browse files Browse the repository at this point in the history
- this wasn't migrated correctly 20 months ago, `0.05` = `2%`
  • Loading branch information
cee-chen committed May 17, 2024
1 parent a4d7638 commit f7b6719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eui/src/components/form/form.styles.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('euiFormVariables', () => {
Object {
"animationTiming": "150ms ease-in",
"backgroundColor": "#f9fbfd",
"backgroundDisabledColor": "#eceff5",
"backgroundDisabledColor": "#eef1f7",
"backgroundReadOnlyColor": "#FFF",
"borderColor": "rgba(211,218,230,0.9)",
"borderDisabledColor": "rgba(211,218,230,0.9)",
Expand Down
2 changes: 1 addition & 1 deletion packages/eui/src/components/form/form.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const euiFormVariables = (euiThemeContext: UseEuiTheme) => {

const colors = {
backgroundColor: backgroundColor,
backgroundDisabledColor: darken(euiTheme.colors.lightestShade, 0.1),
backgroundDisabledColor: darken(euiTheme.colors.lightestShade, 0.05),
backgroundReadOnlyColor: euiTheme.colors.emptyShade,
borderColor: transparentize(euiTheme.border.color, 0.9),
borderDisabledColor: transparentize(euiTheme.border.color, 0.9),
Expand Down

0 comments on commit f7b6719

Please sign in to comment.