Skip to content

Commit 02ef6b2

Browse files
authored
Update Button disabled color to grey50 according to guidelines (#1465)
1 parent 15ac224 commit 02ef6b2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/button/ButtonConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ export const MIN_WIDTH = {
2323
};
2424

2525
export const DEFAULT_SIZE = ButtonSize.large;
26-
export const DISABLED_COLOR = Colors.dark60;
26+
export const DISABLED_COLOR = Colors.grey50;

src/components/button/__tests__/__snapshots__/index.spec.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ exports[`Button backgroundColor should return theme disabled color if button is
217217
style={
218218
Object {
219219
"alignItems": "center",
220-
"backgroundColor": "#C2C7CB",
220+
"backgroundColor": "#D2D6D8",
221221
"borderRadius": 999,
222222
"flexDirection": "row",
223223
"justifyContent": "center",
@@ -1913,7 +1913,7 @@ exports[`Button icon should return icon style according to different variations
19131913
style={
19141914
Object {
19151915
"alignItems": "center",
1916-
"backgroundColor": "#C2C7CB",
1916+
"backgroundColor": "#D2D6D8",
19171917
"borderRadius": 999,
19181918
"flexDirection": "row",
19191919
"justifyContent": "center",
@@ -2770,7 +2770,7 @@ exports[`Button labelColor should return disabled text color according to theme
27702770
"lineHeight": 24,
27712771
},
27722772
Object {
2773-
"color": "#C2C7CB",
2773+
"color": "#D2D6D8",
27742774
},
27752775
Object {},
27762776
Object {},
@@ -3302,7 +3302,7 @@ exports[`Button outline should return disabled color for outline if button is di
33023302
"lineHeight": 24,
33033303
},
33043304
Object {
3305-
"color": "#C2C7CB",
3305+
"color": "#D2D6D8",
33063306
},
33073307
Object {},
33083308
Object {},

0 commit comments

Comments
 (0)