Skip to content

Commit 63575e3

Browse files
committed
fix(@clayui/charts): LPD-44040 Update Clay Chart colors for accessibility
1 parent 11d00af commit 63575e3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

packages/clay-charts/src/GeoMap.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import React from 'react';
1010

1111
const DEFAULT_COLOR = {
1212
range: {
13-
max: '#0065e4',
14-
min: '#b1d4ff',
13+
max: '#006be6',
14+
min: '#97c5ff',
1515
},
16-
selected: '#4b9bff',
16+
selected: '#006eff',
1717
value: 'pop_est',
1818
};
1919

packages/clay-charts/src/config.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
*/
55

66
export const DEFAULT_COLORS = [
7-
'#4B9BFF',
8-
'#FFB46E',
9-
'#FF5F5F',
10-
'#50D2A0',
11-
'#FF73C3',
12-
'#9CE269',
13-
'#AF78FF',
14-
'#FFD76E',
15-
'#5FC8FF',
7+
'#006eff',
8+
'#cc4e00',
9+
'#e60000',
10+
'#1b7e6e',
11+
'#e50082',
12+
'#458613',
13+
'#aa33ff',
14+
'#cc4e00',
15+
'#0077b3',
1616
];
1717

1818
export const DEFAULT_GRID_OBJECT = {

0 commit comments

Comments
 (0)