@ornikar/kitt-universal 26.3.1-late-ocean.ea9938a3219bcd82e7bbea585f5b7083975351b2.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -4
- package/dist/definitions/Actions/Actions.d.ts +1 -1
- package/dist/definitions/SegmentedProgressBar/SegmentedProgressBar.d.ts.map +1 -1
- package/dist/definitions/Tag/Tag.d.ts +2 -7
- package/dist/definitions/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/Toast/Toast.utils.d.ts +1 -1
- package/dist/definitions/Toast/Toast.utils.d.ts.map +1 -1
- package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -1
- package/dist/definitions/forms/Radio/InnerCircle.d.ts +2 -1
- package/dist/definitions/forms/Radio/InnerCircle.d.ts.map +1 -1
- package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts +1 -1
- package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts.map +1 -1
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +161 -362
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +215 -213
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/checkbox.d.ts +8 -8
- package/dist/definitions/themes/late-ocean/colors.d.ts +14 -16
- package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/forms.d.ts +8 -8
- package/dist/definitions/themes/late-ocean/icon.d.ts +0 -8
- package/dist/definitions/themes/late-ocean/icon.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/radio.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -2
- package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tag.d.ts +0 -4
- package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +140 -70
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +79 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts +19 -951
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +718 -849
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +718 -849
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +715 -846
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +1 -1
- package/dist/index-node-22.17.cjs.web.js +712 -843
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +715 -846
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +1 -1
- package/dist/index-node-22.17.es.web.mjs +712 -843
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +735 -874
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +732 -871
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +469 -532
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +469 -532
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +469 -532
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +469 -532
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +469 -532
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +469 -532
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +469 -538
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +469 -538
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +0 -260
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +0 -1
|
@@ -11,117 +11,81 @@ const hex2rgba = (hex, alpha = 1) => {
|
|
|
11
11
|
|
|
12
12
|
const createColorScale = colorScale => colorScale;
|
|
13
13
|
const colorScales = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
6: '#bab8ae',
|
|
21
|
-
7: '#aeaba3',
|
|
22
|
-
8: '#9c9a92',
|
|
23
|
-
9: '#8e8c83',
|
|
24
|
-
10: '#74726a',
|
|
25
|
-
11: '#3e3d3a',
|
|
26
|
-
12: '#282826'
|
|
14
|
+
deepPurple: createColorScale({
|
|
15
|
+
5: '#936C93',
|
|
16
|
+
6: '#7A587A',
|
|
17
|
+
7: '#6E4D6E',
|
|
18
|
+
8: '#563B56',
|
|
19
|
+
9: '#452F45'
|
|
27
20
|
}),
|
|
28
|
-
|
|
29
|
-
1: '#
|
|
30
|
-
2: '#
|
|
31
|
-
3: '#
|
|
32
|
-
4: '#
|
|
33
|
-
5: '#
|
|
34
|
-
6: '#
|
|
35
|
-
7: '#9180ff',
|
|
36
|
-
8: '#7b66ff',
|
|
37
|
-
9: '#624af7',
|
|
38
|
-
10: '#5139e1',
|
|
39
|
-
11: '#3a26b5',
|
|
40
|
-
12: '#0a0428'
|
|
21
|
+
beige: createColorScale({
|
|
22
|
+
1: '#F7F4EE',
|
|
23
|
+
2: '#F1ECE4',
|
|
24
|
+
3: '#EAE3D6',
|
|
25
|
+
4: '#E5DCCA',
|
|
26
|
+
5: '#DDD0B8',
|
|
27
|
+
6: '#C1B59F'
|
|
41
28
|
}),
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
29
|
+
lightning: createColorScale({
|
|
30
|
+
5: '#FFF500',
|
|
31
|
+
7: '#43390A'
|
|
32
|
+
}),
|
|
33
|
+
rainbow: createColorScale({
|
|
34
|
+
pink: '#E4A4F9',
|
|
35
|
+
brick: '#951D12',
|
|
36
|
+
orange: '#DB6E2E',
|
|
37
|
+
gold: '#9A7600',
|
|
38
|
+
sun: '#EFD346',
|
|
39
|
+
'green-pine': '#1C5D47',
|
|
40
|
+
'green-grass': '#4DA00A',
|
|
41
|
+
'green-apple': '#DEF985',
|
|
42
|
+
'blue-electric': '#2850C4',
|
|
43
|
+
'blue-sky': '#B2F0FD'
|
|
44
|
+
}),
|
|
45
|
+
grey: createColorScale({
|
|
46
|
+
0: '#ffffff',
|
|
47
|
+
1: '#ECECEC',
|
|
48
|
+
2: '#CDCED0',
|
|
49
|
+
3: '#A8A8A8',
|
|
50
|
+
5: '#838383',
|
|
51
|
+
7: '#505050',
|
|
52
|
+
9: '#101010'
|
|
55
53
|
}),
|
|
56
54
|
blue: createColorScale({
|
|
57
|
-
1: '#
|
|
58
|
-
2: '#
|
|
59
|
-
|
|
60
|
-
4: '#d4e0ff',
|
|
61
|
-
5: '#baceff',
|
|
62
|
-
6: '#a1bbff',
|
|
63
|
-
7: '#87a9ff',
|
|
64
|
-
8: '#6e96ff',
|
|
65
|
-
9: '#5383ff',
|
|
66
|
-
10: '#4170eb',
|
|
67
|
-
11: '#0e4381',
|
|
68
|
-
12: '#061c36'
|
|
55
|
+
1: '#E9F4FC',
|
|
56
|
+
2: '#BCDFF6',
|
|
57
|
+
6: '#1772AB'
|
|
69
58
|
}),
|
|
70
|
-
|
|
71
|
-
1: '#
|
|
72
|
-
2: '#
|
|
73
|
-
|
|
74
|
-
4: '#f0c7d4',
|
|
75
|
-
5: '#f0afc4',
|
|
76
|
-
6: '#f097b3',
|
|
77
|
-
7: '#f07fa3',
|
|
78
|
-
8: '#d95d84',
|
|
79
|
-
9: '#cf2a60',
|
|
80
|
-
10: '#c12558',
|
|
81
|
-
11: '#61192e',
|
|
82
|
-
12: '#29040f'
|
|
59
|
+
green: createColorScale({
|
|
60
|
+
1: '#ECFEDD',
|
|
61
|
+
2: '#DBFAC1',
|
|
62
|
+
6: '#438D06'
|
|
83
63
|
}),
|
|
84
|
-
|
|
85
|
-
1: '#
|
|
86
|
-
2: '#
|
|
87
|
-
|
|
88
|
-
4: '#ffcfcf',
|
|
89
|
-
5: '#ffb5b5',
|
|
90
|
-
6: '#ff9c9c',
|
|
91
|
-
7: '#f57d7d',
|
|
92
|
-
8: '#eb6565',
|
|
93
|
-
9: '#e55050',
|
|
94
|
-
10: '#da3d3d',
|
|
95
|
-
11: '#8a2b1e',
|
|
96
|
-
12: '#330c07'
|
|
64
|
+
yellow: createColorScale({
|
|
65
|
+
1: '#FDF8E7',
|
|
66
|
+
2: '#FAEBB8',
|
|
67
|
+
6: '#EFC11F'
|
|
97
68
|
}),
|
|
98
|
-
|
|
99
|
-
1: '#
|
|
100
|
-
2: '#
|
|
101
|
-
|
|
102
|
-
4: '#ffefc4',
|
|
103
|
-
5: '#ffe8ab',
|
|
104
|
-
6: '#ffe191',
|
|
105
|
-
7: '#ffda78',
|
|
106
|
-
8: '#ffd35e',
|
|
107
|
-
9: '#fdc32d',
|
|
108
|
-
10: '#f3a40c',
|
|
109
|
-
11: '#9f5600',
|
|
110
|
-
12: '#341c00'
|
|
69
|
+
red: createColorScale({
|
|
70
|
+
1: '#FDE4E3',
|
|
71
|
+
2: '#FAB8B8',
|
|
72
|
+
6: '#F14847'
|
|
111
73
|
}),
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
74
|
+
'beige-alpha': createColorScale({
|
|
75
|
+
'25': '#C1B59F40',
|
|
76
|
+
'40': '#C1B59F66',
|
|
77
|
+
'50': '#C1B59F80'
|
|
78
|
+
}),
|
|
79
|
+
'grey-alpha': createColorScale({
|
|
80
|
+
'25': '#10101040',
|
|
81
|
+
'35': '#10101059',
|
|
82
|
+
'50': '#10101080'
|
|
83
|
+
}),
|
|
84
|
+
'white-alpha': createColorScale({
|
|
85
|
+
'10': '#FFFFFF1A',
|
|
86
|
+
'20': '#FFFFFF33',
|
|
87
|
+
'80': '#FFFFFFCC',
|
|
88
|
+
'90': '#FFFFFFE5'
|
|
125
89
|
})
|
|
126
90
|
};
|
|
127
91
|
const transformColorScalesToTokens = () => {
|
|
@@ -131,90 +95,44 @@ const transformColorScalesToTokens = () => {
|
|
|
131
95
|
});
|
|
132
96
|
}));
|
|
133
97
|
};
|
|
134
|
-
const
|
|
98
|
+
const deepPurpleColorPalette = {
|
|
135
99
|
...transformColorScalesToTokens(),
|
|
136
|
-
/** @deprecated use violine.9 instead */
|
|
137
|
-
lateOcean: colorScales.violine[9],
|
|
138
|
-
/** @deprecated use violine.8 instead */
|
|
139
|
-
lateOceanLight1: colorScales.violine[8],
|
|
140
|
-
/** @deprecated use violine.6 instead */
|
|
141
|
-
lateOceanLight2: colorScales.violine[6],
|
|
142
|
-
/** @deprecated use lavender.6 instead */
|
|
143
|
-
lateOceanLight3: colorScales.lavender[6],
|
|
144
|
-
/** @deprecated use violine.12 instead */
|
|
145
|
-
lateOceanDark1: colorScales.violine[12],
|
|
146
|
-
/** @deprecated use lavender.5 instead */
|
|
147
|
-
warmEmbrace: colorScales.lavender[5],
|
|
148
|
-
/** @deprecated use lavender.3 instead */
|
|
149
|
-
warmEmbraceLight1: colorScales.lavender[3],
|
|
150
100
|
white: '#FFFFFF',
|
|
151
101
|
black: '#000000',
|
|
152
|
-
|
|
153
|
-
black1000: '#000000',
|
|
154
|
-
/** @deprecated use eggshell.11 instead */
|
|
155
|
-
black800: colorScales.eggshell[11],
|
|
156
|
-
/** @deprecated use eggshell.10 instead */
|
|
157
|
-
black555: colorScales.eggshell[10],
|
|
158
|
-
/** @deprecated use eggshell.7 instead */
|
|
159
|
-
black400: colorScales.eggshell[7],
|
|
160
|
-
/** @deprecated use eggshell.4 instead */
|
|
161
|
-
black200: colorScales.eggshell[4],
|
|
162
|
-
/** @deprecated use eggshell.3 instead */
|
|
163
|
-
black100: colorScales.eggshell[3],
|
|
164
|
-
/** @deprecated use eggshell.2 instead */
|
|
165
|
-
black50: colorScales.eggshell[2],
|
|
166
|
-
/** @deprecated use eggshell.1 instead */
|
|
167
|
-
black25: colorScales.eggshell[1],
|
|
168
|
-
/** @deprecated use green.8 instead */
|
|
169
|
-
viride: colorScales.green[8],
|
|
170
|
-
/** @deprecated use coral.7 instead */
|
|
171
|
-
englishVermillon: colorScales.coral[7],
|
|
172
|
-
/** @deprecated use sun.8 instead */
|
|
173
|
-
goldCrayola: colorScales.sun[8],
|
|
174
|
-
/** @deprecated use blue.8 instead */
|
|
175
|
-
aero: colorScales.blue[8],
|
|
176
|
-
/** @deprecated use eggshell.1 instead */
|
|
177
|
-
seaShell: colorScales.eggshell[1],
|
|
178
|
-
transparent: 'transparent',
|
|
179
|
-
/** @deprecated use violine.4 instead */
|
|
180
|
-
moonPurple: colorScales.violine[4],
|
|
181
|
-
/** @deprecated use violine.2 instead */
|
|
182
|
-
moonPurpleLight1: colorScales.violine[2]
|
|
102
|
+
transparent: 'transparent'
|
|
183
103
|
};
|
|
184
104
|
|
|
185
105
|
const colors = {
|
|
186
|
-
primary:
|
|
187
|
-
primaryLight:
|
|
188
|
-
accent:
|
|
189
|
-
accentLight:
|
|
190
|
-
success:
|
|
191
|
-
correct:
|
|
192
|
-
danger:
|
|
193
|
-
info:
|
|
194
|
-
warning:
|
|
195
|
-
separator:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
transparent: lateOceanColorPalette.transparent,
|
|
205
|
-
disabled: lateOceanColorPalette['eggshell.2'],
|
|
106
|
+
primary: deepPurpleColorPalette['deepPurple.8'],
|
|
107
|
+
primaryLight: deepPurpleColorPalette['deepPurple.8'],
|
|
108
|
+
accent: deepPurpleColorPalette['beige.1'],
|
|
109
|
+
accentLight: deepPurpleColorPalette['beige.1'],
|
|
110
|
+
success: deepPurpleColorPalette['green.6'],
|
|
111
|
+
correct: deepPurpleColorPalette['green.6'],
|
|
112
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
113
|
+
info: deepPurpleColorPalette['blue.6'],
|
|
114
|
+
warning: deepPurpleColorPalette['yellow.6'],
|
|
115
|
+
separator: deepPurpleColorPalette['beige.3'],
|
|
116
|
+
white: deepPurpleColorPalette['grey.0'],
|
|
117
|
+
black: deepPurpleColorPalette['grey.9'],
|
|
118
|
+
blackLight: deepPurpleColorPalette['grey.5'],
|
|
119
|
+
blackAnthracite: deepPurpleColorPalette['grey.7'],
|
|
120
|
+
uiBackground: deepPurpleColorPalette['beige.1'],
|
|
121
|
+
uiBackgroundLight: deepPurpleColorPalette['grey.0'],
|
|
122
|
+
transparent: deepPurpleColorPalette.transparent,
|
|
123
|
+
disabled: deepPurpleColorPalette['grey.1'],
|
|
206
124
|
overlay: {
|
|
207
|
-
dark: '
|
|
208
|
-
light: '
|
|
125
|
+
dark: deepPurpleColorPalette['grey-alpha.50'],
|
|
126
|
+
light: deepPurpleColorPalette['white-alpha.80']
|
|
209
127
|
}
|
|
210
128
|
};
|
|
211
129
|
|
|
212
130
|
const actionCard = {
|
|
213
|
-
borderRadius:
|
|
131
|
+
borderRadius: 8,
|
|
214
132
|
primary: {
|
|
215
133
|
default: {
|
|
216
134
|
backgroundColor: colors.uiBackgroundLight,
|
|
217
|
-
borderColor:
|
|
135
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
218
136
|
borderWidth: 1,
|
|
219
137
|
shadow: {
|
|
220
138
|
color: '',
|
|
@@ -226,8 +144,8 @@ const actionCard = {
|
|
|
226
144
|
translateY: 0
|
|
227
145
|
},
|
|
228
146
|
hovered: {
|
|
229
|
-
backgroundColor:
|
|
230
|
-
borderColor:
|
|
147
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
148
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
231
149
|
borderWidth: 1,
|
|
232
150
|
shadow: {
|
|
233
151
|
color: '',
|
|
@@ -239,8 +157,8 @@ const actionCard = {
|
|
|
239
157
|
translateY: 0
|
|
240
158
|
},
|
|
241
159
|
disabled: {
|
|
242
|
-
backgroundColor:
|
|
243
|
-
borderColor:
|
|
160
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
161
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
244
162
|
borderWidth: 1,
|
|
245
163
|
shadow: {
|
|
246
164
|
color: '',
|
|
@@ -252,8 +170,8 @@ const actionCard = {
|
|
|
252
170
|
translateY: 0
|
|
253
171
|
},
|
|
254
172
|
focused: {
|
|
255
|
-
backgroundColor:
|
|
256
|
-
borderColor:
|
|
173
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
174
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
257
175
|
borderWidth: 1,
|
|
258
176
|
shadow: {
|
|
259
177
|
color: '',
|
|
@@ -265,8 +183,8 @@ const actionCard = {
|
|
|
265
183
|
translateY: 0
|
|
266
184
|
},
|
|
267
185
|
pressed: {
|
|
268
|
-
backgroundColor:
|
|
269
|
-
borderColor:
|
|
186
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
187
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
270
188
|
borderWidth: 1,
|
|
271
189
|
shadow: {
|
|
272
190
|
color: '',
|
|
@@ -281,10 +199,10 @@ const actionCard = {
|
|
|
281
199
|
'primary-border-soft': {
|
|
282
200
|
default: {
|
|
283
201
|
backgroundColor: colors.uiBackgroundLight,
|
|
284
|
-
borderColor:
|
|
202
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
285
203
|
borderWidth: 1,
|
|
286
204
|
shadow: {
|
|
287
|
-
color:
|
|
205
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
288
206
|
offsetX: 0,
|
|
289
207
|
offsetY: 4,
|
|
290
208
|
opacity: 1,
|
|
@@ -293,11 +211,11 @@ const actionCard = {
|
|
|
293
211
|
translateY: 0
|
|
294
212
|
},
|
|
295
213
|
hovered: {
|
|
296
|
-
backgroundColor:
|
|
297
|
-
borderColor:
|
|
214
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
215
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
298
216
|
borderWidth: 1,
|
|
299
217
|
shadow: {
|
|
300
|
-
color:
|
|
218
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
301
219
|
offsetX: 0,
|
|
302
220
|
offsetY: 4,
|
|
303
221
|
opacity: 1,
|
|
@@ -306,8 +224,8 @@ const actionCard = {
|
|
|
306
224
|
translateY: 0
|
|
307
225
|
},
|
|
308
226
|
disabled: {
|
|
309
|
-
backgroundColor:
|
|
310
|
-
borderColor:
|
|
227
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
228
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
311
229
|
borderWidth: 1,
|
|
312
230
|
shadow: {
|
|
313
231
|
color: '',
|
|
@@ -319,11 +237,11 @@ const actionCard = {
|
|
|
319
237
|
translateY: 0
|
|
320
238
|
},
|
|
321
239
|
focused: {
|
|
322
|
-
backgroundColor:
|
|
323
|
-
borderColor:
|
|
240
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
241
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
324
242
|
borderWidth: 1,
|
|
325
243
|
shadow: {
|
|
326
|
-
color:
|
|
244
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
327
245
|
offsetX: 0,
|
|
328
246
|
offsetY: 4,
|
|
329
247
|
opacity: 1,
|
|
@@ -332,8 +250,8 @@ const actionCard = {
|
|
|
332
250
|
translateY: 0
|
|
333
251
|
},
|
|
334
252
|
pressed: {
|
|
335
|
-
backgroundColor:
|
|
336
|
-
borderColor:
|
|
253
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
254
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
337
255
|
borderWidth: 1,
|
|
338
256
|
shadow: {
|
|
339
257
|
color: '',
|
|
@@ -348,10 +266,10 @@ const actionCard = {
|
|
|
348
266
|
'primary-border-hard': {
|
|
349
267
|
default: {
|
|
350
268
|
backgroundColor: colors.uiBackgroundLight,
|
|
351
|
-
borderColor:
|
|
269
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
352
270
|
borderWidth: 1,
|
|
353
271
|
shadow: {
|
|
354
|
-
color:
|
|
272
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
355
273
|
offsetX: 0,
|
|
356
274
|
offsetY: 4,
|
|
357
275
|
opacity: 1,
|
|
@@ -360,11 +278,11 @@ const actionCard = {
|
|
|
360
278
|
translateY: 0
|
|
361
279
|
},
|
|
362
280
|
hovered: {
|
|
363
|
-
backgroundColor:
|
|
364
|
-
borderColor:
|
|
281
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
282
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
365
283
|
borderWidth: 1,
|
|
366
284
|
shadow: {
|
|
367
|
-
color:
|
|
285
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
368
286
|
offsetX: 0,
|
|
369
287
|
offsetY: 4,
|
|
370
288
|
opacity: 1,
|
|
@@ -373,8 +291,8 @@ const actionCard = {
|
|
|
373
291
|
translateY: 0
|
|
374
292
|
},
|
|
375
293
|
disabled: {
|
|
376
|
-
backgroundColor:
|
|
377
|
-
borderColor:
|
|
294
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
295
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
378
296
|
borderWidth: 1,
|
|
379
297
|
shadow: {
|
|
380
298
|
color: '',
|
|
@@ -386,11 +304,11 @@ const actionCard = {
|
|
|
386
304
|
translateY: 0
|
|
387
305
|
},
|
|
388
306
|
focused: {
|
|
389
|
-
backgroundColor:
|
|
390
|
-
borderColor:
|
|
307
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
308
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
391
309
|
borderWidth: 1,
|
|
392
310
|
shadow: {
|
|
393
|
-
color:
|
|
311
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
394
312
|
offsetX: 0,
|
|
395
313
|
offsetY: 4,
|
|
396
314
|
opacity: 1,
|
|
@@ -399,8 +317,8 @@ const actionCard = {
|
|
|
399
317
|
translateY: 0
|
|
400
318
|
},
|
|
401
319
|
pressed: {
|
|
402
|
-
backgroundColor:
|
|
403
|
-
borderColor:
|
|
320
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
321
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
404
322
|
borderWidth: 1,
|
|
405
323
|
shadow: {
|
|
406
324
|
color: '',
|
|
@@ -414,8 +332,8 @@ const actionCard = {
|
|
|
414
332
|
},
|
|
415
333
|
secondary: {
|
|
416
334
|
default: {
|
|
417
|
-
backgroundColor:
|
|
418
|
-
borderColor:
|
|
335
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
336
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
419
337
|
borderWidth: 0,
|
|
420
338
|
shadow: {
|
|
421
339
|
color: '',
|
|
@@ -427,8 +345,8 @@ const actionCard = {
|
|
|
427
345
|
translateY: 0
|
|
428
346
|
},
|
|
429
347
|
disabled: {
|
|
430
|
-
backgroundColor:
|
|
431
|
-
borderColor:
|
|
348
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
349
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
432
350
|
borderWidth: 1,
|
|
433
351
|
shadow: {
|
|
434
352
|
color: '',
|
|
@@ -440,8 +358,8 @@ const actionCard = {
|
|
|
440
358
|
translateY: 0
|
|
441
359
|
},
|
|
442
360
|
hovered: {
|
|
443
|
-
backgroundColor:
|
|
444
|
-
borderColor:
|
|
361
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
362
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
445
363
|
borderWidth: 0,
|
|
446
364
|
shadow: {
|
|
447
365
|
color: '',
|
|
@@ -453,8 +371,8 @@ const actionCard = {
|
|
|
453
371
|
translateY: 0
|
|
454
372
|
},
|
|
455
373
|
focused: {
|
|
456
|
-
backgroundColor:
|
|
457
|
-
borderColor:
|
|
374
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
375
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
458
376
|
borderWidth: 0,
|
|
459
377
|
shadow: {
|
|
460
378
|
color: '',
|
|
@@ -466,8 +384,8 @@ const actionCard = {
|
|
|
466
384
|
translateY: 0
|
|
467
385
|
},
|
|
468
386
|
pressed: {
|
|
469
|
-
backgroundColor:
|
|
470
|
-
borderColor:
|
|
387
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
388
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
471
389
|
borderWidth: 0,
|
|
472
390
|
shadow: {
|
|
473
391
|
color: '',
|
|
@@ -481,11 +399,11 @@ const actionCard = {
|
|
|
481
399
|
},
|
|
482
400
|
highlight: {
|
|
483
401
|
default: {
|
|
484
|
-
backgroundColor:
|
|
485
|
-
borderColor:
|
|
402
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
403
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
486
404
|
borderWidth: 1,
|
|
487
405
|
shadow: {
|
|
488
|
-
color:
|
|
406
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
489
407
|
offsetX: 0,
|
|
490
408
|
offsetY: 4,
|
|
491
409
|
opacity: 1,
|
|
@@ -494,8 +412,8 @@ const actionCard = {
|
|
|
494
412
|
translateY: 0
|
|
495
413
|
},
|
|
496
414
|
disabled: {
|
|
497
|
-
backgroundColor:
|
|
498
|
-
borderColor:
|
|
415
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
416
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
499
417
|
borderWidth: 1,
|
|
500
418
|
shadow: {
|
|
501
419
|
color: '',
|
|
@@ -507,11 +425,11 @@ const actionCard = {
|
|
|
507
425
|
translateY: 0
|
|
508
426
|
},
|
|
509
427
|
hovered: {
|
|
510
|
-
backgroundColor: hex2rgba(
|
|
511
|
-
borderColor:
|
|
428
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
429
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
512
430
|
borderWidth: 1,
|
|
513
431
|
shadow: {
|
|
514
|
-
color:
|
|
432
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
515
433
|
offsetX: 0,
|
|
516
434
|
offsetY: 4,
|
|
517
435
|
opacity: 1,
|
|
@@ -520,11 +438,11 @@ const actionCard = {
|
|
|
520
438
|
translateY: 0
|
|
521
439
|
},
|
|
522
440
|
focused: {
|
|
523
|
-
backgroundColor: hex2rgba(
|
|
524
|
-
borderColor:
|
|
441
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
442
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
525
443
|
borderWidth: 1,
|
|
526
444
|
shadow: {
|
|
527
|
-
color:
|
|
445
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
528
446
|
offsetX: 0,
|
|
529
447
|
offsetY: 4,
|
|
530
448
|
opacity: 1,
|
|
@@ -533,8 +451,8 @@ const actionCard = {
|
|
|
533
451
|
translateY: 0
|
|
534
452
|
},
|
|
535
453
|
pressed: {
|
|
536
|
-
backgroundColor: hex2rgba(
|
|
537
|
-
borderColor:
|
|
454
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
455
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
538
456
|
borderWidth: 1,
|
|
539
457
|
shadow: {
|
|
540
458
|
color: '',
|
|
@@ -552,42 +470,28 @@ const defaultAvatarSize = 40;
|
|
|
552
470
|
const defaultAvatarIconSize = 20;
|
|
553
471
|
const largeAvatarSize = 120;
|
|
554
472
|
const largeAvatarIconSize = 30;
|
|
555
|
-
|
|
556
|
-
// export interface AvatarThemeBackgroundColorVariant {
|
|
557
|
-
// default: string;
|
|
558
|
-
// light: string;
|
|
559
|
-
// dark: string;
|
|
560
|
-
// disabled: string;
|
|
561
|
-
// }
|
|
562
|
-
|
|
563
|
-
// export interface AvatarThemeColorVariant {
|
|
564
|
-
// default: string;
|
|
565
|
-
// light: string;
|
|
566
|
-
// disabled: string;
|
|
567
|
-
// }
|
|
568
|
-
|
|
569
473
|
const avatar = {
|
|
570
|
-
borderRadius:
|
|
474
|
+
borderRadius: 4,
|
|
571
475
|
size: defaultAvatarSize,
|
|
572
476
|
iconSize: defaultAvatarIconSize,
|
|
573
477
|
default: {
|
|
574
|
-
color:
|
|
575
|
-
backgroundColor:
|
|
478
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
479
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.8']
|
|
576
480
|
},
|
|
577
481
|
light: {
|
|
578
|
-
color:
|
|
579
|
-
backgroundColor:
|
|
482
|
+
color: deepPurpleColorPalette['beige.6'],
|
|
483
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
580
484
|
},
|
|
581
485
|
dark: {
|
|
582
|
-
color:
|
|
583
|
-
backgroundColor:
|
|
486
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
487
|
+
backgroundColor: deepPurpleColorPalette['grey.9']
|
|
584
488
|
},
|
|
585
489
|
disabled: {
|
|
586
|
-
color:
|
|
587
|
-
backgroundColor:
|
|
490
|
+
color: deepPurpleColorPalette['grey.3'],
|
|
491
|
+
backgroundColor: deepPurpleColorPalette['grey.1']
|
|
588
492
|
},
|
|
589
493
|
large: {
|
|
590
|
-
borderRadius:
|
|
494
|
+
borderRadius: 8,
|
|
591
495
|
size: largeAvatarSize,
|
|
592
496
|
iconSize: largeAvatarIconSize
|
|
593
497
|
}
|
|
@@ -600,7 +504,7 @@ const bottomSheet = {
|
|
|
600
504
|
padding: spacing * 4
|
|
601
505
|
},
|
|
602
506
|
handle: {
|
|
603
|
-
backgroundColor:
|
|
507
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
604
508
|
}
|
|
605
509
|
};
|
|
606
510
|
|
|
@@ -668,9 +572,9 @@ const button = {
|
|
|
668
572
|
pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
669
573
|
hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
670
574
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
671
|
-
color:
|
|
672
|
-
hoverColor:
|
|
673
|
-
activeColor:
|
|
575
|
+
color: deepPurpleColorPalette.white,
|
|
576
|
+
hoverColor: deepPurpleColorPalette.white,
|
|
577
|
+
activeColor: deepPurpleColorPalette.white
|
|
674
578
|
}
|
|
675
579
|
},
|
|
676
580
|
primary: {
|
|
@@ -683,11 +587,11 @@ const button = {
|
|
|
683
587
|
ghost: {
|
|
684
588
|
backgroundColor: colors.uiBackgroundLight,
|
|
685
589
|
pressedBackgroundColor: colors.uiBackground,
|
|
686
|
-
hoverBackgroundColor:
|
|
590
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
687
591
|
focusBorderColor: 'rgba(255,255,255, 0.4)',
|
|
688
592
|
color: colors.primary,
|
|
689
|
-
hoverColor:
|
|
690
|
-
activeColor:
|
|
593
|
+
hoverColor: deepPurpleColorPalette['beige.2'],
|
|
594
|
+
activeColor: deepPurpleColorPalette['beige.2']
|
|
691
595
|
}
|
|
692
596
|
},
|
|
693
597
|
dark: {
|
|
@@ -700,19 +604,19 @@ const button = {
|
|
|
700
604
|
},
|
|
701
605
|
danger: {
|
|
702
606
|
default: {
|
|
703
|
-
backgroundColor:
|
|
704
|
-
pressedBackgroundColor:
|
|
705
|
-
hoverBackgroundColor:
|
|
706
|
-
focusBorderColor:
|
|
607
|
+
backgroundColor: deepPurpleColorPalette['red.1'],
|
|
608
|
+
pressedBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
609
|
+
hoverBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
610
|
+
focusBorderColor: deepPurpleColorPalette['red.2']
|
|
707
611
|
},
|
|
708
612
|
ghost: {
|
|
709
613
|
backgroundColor: colors.uiBackgroundLight,
|
|
710
614
|
pressedBackgroundColor: colors.uiBackground,
|
|
711
|
-
hoverBackgroundColor:
|
|
615
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
712
616
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
713
|
-
color:
|
|
714
|
-
hoverColor:
|
|
715
|
-
activeColor:
|
|
617
|
+
color: deepPurpleColorPalette['red.6'],
|
|
618
|
+
hoverColor: deepPurpleColorPalette['red.6'],
|
|
619
|
+
activeColor: deepPurpleColorPalette['red.6']
|
|
716
620
|
}
|
|
717
621
|
},
|
|
718
622
|
subtle: {
|
|
@@ -753,14 +657,14 @@ const button = {
|
|
|
753
657
|
backgroundColor: colors.disabled,
|
|
754
658
|
pressedBackgroundColor: colors.disabled,
|
|
755
659
|
hoverBackgroundColor: colors.disabled,
|
|
756
|
-
focusBorderColor:
|
|
757
|
-
borderColor:
|
|
660
|
+
focusBorderColor: deepPurpleColorPalette['beige.2'],
|
|
661
|
+
borderColor: deepPurpleColorPalette['beige.2']
|
|
758
662
|
}
|
|
759
663
|
}
|
|
760
664
|
};
|
|
761
665
|
|
|
762
666
|
const buttonBadge = {
|
|
763
|
-
backgroundColor:
|
|
667
|
+
backgroundColor: deepPurpleColorPalette['red.6'],
|
|
764
668
|
dimensions: {
|
|
765
669
|
withBadge: {
|
|
766
670
|
width: 10,
|
|
@@ -789,7 +693,7 @@ const card = {
|
|
|
789
693
|
borderColor: colors.separator
|
|
790
694
|
},
|
|
791
695
|
subtle: {
|
|
792
|
-
backgroundColor:
|
|
696
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
793
697
|
borderColor: colors.separator
|
|
794
698
|
}
|
|
795
699
|
};
|
|
@@ -849,17 +753,17 @@ const choices = {
|
|
|
849
753
|
small: 24
|
|
850
754
|
},
|
|
851
755
|
backgroundColor: {
|
|
852
|
-
default:
|
|
756
|
+
default: deepPurpleColorPalette['beige.1'],
|
|
853
757
|
disabled: colors.disabled,
|
|
854
758
|
selected: colors.primary,
|
|
855
|
-
pressed:
|
|
856
|
-
hover:
|
|
857
|
-
hoverWhenSelected:
|
|
759
|
+
pressed: deepPurpleColorPalette['deepPurple.7'],
|
|
760
|
+
hover: deepPurpleColorPalette['beige.2'],
|
|
761
|
+
hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
|
|
858
762
|
},
|
|
859
763
|
disabled: {
|
|
860
764
|
border: {
|
|
861
765
|
width: 2,
|
|
862
|
-
color:
|
|
766
|
+
color: deepPurpleColorPalette['beige.2']
|
|
863
767
|
}
|
|
864
768
|
},
|
|
865
769
|
transition: {
|
|
@@ -924,19 +828,19 @@ const autocomplete = {
|
|
|
924
828
|
backgroundColor: colors.white
|
|
925
829
|
},
|
|
926
830
|
hovered: {
|
|
927
|
-
backgroundColor:
|
|
831
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
928
832
|
},
|
|
929
833
|
focused: {
|
|
930
|
-
backgroundColor:
|
|
834
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
931
835
|
},
|
|
932
836
|
selected: {
|
|
933
|
-
backgroundColor:
|
|
837
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
934
838
|
},
|
|
935
839
|
highlighted: {
|
|
936
|
-
backgroundColor:
|
|
840
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
937
841
|
},
|
|
938
842
|
pressed: {
|
|
939
|
-
backgroundColor:
|
|
843
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
940
844
|
}
|
|
941
845
|
},
|
|
942
846
|
optionsContainer: {
|
|
@@ -1004,37 +908,37 @@ const datePicker = {
|
|
|
1004
908
|
|
|
1005
909
|
const inputStatesStyle = {
|
|
1006
910
|
default: {
|
|
1007
|
-
backgroundColor:
|
|
1008
|
-
borderColor:
|
|
1009
|
-
color:
|
|
911
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
912
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
913
|
+
color: deepPurpleColorPalette.black
|
|
1010
914
|
},
|
|
1011
915
|
pending: {
|
|
1012
|
-
backgroundColor:
|
|
1013
|
-
borderColor:
|
|
1014
|
-
color:
|
|
916
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
917
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
918
|
+
color: deepPurpleColorPalette.black
|
|
1015
919
|
},
|
|
1016
920
|
valid: {
|
|
1017
|
-
backgroundColor:
|
|
1018
|
-
borderColor:
|
|
1019
|
-
color:
|
|
921
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
922
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
923
|
+
color: deepPurpleColorPalette.black
|
|
1020
924
|
},
|
|
1021
925
|
hover: {
|
|
1022
|
-
backgroundColor:
|
|
1023
|
-
borderColor:
|
|
1024
|
-
color:
|
|
926
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
927
|
+
borderColor: deepPurpleColorPalette['beige.4'],
|
|
928
|
+
color: deepPurpleColorPalette.black
|
|
1025
929
|
},
|
|
1026
930
|
focus: {
|
|
1027
|
-
borderColor:
|
|
1028
|
-
color:
|
|
931
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
932
|
+
color: deepPurpleColorPalette.black
|
|
1029
933
|
},
|
|
1030
934
|
disabled: {
|
|
1031
|
-
backgroundColor:
|
|
1032
|
-
borderColor:
|
|
1033
|
-
color:
|
|
935
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
936
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
937
|
+
color: deepPurpleColorPalette['grey.3']
|
|
1034
938
|
},
|
|
1035
939
|
invalid: {
|
|
1036
|
-
borderColor:
|
|
1037
|
-
color:
|
|
940
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
941
|
+
color: deepPurpleColorPalette.black
|
|
1038
942
|
}
|
|
1039
943
|
};
|
|
1040
944
|
const webAnimationDuration = '200ms';
|
|
@@ -1043,11 +947,11 @@ const webAnimationProperties = ['border-color', 'background-color'];
|
|
|
1043
947
|
const input = {
|
|
1044
948
|
minHeight: 40,
|
|
1045
949
|
color: {
|
|
1046
|
-
selection:
|
|
1047
|
-
placeholder:
|
|
950
|
+
selection: deepPurpleColorPalette['deepPurple.8'],
|
|
951
|
+
placeholder: deepPurpleColorPalette['beige.6']
|
|
1048
952
|
},
|
|
1049
953
|
borderWidth: 1,
|
|
1050
|
-
borderRadius:
|
|
954
|
+
borderRadius: 4,
|
|
1051
955
|
icon: {
|
|
1052
956
|
size: 20
|
|
1053
957
|
},
|
|
@@ -1084,7 +988,7 @@ const inputTag = {
|
|
|
1084
988
|
labelColor: colors.uiBackgroundLight
|
|
1085
989
|
},
|
|
1086
990
|
default: {
|
|
1087
|
-
backgroundColor:
|
|
991
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1088
992
|
labelColor: colors.black
|
|
1089
993
|
},
|
|
1090
994
|
borderRadius: 10,
|
|
@@ -1094,9 +998,9 @@ const inputTag = {
|
|
|
1094
998
|
const radio = {
|
|
1095
999
|
size: 24,
|
|
1096
1000
|
unchecked: {
|
|
1097
|
-
borderWidth:
|
|
1001
|
+
borderWidth: 1,
|
|
1098
1002
|
backgroundColor: colors.uiBackgroundLight,
|
|
1099
|
-
borderColor:
|
|
1003
|
+
borderColor: deepPurpleColorPalette['beige.3']
|
|
1100
1004
|
},
|
|
1101
1005
|
checked: {
|
|
1102
1006
|
backgroundColor: colors.primary,
|
|
@@ -1113,8 +1017,9 @@ const radio = {
|
|
|
1113
1017
|
borderColor: colors.primary
|
|
1114
1018
|
},
|
|
1115
1019
|
disabled: {
|
|
1116
|
-
backgroundColor:
|
|
1117
|
-
borderColor: colors.
|
|
1020
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1021
|
+
borderColor: colors.transparent,
|
|
1022
|
+
innerBackgroundColor: deepPurpleColorPalette['grey.1']
|
|
1118
1023
|
},
|
|
1119
1024
|
transition: {
|
|
1120
1025
|
duration: '200ms',
|
|
@@ -1125,14 +1030,19 @@ const radio = {
|
|
|
1125
1030
|
const radioButtonGroup = {
|
|
1126
1031
|
item: {
|
|
1127
1032
|
minHeight: 40,
|
|
1128
|
-
borderWidth:
|
|
1129
|
-
borderRadius:
|
|
1033
|
+
borderWidth: 1,
|
|
1034
|
+
borderRadius: 4,
|
|
1035
|
+
font: {
|
|
1036
|
+
color: {
|
|
1037
|
+
disabled: deepPurpleColorPalette['grey.3']
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1130
1040
|
borderColor: {
|
|
1131
1041
|
default: colors.separator,
|
|
1132
1042
|
hover: colors.primary,
|
|
1133
1043
|
pressed: colors.primary,
|
|
1134
1044
|
active: colors.primary,
|
|
1135
|
-
disabled: colors.
|
|
1045
|
+
disabled: colors.disabled
|
|
1136
1046
|
},
|
|
1137
1047
|
backgroundColor: {
|
|
1138
1048
|
default: colors.uiBackgroundLight,
|
|
@@ -1173,17 +1083,17 @@ const toggle = {
|
|
|
1173
1083
|
medium: 50,
|
|
1174
1084
|
large: 66
|
|
1175
1085
|
},
|
|
1176
|
-
labelColor:
|
|
1086
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1177
1087
|
backgroundColor: {
|
|
1178
|
-
checked:
|
|
1179
|
-
unchecked:
|
|
1088
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1089
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1180
1090
|
},
|
|
1181
1091
|
border: {
|
|
1182
1092
|
color: 'transparent',
|
|
1183
1093
|
width: 1
|
|
1184
1094
|
},
|
|
1185
1095
|
circle: {
|
|
1186
|
-
backgroundColor:
|
|
1096
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1187
1097
|
width: {
|
|
1188
1098
|
medium: 18,
|
|
1189
1099
|
large: 24
|
|
@@ -1211,17 +1121,17 @@ const toggle = {
|
|
|
1211
1121
|
medium: 50,
|
|
1212
1122
|
large: 66
|
|
1213
1123
|
},
|
|
1214
|
-
labelColor:
|
|
1124
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1215
1125
|
backgroundColor: {
|
|
1216
|
-
checked:
|
|
1217
|
-
unchecked:
|
|
1126
|
+
checked: deepPurpleColorPalette['deepPurple.7'],
|
|
1127
|
+
unchecked: deepPurpleColorPalette['beige.4']
|
|
1218
1128
|
},
|
|
1219
1129
|
border: {
|
|
1220
1130
|
color: 'transparent',
|
|
1221
1131
|
width: 1
|
|
1222
1132
|
},
|
|
1223
1133
|
circle: {
|
|
1224
|
-
backgroundColor:
|
|
1134
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1225
1135
|
width: {
|
|
1226
1136
|
medium: 18,
|
|
1227
1137
|
large: 24
|
|
@@ -1249,17 +1159,17 @@ const toggle = {
|
|
|
1249
1159
|
medium: 50,
|
|
1250
1160
|
large: 66
|
|
1251
1161
|
},
|
|
1252
|
-
labelColor:
|
|
1162
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1253
1163
|
backgroundColor: {
|
|
1254
|
-
checked:
|
|
1255
|
-
unchecked:
|
|
1164
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1165
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1256
1166
|
},
|
|
1257
1167
|
border: {
|
|
1258
|
-
color:
|
|
1168
|
+
color: deepPurpleColorPalette.white,
|
|
1259
1169
|
width: 1
|
|
1260
1170
|
},
|
|
1261
1171
|
circle: {
|
|
1262
|
-
backgroundColor:
|
|
1172
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1263
1173
|
width: {
|
|
1264
1174
|
medium: 18,
|
|
1265
1175
|
large: 24
|
|
@@ -1274,7 +1184,7 @@ const toggle = {
|
|
|
1274
1184
|
}
|
|
1275
1185
|
},
|
|
1276
1186
|
wrapperBorder: {
|
|
1277
|
-
color:
|
|
1187
|
+
color: deepPurpleColorPalette.black,
|
|
1278
1188
|
width: 1
|
|
1279
1189
|
}
|
|
1280
1190
|
},
|
|
@@ -1287,17 +1197,17 @@ const toggle = {
|
|
|
1287
1197
|
medium: 50,
|
|
1288
1198
|
large: 66
|
|
1289
1199
|
},
|
|
1290
|
-
labelColor:
|
|
1200
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1291
1201
|
backgroundColor: {
|
|
1292
|
-
checked:
|
|
1293
|
-
unchecked:
|
|
1202
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1203
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1294
1204
|
},
|
|
1295
1205
|
border: {
|
|
1296
|
-
color:
|
|
1206
|
+
color: deepPurpleColorPalette.white,
|
|
1297
1207
|
width: 1
|
|
1298
1208
|
},
|
|
1299
1209
|
circle: {
|
|
1300
|
-
backgroundColor:
|
|
1210
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1301
1211
|
width: {
|
|
1302
1212
|
medium: 18,
|
|
1303
1213
|
large: 24
|
|
@@ -1312,7 +1222,7 @@ const toggle = {
|
|
|
1312
1222
|
}
|
|
1313
1223
|
},
|
|
1314
1224
|
wrapperBorder: {
|
|
1315
|
-
color:
|
|
1225
|
+
color: deepPurpleColorPalette.black,
|
|
1316
1226
|
width: 1
|
|
1317
1227
|
}
|
|
1318
1228
|
}
|
|
@@ -1327,17 +1237,17 @@ const toggle = {
|
|
|
1327
1237
|
medium: 50,
|
|
1328
1238
|
large: 66
|
|
1329
1239
|
},
|
|
1330
|
-
labelColor:
|
|
1240
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1331
1241
|
backgroundColor: {
|
|
1332
|
-
checked:
|
|
1333
|
-
unchecked:
|
|
1242
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1243
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1334
1244
|
},
|
|
1335
1245
|
border: {
|
|
1336
1246
|
color: 'transparent',
|
|
1337
1247
|
width: 1
|
|
1338
1248
|
},
|
|
1339
1249
|
circle: {
|
|
1340
|
-
backgroundColor:
|
|
1250
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1341
1251
|
width: {
|
|
1342
1252
|
medium: 18,
|
|
1343
1253
|
large: 24
|
|
@@ -1365,17 +1275,17 @@ const toggle = {
|
|
|
1365
1275
|
medium: 50,
|
|
1366
1276
|
large: 66
|
|
1367
1277
|
},
|
|
1368
|
-
labelColor:
|
|
1278
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1369
1279
|
backgroundColor: {
|
|
1370
|
-
checked:
|
|
1371
|
-
unchecked:
|
|
1280
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1281
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1372
1282
|
},
|
|
1373
1283
|
border: {
|
|
1374
1284
|
color: 'transparent',
|
|
1375
1285
|
width: 1
|
|
1376
1286
|
},
|
|
1377
1287
|
circle: {
|
|
1378
|
-
backgroundColor:
|
|
1288
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1379
1289
|
width: {
|
|
1380
1290
|
medium: 18,
|
|
1381
1291
|
large: 24
|
|
@@ -1403,17 +1313,17 @@ const toggle = {
|
|
|
1403
1313
|
medium: 50,
|
|
1404
1314
|
large: 66
|
|
1405
1315
|
},
|
|
1406
|
-
labelColor:
|
|
1316
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1407
1317
|
backgroundColor: {
|
|
1408
|
-
checked:
|
|
1409
|
-
unchecked:
|
|
1318
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1319
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1410
1320
|
},
|
|
1411
1321
|
border: {
|
|
1412
1322
|
color: 'transparent',
|
|
1413
1323
|
width: 1
|
|
1414
1324
|
},
|
|
1415
1325
|
circle: {
|
|
1416
|
-
backgroundColor:
|
|
1326
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1417
1327
|
width: {
|
|
1418
1328
|
medium: 18,
|
|
1419
1329
|
large: 24
|
|
@@ -1428,7 +1338,7 @@ const toggle = {
|
|
|
1428
1338
|
}
|
|
1429
1339
|
},
|
|
1430
1340
|
wrapperBorder: {
|
|
1431
|
-
color:
|
|
1341
|
+
color: deepPurpleColorPalette.black,
|
|
1432
1342
|
width: 1
|
|
1433
1343
|
}
|
|
1434
1344
|
},
|
|
@@ -1441,17 +1351,17 @@ const toggle = {
|
|
|
1441
1351
|
medium: 50,
|
|
1442
1352
|
large: 66
|
|
1443
1353
|
},
|
|
1444
|
-
labelColor:
|
|
1354
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1445
1355
|
backgroundColor: {
|
|
1446
|
-
checked:
|
|
1447
|
-
unchecked:
|
|
1356
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1357
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1448
1358
|
},
|
|
1449
1359
|
border: {
|
|
1450
1360
|
color: 'transparent',
|
|
1451
1361
|
width: 1
|
|
1452
1362
|
},
|
|
1453
1363
|
circle: {
|
|
1454
|
-
backgroundColor:
|
|
1364
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1455
1365
|
width: {
|
|
1456
1366
|
medium: 18,
|
|
1457
1367
|
large: 24
|
|
@@ -1466,7 +1376,7 @@ const toggle = {
|
|
|
1466
1376
|
}
|
|
1467
1377
|
},
|
|
1468
1378
|
wrapperBorder: {
|
|
1469
|
-
color:
|
|
1379
|
+
color: deepPurpleColorPalette.black,
|
|
1470
1380
|
width: 1
|
|
1471
1381
|
}
|
|
1472
1382
|
}
|
|
@@ -1483,17 +1393,17 @@ const toggle = {
|
|
|
1483
1393
|
medium: 50,
|
|
1484
1394
|
large: 66
|
|
1485
1395
|
},
|
|
1486
|
-
labelColor:
|
|
1396
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1487
1397
|
backgroundColor: {
|
|
1488
|
-
checked:
|
|
1489
|
-
unchecked:
|
|
1398
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1399
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1490
1400
|
},
|
|
1491
1401
|
border: {
|
|
1492
1402
|
color: 'transparent',
|
|
1493
1403
|
width: 1
|
|
1494
1404
|
},
|
|
1495
1405
|
circle: {
|
|
1496
|
-
backgroundColor:
|
|
1406
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1497
1407
|
width: {
|
|
1498
1408
|
medium: 18,
|
|
1499
1409
|
large: 24
|
|
@@ -1521,17 +1431,17 @@ const toggle = {
|
|
|
1521
1431
|
medium: 50,
|
|
1522
1432
|
large: 66
|
|
1523
1433
|
},
|
|
1524
|
-
labelColor:
|
|
1434
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1525
1435
|
backgroundColor: {
|
|
1526
|
-
checked:
|
|
1527
|
-
unchecked:
|
|
1436
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1437
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1528
1438
|
},
|
|
1529
1439
|
border: {
|
|
1530
1440
|
color: 'transparent',
|
|
1531
1441
|
width: 1
|
|
1532
1442
|
},
|
|
1533
1443
|
circle: {
|
|
1534
|
-
backgroundColor:
|
|
1444
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1535
1445
|
width: {
|
|
1536
1446
|
medium: 18,
|
|
1537
1447
|
large: 24
|
|
@@ -1559,17 +1469,17 @@ const toggle = {
|
|
|
1559
1469
|
medium: 50,
|
|
1560
1470
|
large: 66
|
|
1561
1471
|
},
|
|
1562
|
-
labelColor:
|
|
1472
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1563
1473
|
backgroundColor: {
|
|
1564
|
-
checked:
|
|
1565
|
-
unchecked:
|
|
1474
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1475
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1566
1476
|
},
|
|
1567
1477
|
border: {
|
|
1568
|
-
color:
|
|
1478
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1569
1479
|
width: 1
|
|
1570
1480
|
},
|
|
1571
1481
|
circle: {
|
|
1572
|
-
backgroundColor:
|
|
1482
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1573
1483
|
width: {
|
|
1574
1484
|
medium: 18,
|
|
1575
1485
|
large: 24
|
|
@@ -1584,7 +1494,7 @@ const toggle = {
|
|
|
1584
1494
|
}
|
|
1585
1495
|
},
|
|
1586
1496
|
wrapperBorder: {
|
|
1587
|
-
color:
|
|
1497
|
+
color: deepPurpleColorPalette.white,
|
|
1588
1498
|
width: 1
|
|
1589
1499
|
}
|
|
1590
1500
|
},
|
|
@@ -1597,17 +1507,17 @@ const toggle = {
|
|
|
1597
1507
|
medium: 50,
|
|
1598
1508
|
large: 66
|
|
1599
1509
|
},
|
|
1600
|
-
labelColor:
|
|
1510
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1601
1511
|
backgroundColor: {
|
|
1602
|
-
checked:
|
|
1603
|
-
unchecked:
|
|
1512
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1513
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1604
1514
|
},
|
|
1605
1515
|
border: {
|
|
1606
|
-
color:
|
|
1516
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1607
1517
|
width: 1
|
|
1608
1518
|
},
|
|
1609
1519
|
circle: {
|
|
1610
|
-
backgroundColor:
|
|
1520
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1611
1521
|
width: {
|
|
1612
1522
|
medium: 18,
|
|
1613
1523
|
large: 24
|
|
@@ -1622,7 +1532,7 @@ const toggle = {
|
|
|
1622
1532
|
}
|
|
1623
1533
|
},
|
|
1624
1534
|
wrapperBorder: {
|
|
1625
|
-
color:
|
|
1535
|
+
color: deepPurpleColorPalette.white,
|
|
1626
1536
|
width: 1
|
|
1627
1537
|
}
|
|
1628
1538
|
}
|
|
@@ -1637,17 +1547,17 @@ const toggle = {
|
|
|
1637
1547
|
medium: 50,
|
|
1638
1548
|
large: 66
|
|
1639
1549
|
},
|
|
1640
|
-
labelColor:
|
|
1550
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1641
1551
|
backgroundColor: {
|
|
1642
|
-
checked:
|
|
1643
|
-
unchecked:
|
|
1552
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1553
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1644
1554
|
},
|
|
1645
1555
|
border: {
|
|
1646
1556
|
color: 'transparent',
|
|
1647
1557
|
width: 1
|
|
1648
1558
|
},
|
|
1649
1559
|
circle: {
|
|
1650
|
-
backgroundColor:
|
|
1560
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1651
1561
|
width: {
|
|
1652
1562
|
medium: 18,
|
|
1653
1563
|
large: 24
|
|
@@ -1675,17 +1585,17 @@ const toggle = {
|
|
|
1675
1585
|
medium: 50,
|
|
1676
1586
|
large: 66
|
|
1677
1587
|
},
|
|
1678
|
-
labelColor:
|
|
1588
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1679
1589
|
backgroundColor: {
|
|
1680
|
-
checked:
|
|
1681
|
-
unchecked:
|
|
1590
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1591
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1682
1592
|
},
|
|
1683
1593
|
border: {
|
|
1684
1594
|
color: 'transparent',
|
|
1685
1595
|
width: 1
|
|
1686
1596
|
},
|
|
1687
1597
|
circle: {
|
|
1688
|
-
backgroundColor:
|
|
1598
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1689
1599
|
width: {
|
|
1690
1600
|
medium: 18,
|
|
1691
1601
|
large: 24
|
|
@@ -1713,17 +1623,17 @@ const toggle = {
|
|
|
1713
1623
|
medium: 50,
|
|
1714
1624
|
large: 66
|
|
1715
1625
|
},
|
|
1716
|
-
labelColor:
|
|
1626
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1717
1627
|
backgroundColor: {
|
|
1718
|
-
checked:
|
|
1719
|
-
unchecked:
|
|
1628
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1629
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1720
1630
|
},
|
|
1721
1631
|
border: {
|
|
1722
|
-
color:
|
|
1632
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1723
1633
|
width: 1
|
|
1724
1634
|
},
|
|
1725
1635
|
circle: {
|
|
1726
|
-
backgroundColor:
|
|
1636
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1727
1637
|
width: {
|
|
1728
1638
|
medium: 18,
|
|
1729
1639
|
large: 24
|
|
@@ -1738,7 +1648,7 @@ const toggle = {
|
|
|
1738
1648
|
}
|
|
1739
1649
|
},
|
|
1740
1650
|
wrapperBorder: {
|
|
1741
|
-
color:
|
|
1651
|
+
color: deepPurpleColorPalette.white,
|
|
1742
1652
|
width: 1
|
|
1743
1653
|
}
|
|
1744
1654
|
},
|
|
@@ -1751,17 +1661,17 @@ const toggle = {
|
|
|
1751
1661
|
medium: 50,
|
|
1752
1662
|
large: 66
|
|
1753
1663
|
},
|
|
1754
|
-
labelColor:
|
|
1664
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1755
1665
|
backgroundColor: {
|
|
1756
|
-
checked:
|
|
1757
|
-
unchecked:
|
|
1666
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1667
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1758
1668
|
},
|
|
1759
1669
|
border: {
|
|
1760
|
-
color:
|
|
1670
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1761
1671
|
width: 1
|
|
1762
1672
|
},
|
|
1763
1673
|
circle: {
|
|
1764
|
-
backgroundColor:
|
|
1674
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1765
1675
|
width: {
|
|
1766
1676
|
medium: 18,
|
|
1767
1677
|
large: 24
|
|
@@ -1776,7 +1686,7 @@ const toggle = {
|
|
|
1776
1686
|
}
|
|
1777
1687
|
},
|
|
1778
1688
|
wrapperBorder: {
|
|
1779
|
-
color:
|
|
1689
|
+
color: deepPurpleColorPalette.white,
|
|
1780
1690
|
width: 1
|
|
1781
1691
|
}
|
|
1782
1692
|
}
|
|
@@ -1838,50 +1748,50 @@ const highlight = {
|
|
|
1838
1748
|
},
|
|
1839
1749
|
primary: {
|
|
1840
1750
|
default: {
|
|
1841
|
-
backgroundColor:
|
|
1751
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1842
1752
|
},
|
|
1843
1753
|
hover: {
|
|
1844
|
-
backgroundColor:
|
|
1754
|
+
backgroundColor: deepPurpleColorPalette['beige.4']
|
|
1845
1755
|
}
|
|
1846
1756
|
},
|
|
1847
1757
|
secondary: {
|
|
1848
1758
|
default: {
|
|
1849
|
-
backgroundColor:
|
|
1759
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1850
1760
|
},
|
|
1851
1761
|
hover: {
|
|
1852
|
-
backgroundColor:
|
|
1762
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
1853
1763
|
}
|
|
1854
1764
|
},
|
|
1855
1765
|
ghost: {
|
|
1856
1766
|
default: {
|
|
1857
|
-
backgroundColor:
|
|
1767
|
+
backgroundColor: deepPurpleColorPalette.white
|
|
1858
1768
|
},
|
|
1859
1769
|
hover: {
|
|
1860
|
-
backgroundColor:
|
|
1770
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1861
1771
|
}
|
|
1862
1772
|
},
|
|
1863
1773
|
dark: {
|
|
1864
1774
|
default: {
|
|
1865
|
-
backgroundColor:
|
|
1775
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1866
1776
|
},
|
|
1867
1777
|
hover: {
|
|
1868
|
-
backgroundColor:
|
|
1778
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1869
1779
|
}
|
|
1870
1780
|
},
|
|
1871
1781
|
success: {
|
|
1872
1782
|
default: {
|
|
1873
|
-
backgroundColor:
|
|
1783
|
+
backgroundColor: deepPurpleColorPalette['green.1']
|
|
1874
1784
|
},
|
|
1875
1785
|
hover: {
|
|
1876
|
-
backgroundColor:
|
|
1786
|
+
backgroundColor: deepPurpleColorPalette['green.2']
|
|
1877
1787
|
}
|
|
1878
1788
|
},
|
|
1879
1789
|
warning: {
|
|
1880
1790
|
default: {
|
|
1881
|
-
backgroundColor:
|
|
1791
|
+
backgroundColor: deepPurpleColorPalette['yellow.1']
|
|
1882
1792
|
},
|
|
1883
1793
|
hover: {
|
|
1884
|
-
backgroundColor:
|
|
1794
|
+
backgroundColor: deepPurpleColorPalette['yellow.2']
|
|
1885
1795
|
}
|
|
1886
1796
|
},
|
|
1887
1797
|
padding: {
|
|
@@ -1921,14 +1831,6 @@ const icon = {
|
|
|
1921
1831
|
header4: createTypographyIconSizeConfig(18, 24),
|
|
1922
1832
|
// also known as xxsmall
|
|
1923
1833
|
header5: createTypographyIconSizeConfig(18, 18),
|
|
1924
|
-
'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
|
|
1925
|
-
'header-impact-xl': createTypographyIconSizeConfig(48, 48),
|
|
1926
|
-
'header-impact-l': createTypographyIconSizeConfig(40, 40),
|
|
1927
|
-
'header-impact-m': createTypographyIconSizeConfig(32, 32),
|
|
1928
|
-
'header-impact-s': createTypographyIconSizeConfig(24, 24),
|
|
1929
|
-
'header-impact-xs': createTypographyIconSizeConfig(18, 18),
|
|
1930
|
-
'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
|
|
1931
|
-
'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
|
|
1932
1834
|
'body-large': createTypographyIconSizeConfig(18, 24),
|
|
1933
1835
|
'body-medium': createTypographyIconSizeConfig(18, 18),
|
|
1934
1836
|
body: createTypographyIconSizeConfig(16, 16),
|
|
@@ -1973,7 +1875,7 @@ const iconButton = {
|
|
|
1973
1875
|
pressedBackgroundColor: button.default.ghost.pressedBackgroundColor
|
|
1974
1876
|
},
|
|
1975
1877
|
primary: {
|
|
1976
|
-
pressedBackgroundColor:
|
|
1878
|
+
pressedBackgroundColor: deepPurpleColorPalette['beige.1']
|
|
1977
1879
|
},
|
|
1978
1880
|
'primary-plain': {
|
|
1979
1881
|
pressedBackgroundColor: colors.primaryLight,
|
|
@@ -2048,149 +1950,198 @@ const pageLoader = {
|
|
|
2048
1950
|
}
|
|
2049
1951
|
};
|
|
2050
1952
|
|
|
2051
|
-
const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
|
|
2052
|
-
/** @deprecated legacy typography type config is deprecated. */
|
|
2053
|
-
const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
|
|
2054
|
-
baseAndSmall: {
|
|
2055
|
-
fontSize: baseAndSmallFontSize,
|
|
2056
|
-
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
2057
|
-
},
|
|
2058
|
-
mediumAndWide: {
|
|
2059
|
-
fontSize: mediumAndWideFontSize,
|
|
2060
|
-
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
2061
|
-
}
|
|
2062
|
-
});
|
|
2063
|
-
const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
|
|
2064
|
-
const config = {
|
|
2065
|
-
fontSize,
|
|
2066
|
-
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
2067
|
-
};
|
|
2068
|
-
return {
|
|
2069
|
-
baseAndSmall: config,
|
|
2070
|
-
mediumAndWide: config
|
|
2071
|
-
};
|
|
2072
|
-
};
|
|
2073
1953
|
const typography = {
|
|
2074
1954
|
colors: {
|
|
2075
1955
|
black: colors.black,
|
|
2076
1956
|
'black-anthracite': colors.blackAnthracite,
|
|
2077
|
-
'black-disabled':
|
|
2078
|
-
'black-light':
|
|
1957
|
+
'black-disabled': deepPurpleColorPalette['grey.3'],
|
|
1958
|
+
'black-light': deepPurpleColorPalette['grey.5'],
|
|
2079
1959
|
white: colors.white,
|
|
2080
1960
|
'white-light': colors.white,
|
|
2081
1961
|
primary: colors.primary,
|
|
2082
1962
|
'primary-light': colors.primaryLight,
|
|
2083
1963
|
accent: colors.accent,
|
|
2084
1964
|
success: colors.success,
|
|
2085
|
-
danger:
|
|
1965
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
2086
1966
|
warning: colors.warning
|
|
2087
1967
|
},
|
|
2088
1968
|
types: {
|
|
2089
1969
|
headings: {
|
|
2090
1970
|
fontFamily: {
|
|
2091
1971
|
native: {
|
|
2092
|
-
regular: '
|
|
2093
|
-
|
|
1972
|
+
regular: 'GTStandardRegular',
|
|
1973
|
+
semibold: 'GTStandardSemibold',
|
|
1974
|
+
bold: 'GTStandardBold'
|
|
2094
1975
|
},
|
|
2095
1976
|
web: {
|
|
2096
|
-
regular: '
|
|
2097
|
-
|
|
1977
|
+
regular: 'GTStandard',
|
|
1978
|
+
semibold: 'GTStandard',
|
|
1979
|
+
bold: 'GTStandard'
|
|
2098
1980
|
}
|
|
2099
1981
|
},
|
|
2100
1982
|
fontWeight: {
|
|
2101
|
-
regular:
|
|
1983
|
+
regular: 500,
|
|
1984
|
+
semibold: 600,
|
|
2102
1985
|
bold: 700
|
|
2103
1986
|
},
|
|
2104
1987
|
fontStyle: 'normal',
|
|
2105
1988
|
configs: {
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
'heading-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
1989
|
+
'heading-xxl': {
|
|
1990
|
+
fontSize: 56,
|
|
1991
|
+
lineHeight: 64,
|
|
1992
|
+
allowedFontWeights: ['semibold']
|
|
1993
|
+
},
|
|
1994
|
+
'heading-xl': {
|
|
1995
|
+
fontSize: 48,
|
|
1996
|
+
lineHeight: 56,
|
|
1997
|
+
allowedFontWeights: ['semibold']
|
|
1998
|
+
},
|
|
1999
|
+
'heading-l': {
|
|
2000
|
+
fontSize: 40,
|
|
2001
|
+
lineHeight: 48,
|
|
2002
|
+
allowedFontWeights: ['semibold']
|
|
2003
|
+
},
|
|
2004
|
+
'heading-m': {
|
|
2005
|
+
fontSize: 28,
|
|
2006
|
+
lineHeight: 32,
|
|
2007
|
+
allowedFontWeights: ['semibold']
|
|
2008
|
+
},
|
|
2009
|
+
'heading-s': {
|
|
2010
|
+
fontSize: 18,
|
|
2011
|
+
lineHeight: 20,
|
|
2012
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2013
|
+
},
|
|
2014
|
+
'heading-xs': {
|
|
2015
|
+
fontSize: 16,
|
|
2016
|
+
lineHeight: 18,
|
|
2017
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2018
|
+
}
|
|
2120
2019
|
}
|
|
2121
2020
|
},
|
|
2122
|
-
|
|
2021
|
+
bodies: {
|
|
2123
2022
|
fontFamily: {
|
|
2124
2023
|
native: {
|
|
2125
|
-
regular: '
|
|
2126
|
-
bold: '
|
|
2024
|
+
regular: 'GTStandardRegular',
|
|
2025
|
+
bold: 'GTStandardBold'
|
|
2127
2026
|
},
|
|
2128
2027
|
web: {
|
|
2129
|
-
regular: '
|
|
2130
|
-
bold: '
|
|
2028
|
+
regular: 'GTStandard',
|
|
2029
|
+
bold: 'GTStandard'
|
|
2131
2030
|
}
|
|
2132
2031
|
},
|
|
2133
|
-
fontWeight:
|
|
2134
|
-
|
|
2032
|
+
fontWeight: {
|
|
2033
|
+
regular: 500,
|
|
2034
|
+
bold: 700
|
|
2035
|
+
},
|
|
2036
|
+
fontStyle: {
|
|
2037
|
+
regular: 'normal',
|
|
2038
|
+
bold: 'normal'
|
|
2039
|
+
},
|
|
2135
2040
|
configs: {
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
'
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
'
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
'
|
|
2152
|
-
|
|
2153
|
-
|
|
2041
|
+
'body-xl': {
|
|
2042
|
+
fontSize: 24,
|
|
2043
|
+
lineHeight: 32,
|
|
2044
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2045
|
+
},
|
|
2046
|
+
'body-l': {
|
|
2047
|
+
fontSize: 18,
|
|
2048
|
+
lineHeight: 26,
|
|
2049
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2050
|
+
},
|
|
2051
|
+
'body-m': {
|
|
2052
|
+
fontSize: 16,
|
|
2053
|
+
lineHeight: 24,
|
|
2054
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2055
|
+
},
|
|
2056
|
+
'body-s': {
|
|
2057
|
+
fontSize: 14,
|
|
2058
|
+
lineHeight: 20,
|
|
2059
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2060
|
+
},
|
|
2061
|
+
'body-xs': {
|
|
2062
|
+
fontSize: 12,
|
|
2063
|
+
lineHeight: 16,
|
|
2064
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2065
|
+
}
|
|
2154
2066
|
}
|
|
2155
2067
|
},
|
|
2156
|
-
|
|
2068
|
+
labels: {
|
|
2157
2069
|
fontFamily: {
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
bold: 'Moderat'
|
|
2070
|
+
native: {
|
|
2071
|
+
semibold: 'GTStandardSemibold'
|
|
2161
2072
|
},
|
|
2073
|
+
web: {
|
|
2074
|
+
semibold: 'GTStandard'
|
|
2075
|
+
}
|
|
2076
|
+
},
|
|
2077
|
+
fontWeight: {
|
|
2078
|
+
semibold: 600
|
|
2079
|
+
},
|
|
2080
|
+
fontStyle: 'normal',
|
|
2081
|
+
configs: {
|
|
2082
|
+
'label-large': {
|
|
2083
|
+
fontSize: 16,
|
|
2084
|
+
lineHeight: 24,
|
|
2085
|
+
allowedFontWeights: ['semibold']
|
|
2086
|
+
},
|
|
2087
|
+
'label-medium': {
|
|
2088
|
+
fontSize: 14,
|
|
2089
|
+
lineHeight: 20,
|
|
2090
|
+
allowedFontWeights: ['semibold']
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
contentCaps: {
|
|
2095
|
+
fontFamily: {
|
|
2162
2096
|
native: {
|
|
2163
|
-
|
|
2164
|
-
|
|
2097
|
+
bold: 'GTStandardNarrowBold'
|
|
2098
|
+
},
|
|
2099
|
+
web: {
|
|
2100
|
+
bold: 'GTStandardNarrow'
|
|
2165
2101
|
}
|
|
2166
2102
|
},
|
|
2167
2103
|
fontWeight: {
|
|
2168
|
-
regular: 400,
|
|
2169
2104
|
bold: 700
|
|
2170
2105
|
},
|
|
2171
|
-
fontStyle:
|
|
2172
|
-
regular: 'normal',
|
|
2173
|
-
bold: 'normal'
|
|
2174
|
-
},
|
|
2106
|
+
fontStyle: 'normal',
|
|
2175
2107
|
configs: {
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
'
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
'
|
|
2187
|
-
|
|
2108
|
+
'content-caps-xxxl': {
|
|
2109
|
+
fontSize: 40,
|
|
2110
|
+
lineHeight: 40,
|
|
2111
|
+
allowedFontWeights: ['bold']
|
|
2112
|
+
},
|
|
2113
|
+
'content-caps-xxl': {
|
|
2114
|
+
fontSize: 32,
|
|
2115
|
+
lineHeight: 40,
|
|
2116
|
+
allowedFontWeights: ['bold']
|
|
2117
|
+
},
|
|
2118
|
+
'content-caps-xl': {
|
|
2119
|
+
fontSize: 24,
|
|
2120
|
+
lineHeight: 28,
|
|
2121
|
+
allowedFontWeights: ['bold']
|
|
2122
|
+
},
|
|
2123
|
+
'content-caps-l': {
|
|
2124
|
+
fontSize: 18,
|
|
2125
|
+
lineHeight: 20,
|
|
2126
|
+
allowedFontWeights: ['bold']
|
|
2127
|
+
},
|
|
2128
|
+
'content-caps-m': {
|
|
2129
|
+
fontSize: 16,
|
|
2130
|
+
lineHeight: 18,
|
|
2131
|
+
allowedFontWeights: ['bold']
|
|
2132
|
+
},
|
|
2133
|
+
'content-caps-s': {
|
|
2134
|
+
fontSize: 14,
|
|
2135
|
+
lineHeight: 16,
|
|
2136
|
+
allowedFontWeights: ['bold']
|
|
2137
|
+
},
|
|
2138
|
+
'content-caps-xs': {
|
|
2139
|
+
fontSize: 12,
|
|
2140
|
+
lineHeight: 14,
|
|
2141
|
+
allowedFontWeights: ['bold']
|
|
2142
|
+
}
|
|
2188
2143
|
}
|
|
2189
2144
|
}
|
|
2190
|
-
},
|
|
2191
|
-
link: {
|
|
2192
|
-
/** @deprecated not used in kitt anymore, use Typography instead */
|
|
2193
|
-
disabledColor: colors.blackDisabled
|
|
2194
2145
|
}
|
|
2195
2146
|
};
|
|
2196
2147
|
|
|
@@ -2199,7 +2150,7 @@ const picker = {
|
|
|
2199
2150
|
ios: {
|
|
2200
2151
|
default: {
|
|
2201
2152
|
fontFamily: typography.types.bodies.fontFamily.native.regular,
|
|
2202
|
-
...typography.types.bodies.configs
|
|
2153
|
+
...typography.types.bodies.configs['body-m'],
|
|
2203
2154
|
fontSize: 16,
|
|
2204
2155
|
color: typography.colors['black-light'],
|
|
2205
2156
|
// Default height is hard coded in module because of iOS constraint (https://github.com/react-native-picker/picker/blob/abd5f9076baa3ef2277ea7e711fa5823683c110e/js/PickerIOS.ios.js#L156)
|
|
@@ -2232,19 +2183,19 @@ const picker = {
|
|
|
2232
2183
|
backgroundColor: colors.transparent
|
|
2233
2184
|
},
|
|
2234
2185
|
hovered: {
|
|
2235
|
-
backgroundColor:
|
|
2186
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2236
2187
|
},
|
|
2237
2188
|
focused: {
|
|
2238
|
-
backgroundColor:
|
|
2189
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2239
2190
|
},
|
|
2240
2191
|
selected: {
|
|
2241
|
-
backgroundColor:
|
|
2192
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2242
2193
|
},
|
|
2243
2194
|
highlighted: {
|
|
2244
|
-
backgroundColor:
|
|
2195
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2245
2196
|
},
|
|
2246
2197
|
pressed: {
|
|
2247
|
-
backgroundColor:
|
|
2198
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
2248
2199
|
}
|
|
2249
2200
|
}
|
|
2250
2201
|
},
|
|
@@ -2328,8 +2279,8 @@ const shadows = {
|
|
|
2328
2279
|
}
|
|
2329
2280
|
};
|
|
2330
2281
|
|
|
2331
|
-
const skeletonBackgroundColor =
|
|
2332
|
-
const skeletonFlareColor =
|
|
2282
|
+
const skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
|
|
2283
|
+
const skeletonFlareColor = deepPurpleColorPalette['beige.3'];
|
|
2333
2284
|
const skeleton = {
|
|
2334
2285
|
backgroundColor: skeletonBackgroundColor,
|
|
2335
2286
|
flareColor: skeletonFlareColor,
|
|
@@ -2352,20 +2303,6 @@ const skeleton = {
|
|
|
2352
2303
|
|
|
2353
2304
|
const tag = {
|
|
2354
2305
|
borderRadius: 16,
|
|
2355
|
-
variant: {
|
|
2356
|
-
contrast: {
|
|
2357
|
-
borderWidth: 0
|
|
2358
|
-
},
|
|
2359
|
-
fill: {
|
|
2360
|
-
borderWidth: 0
|
|
2361
|
-
},
|
|
2362
|
-
outline: {
|
|
2363
|
-
borderWidth: 1
|
|
2364
|
-
},
|
|
2365
|
-
subtle: {
|
|
2366
|
-
borderWidth: 0
|
|
2367
|
-
}
|
|
2368
|
-
},
|
|
2369
2306
|
icon: {
|
|
2370
2307
|
small: 16,
|
|
2371
2308
|
medium: 16,
|
|
@@ -2441,14 +2378,14 @@ const verticalSteps = {
|
|
|
2441
2378
|
},
|
|
2442
2379
|
done: {
|
|
2443
2380
|
icon: {
|
|
2444
|
-
backgroundColor:
|
|
2445
|
-
textColor: colors.
|
|
2381
|
+
backgroundColor: colors.primary,
|
|
2382
|
+
textColor: colors.white
|
|
2446
2383
|
}
|
|
2447
2384
|
},
|
|
2448
2385
|
default: {
|
|
2449
2386
|
icon: {
|
|
2450
2387
|
backgroundColor: colors.disabled,
|
|
2451
|
-
textColor:
|
|
2388
|
+
textColor: deepPurpleColorPalette['grey.3']
|
|
2452
2389
|
}
|
|
2453
2390
|
}
|
|
2454
2391
|
};
|
|
@@ -2482,7 +2419,7 @@ const theme = {
|
|
|
2482
2419
|
getSpacing: multiplier => spacing * multiplier,
|
|
2483
2420
|
colors,
|
|
2484
2421
|
palettes: {
|
|
2485
|
-
|
|
2422
|
+
deepPurple: deepPurpleColorPalette
|
|
2486
2423
|
},
|
|
2487
2424
|
avatar,
|
|
2488
2425
|
breakpoints,
|