Showing
1 changed file
with
78 additions
and
0 deletions
frontend/src/lib/styles/palette.js
0 → 100644
1 | +const palette = { | ||
2 | + /* blue */ | ||
3 | + blue0: '#e7f5ff', | ||
4 | + blue1: '#d0ebff', | ||
5 | + blue2: '#a5d8ff', | ||
6 | + blue3: '#74c0fc', | ||
7 | + blue4: '#4dabf7', | ||
8 | + blue5: '#339af0', | ||
9 | + blue6: '#228be6', | ||
10 | + blue7: '#1c7ed6', | ||
11 | + blue8: '#1971c2', | ||
12 | + blue9: '#1864ab', | ||
13 | + /* cyan */ | ||
14 | + cyan0: '#e3fafc', | ||
15 | + cyan1: '#c5f6fa', | ||
16 | + cyan2: '#99e9f2', | ||
17 | + cyan3: '#66d9e8', | ||
18 | + cyan4: '#3bc9db', | ||
19 | + cyan5: '#22b8cf', | ||
20 | + cyan6: '#15aabf', | ||
21 | + cyan7: '#1098ad', | ||
22 | + cyan8: '#0c8599', | ||
23 | + cyan9: '#0b7285', | ||
24 | + /* gray */ | ||
25 | + gray0: '#f8f9fa', | ||
26 | + gray1: '#f1f3f5', | ||
27 | + gray2: '#e9ecef', | ||
28 | + gray3: '#dee2e6', | ||
29 | + gray4: '#ced4da', | ||
30 | + gray5: '#adb5bd', | ||
31 | + gray6: '#868e96', | ||
32 | + gray7: '#495057', | ||
33 | + gray8: '#343a40', | ||
34 | + gray9: '#212529', | ||
35 | +}; | ||
36 | + | ||
37 | +export const buttonColorMap = { | ||
38 | + blue: { | ||
39 | + background: palette.blue6, | ||
40 | + color: 'white', | ||
41 | + hoverBackground: palette.blue5, | ||
42 | + }, | ||
43 | +}; | ||
44 | + | ||
45 | +export const inputColorMap = { | ||
46 | + blue: { | ||
47 | + borderColor: palette.blue6, | ||
48 | + color: 'black', | ||
49 | + placeholder: palette.gray5, | ||
50 | + }, | ||
51 | +}; | ||
52 | + | ||
53 | +export const dropdownListColorMap = { | ||
54 | + blue: { | ||
55 | + background: 'white', | ||
56 | + color: palette.blue8, | ||
57 | + borderColor: palette.blue8, | ||
58 | + }, | ||
59 | +}; | ||
60 | + | ||
61 | +export const dropdownHeaderColorMap = { | ||
62 | + blue: { | ||
63 | + background: palette.blue6, | ||
64 | + color: 'white', | ||
65 | + hoverBackground: palette.blue5, | ||
66 | + borderColor: palette.blue8, | ||
67 | + }, | ||
68 | +}; | ||
69 | + | ||
70 | +export const searchBoxColorMap = { | ||
71 | + blue: { | ||
72 | + background: palette.blue6, | ||
73 | + color: 'white', | ||
74 | + hoverBackground: palette.blue5, | ||
75 | + }, | ||
76 | +}; | ||
77 | + | ||
78 | +export default palette; |
-
Please register or login to post a comment