Skip to content

Commit a906cd5

Browse files
A more accessible blue scale (#229)
Interestingly the current blue is OK via the APCA colour scheme.
1 parent 3a9c9c5 commit a906cd5

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

windi.config.js

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ export default {
1515
},
1616
colors: {
1717
brand: {
18-
50: '#d4eaf7', // 80% tint
19-
100: '#95caeb', // 50% tint
20-
200: '#6ab4e2', // 30% tint
21-
300: '#55a9de', // 20% tint
22-
400: '#3f9fda', // 10% tint
23-
// Brand color
24-
500: '#2a94d6',
25-
600: '#2685c1', // 10% shade
26-
700: '#2276ab', // 20% shade
27-
800: '#1d6896', // 30% shade
28-
900: '#154a6b', // 50% shade
29-
//950: '#081e2b', // 80% shade, too dark
18+
// Produced with using the hue from the brand blue at 400 but adjusting 500
19+
// to be an acceptable button background color with white text at all sizes
20+
// (WCGA AA 4.5)
21+
// https://huetone.ardov.me/
22+
50: '#edf7ff',
23+
100: '#c1e1fb',
24+
200: '#94ccf6',
25+
300: '#62b3ed',
26+
// Brand colour, but too light for white
27+
400: '#2a94d6',
28+
// 4.5 contrast with white
29+
500: '#007dbc',
30+
600: '#0071aa',
31+
700: '#16567e',
32+
800: '#1d4662',
33+
900: '#023a5a',
3034
},
3135
primary: '#2a94d6',
3236
primarytext: '#000000',

0 commit comments

Comments
 (0)