Skip to content

Commit b1768f0

Browse files
Adjust colors to meet color contrast requirements (#8483)
1 parent f5e4503 commit b1768f0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/young-mayflies-count.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris-tokens': patch
3+
---
4+
5+
Adjusted colors to meet color contrast requirements

polaris-tokens/src/colors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const gray: Color = {
1818
50: 'rgba(255, 255, 255, 1)',
1919
100: 'rgba(249, 250, 251, 1)',
2020
200: 'rgba(241, 242, 244, 1)',
21-
300: 'rgba(232, 234, 237, 1)',
21+
300: 'rgba(235, 236, 239, 1)',
2222
400: 'rgba(221, 224, 228, 1)',
2323
500: 'rgba(202, 206, 211, 1)',
2424
600: 'rgba(171, 177, 186, 1)',
@@ -35,7 +35,7 @@ export const green: Color = {
3535
400: 'rgba(80, 220, 169, 1)',
3636
500: 'rgba(35, 196, 140, 1)',
3737
600: 'rgba(22, 166, 121, 1)',
38-
700: 'rgba(0, 128, 96, 1)',
38+
700: 'rgba(0, 122, 92, 1)',
3939
800: 'rgba(18, 84, 67, 1)',
4040
900: 'rgba(12, 59, 47, 1)',
4141
};

polaris-tokens/src/token-groups/color.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export const color: {
490490
description: '',
491491
},
492492
'color-border-info-subdued': {
493-
value: colors.teal[200],
493+
value: colors.teal[400],
494494
description: '',
495495
},
496496
'color-border-interactive-active': {

0 commit comments

Comments
 (0)