@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
|
@@ -7,117 +7,81 @@ const hex2rgba = (hex, alpha = 1) => {
|
|
|
7
7
|
|
|
8
8
|
const createColorScale = colorScale => colorScale;
|
|
9
9
|
const colorScales = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
6: '#bab8ae',
|
|
17
|
-
7: '#aeaba3',
|
|
18
|
-
8: '#9c9a92',
|
|
19
|
-
9: '#8e8c83',
|
|
20
|
-
10: '#74726a',
|
|
21
|
-
11: '#3e3d3a',
|
|
22
|
-
12: '#282826'
|
|
10
|
+
deepPurple: createColorScale({
|
|
11
|
+
5: '#936C93',
|
|
12
|
+
6: '#7A587A',
|
|
13
|
+
7: '#6E4D6E',
|
|
14
|
+
8: '#563B56',
|
|
15
|
+
9: '#452F45'
|
|
23
16
|
}),
|
|
24
|
-
|
|
25
|
-
1: '#
|
|
26
|
-
2: '#
|
|
27
|
-
3: '#
|
|
28
|
-
4: '#
|
|
29
|
-
5: '#
|
|
30
|
-
6: '#
|
|
31
|
-
7: '#9180ff',
|
|
32
|
-
8: '#7b66ff',
|
|
33
|
-
9: '#624af7',
|
|
34
|
-
10: '#5139e1',
|
|
35
|
-
11: '#3a26b5',
|
|
36
|
-
12: '#0a0428'
|
|
17
|
+
beige: createColorScale({
|
|
18
|
+
1: '#F7F4EE',
|
|
19
|
+
2: '#F1ECE4',
|
|
20
|
+
3: '#EAE3D6',
|
|
21
|
+
4: '#E5DCCA',
|
|
22
|
+
5: '#DDD0B8',
|
|
23
|
+
6: '#C1B59F'
|
|
37
24
|
}),
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
25
|
+
lightning: createColorScale({
|
|
26
|
+
5: '#FFF500',
|
|
27
|
+
7: '#43390A'
|
|
28
|
+
}),
|
|
29
|
+
rainbow: createColorScale({
|
|
30
|
+
pink: '#E4A4F9',
|
|
31
|
+
brick: '#951D12',
|
|
32
|
+
orange: '#DB6E2E',
|
|
33
|
+
gold: '#9A7600',
|
|
34
|
+
sun: '#EFD346',
|
|
35
|
+
'green-pine': '#1C5D47',
|
|
36
|
+
'green-grass': '#4DA00A',
|
|
37
|
+
'green-apple': '#DEF985',
|
|
38
|
+
'blue-electric': '#2850C4',
|
|
39
|
+
'blue-sky': '#B2F0FD'
|
|
40
|
+
}),
|
|
41
|
+
grey: createColorScale({
|
|
42
|
+
0: '#ffffff',
|
|
43
|
+
1: '#ECECEC',
|
|
44
|
+
2: '#CDCED0',
|
|
45
|
+
3: '#A8A8A8',
|
|
46
|
+
5: '#838383',
|
|
47
|
+
7: '#505050',
|
|
48
|
+
9: '#101010'
|
|
51
49
|
}),
|
|
52
50
|
blue: createColorScale({
|
|
53
|
-
1: '#
|
|
54
|
-
2: '#
|
|
55
|
-
|
|
56
|
-
4: '#d4e0ff',
|
|
57
|
-
5: '#baceff',
|
|
58
|
-
6: '#a1bbff',
|
|
59
|
-
7: '#87a9ff',
|
|
60
|
-
8: '#6e96ff',
|
|
61
|
-
9: '#5383ff',
|
|
62
|
-
10: '#4170eb',
|
|
63
|
-
11: '#0e4381',
|
|
64
|
-
12: '#061c36'
|
|
51
|
+
1: '#E9F4FC',
|
|
52
|
+
2: '#BCDFF6',
|
|
53
|
+
6: '#1772AB'
|
|
65
54
|
}),
|
|
66
|
-
|
|
67
|
-
1: '#
|
|
68
|
-
2: '#
|
|
69
|
-
|
|
70
|
-
4: '#f0c7d4',
|
|
71
|
-
5: '#f0afc4',
|
|
72
|
-
6: '#f097b3',
|
|
73
|
-
7: '#f07fa3',
|
|
74
|
-
8: '#d95d84',
|
|
75
|
-
9: '#cf2a60',
|
|
76
|
-
10: '#c12558',
|
|
77
|
-
11: '#61192e',
|
|
78
|
-
12: '#29040f'
|
|
55
|
+
green: createColorScale({
|
|
56
|
+
1: '#ECFEDD',
|
|
57
|
+
2: '#DBFAC1',
|
|
58
|
+
6: '#438D06'
|
|
79
59
|
}),
|
|
80
|
-
|
|
81
|
-
1: '#
|
|
82
|
-
2: '#
|
|
83
|
-
|
|
84
|
-
4: '#ffcfcf',
|
|
85
|
-
5: '#ffb5b5',
|
|
86
|
-
6: '#ff9c9c',
|
|
87
|
-
7: '#f57d7d',
|
|
88
|
-
8: '#eb6565',
|
|
89
|
-
9: '#e55050',
|
|
90
|
-
10: '#da3d3d',
|
|
91
|
-
11: '#8a2b1e',
|
|
92
|
-
12: '#330c07'
|
|
60
|
+
yellow: createColorScale({
|
|
61
|
+
1: '#FDF8E7',
|
|
62
|
+
2: '#FAEBB8',
|
|
63
|
+
6: '#EFC11F'
|
|
93
64
|
}),
|
|
94
|
-
|
|
95
|
-
1: '#
|
|
96
|
-
2: '#
|
|
97
|
-
|
|
98
|
-
4: '#ffefc4',
|
|
99
|
-
5: '#ffe8ab',
|
|
100
|
-
6: '#ffe191',
|
|
101
|
-
7: '#ffda78',
|
|
102
|
-
8: '#ffd35e',
|
|
103
|
-
9: '#fdc32d',
|
|
104
|
-
10: '#f3a40c',
|
|
105
|
-
11: '#9f5600',
|
|
106
|
-
12: '#341c00'
|
|
65
|
+
red: createColorScale({
|
|
66
|
+
1: '#FDE4E3',
|
|
67
|
+
2: '#FAB8B8',
|
|
68
|
+
6: '#F14847'
|
|
107
69
|
}),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
70
|
+
'beige-alpha': createColorScale({
|
|
71
|
+
'25': '#C1B59F40',
|
|
72
|
+
'40': '#C1B59F66',
|
|
73
|
+
'50': '#C1B59F80'
|
|
74
|
+
}),
|
|
75
|
+
'grey-alpha': createColorScale({
|
|
76
|
+
'25': '#10101040',
|
|
77
|
+
'35': '#10101059',
|
|
78
|
+
'50': '#10101080'
|
|
79
|
+
}),
|
|
80
|
+
'white-alpha': createColorScale({
|
|
81
|
+
'10': '#FFFFFF1A',
|
|
82
|
+
'20': '#FFFFFF33',
|
|
83
|
+
'80': '#FFFFFFCC',
|
|
84
|
+
'90': '#FFFFFFE5'
|
|
121
85
|
})
|
|
122
86
|
};
|
|
123
87
|
const transformColorScalesToTokens = () => {
|
|
@@ -127,90 +91,44 @@ const transformColorScalesToTokens = () => {
|
|
|
127
91
|
});
|
|
128
92
|
}));
|
|
129
93
|
};
|
|
130
|
-
const
|
|
94
|
+
const deepPurpleColorPalette = {
|
|
131
95
|
...transformColorScalesToTokens(),
|
|
132
|
-
/** @deprecated use violine.9 instead */
|
|
133
|
-
lateOcean: colorScales.violine[9],
|
|
134
|
-
/** @deprecated use violine.8 instead */
|
|
135
|
-
lateOceanLight1: colorScales.violine[8],
|
|
136
|
-
/** @deprecated use violine.6 instead */
|
|
137
|
-
lateOceanLight2: colorScales.violine[6],
|
|
138
|
-
/** @deprecated use lavender.6 instead */
|
|
139
|
-
lateOceanLight3: colorScales.lavender[6],
|
|
140
|
-
/** @deprecated use violine.12 instead */
|
|
141
|
-
lateOceanDark1: colorScales.violine[12],
|
|
142
|
-
/** @deprecated use lavender.5 instead */
|
|
143
|
-
warmEmbrace: colorScales.lavender[5],
|
|
144
|
-
/** @deprecated use lavender.3 instead */
|
|
145
|
-
warmEmbraceLight1: colorScales.lavender[3],
|
|
146
96
|
white: '#FFFFFF',
|
|
147
97
|
black: '#000000',
|
|
148
|
-
|
|
149
|
-
black1000: '#000000',
|
|
150
|
-
/** @deprecated use eggshell.11 instead */
|
|
151
|
-
black800: colorScales.eggshell[11],
|
|
152
|
-
/** @deprecated use eggshell.10 instead */
|
|
153
|
-
black555: colorScales.eggshell[10],
|
|
154
|
-
/** @deprecated use eggshell.7 instead */
|
|
155
|
-
black400: colorScales.eggshell[7],
|
|
156
|
-
/** @deprecated use eggshell.4 instead */
|
|
157
|
-
black200: colorScales.eggshell[4],
|
|
158
|
-
/** @deprecated use eggshell.3 instead */
|
|
159
|
-
black100: colorScales.eggshell[3],
|
|
160
|
-
/** @deprecated use eggshell.2 instead */
|
|
161
|
-
black50: colorScales.eggshell[2],
|
|
162
|
-
/** @deprecated use eggshell.1 instead */
|
|
163
|
-
black25: colorScales.eggshell[1],
|
|
164
|
-
/** @deprecated use green.8 instead */
|
|
165
|
-
viride: colorScales.green[8],
|
|
166
|
-
/** @deprecated use coral.7 instead */
|
|
167
|
-
englishVermillon: colorScales.coral[7],
|
|
168
|
-
/** @deprecated use sun.8 instead */
|
|
169
|
-
goldCrayola: colorScales.sun[8],
|
|
170
|
-
/** @deprecated use blue.8 instead */
|
|
171
|
-
aero: colorScales.blue[8],
|
|
172
|
-
/** @deprecated use eggshell.1 instead */
|
|
173
|
-
seaShell: colorScales.eggshell[1],
|
|
174
|
-
transparent: 'transparent',
|
|
175
|
-
/** @deprecated use violine.4 instead */
|
|
176
|
-
moonPurple: colorScales.violine[4],
|
|
177
|
-
/** @deprecated use violine.2 instead */
|
|
178
|
-
moonPurpleLight1: colorScales.violine[2]
|
|
98
|
+
transparent: 'transparent'
|
|
179
99
|
};
|
|
180
100
|
|
|
181
101
|
const colors = {
|
|
182
|
-
primary:
|
|
183
|
-
primaryLight:
|
|
184
|
-
accent:
|
|
185
|
-
accentLight:
|
|
186
|
-
success:
|
|
187
|
-
correct:
|
|
188
|
-
danger:
|
|
189
|
-
info:
|
|
190
|
-
warning:
|
|
191
|
-
separator:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
transparent: lateOceanColorPalette.transparent,
|
|
201
|
-
disabled: lateOceanColorPalette['eggshell.2'],
|
|
102
|
+
primary: deepPurpleColorPalette['deepPurple.8'],
|
|
103
|
+
primaryLight: deepPurpleColorPalette['deepPurple.8'],
|
|
104
|
+
accent: deepPurpleColorPalette['beige.1'],
|
|
105
|
+
accentLight: deepPurpleColorPalette['beige.1'],
|
|
106
|
+
success: deepPurpleColorPalette['green.6'],
|
|
107
|
+
correct: deepPurpleColorPalette['green.6'],
|
|
108
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
109
|
+
info: deepPurpleColorPalette['blue.6'],
|
|
110
|
+
warning: deepPurpleColorPalette['yellow.6'],
|
|
111
|
+
separator: deepPurpleColorPalette['beige.3'],
|
|
112
|
+
white: deepPurpleColorPalette['grey.0'],
|
|
113
|
+
black: deepPurpleColorPalette['grey.9'],
|
|
114
|
+
blackLight: deepPurpleColorPalette['grey.5'],
|
|
115
|
+
blackAnthracite: deepPurpleColorPalette['grey.7'],
|
|
116
|
+
uiBackground: deepPurpleColorPalette['beige.1'],
|
|
117
|
+
uiBackgroundLight: deepPurpleColorPalette['grey.0'],
|
|
118
|
+
transparent: deepPurpleColorPalette.transparent,
|
|
119
|
+
disabled: deepPurpleColorPalette['grey.1'],
|
|
202
120
|
overlay: {
|
|
203
|
-
dark: '
|
|
204
|
-
light: '
|
|
121
|
+
dark: deepPurpleColorPalette['grey-alpha.50'],
|
|
122
|
+
light: deepPurpleColorPalette['white-alpha.80']
|
|
205
123
|
}
|
|
206
124
|
};
|
|
207
125
|
|
|
208
126
|
const actionCard = {
|
|
209
|
-
borderRadius:
|
|
127
|
+
borderRadius: 8,
|
|
210
128
|
primary: {
|
|
211
129
|
default: {
|
|
212
130
|
backgroundColor: colors.uiBackgroundLight,
|
|
213
|
-
borderColor:
|
|
131
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
214
132
|
borderWidth: 1,
|
|
215
133
|
shadow: {
|
|
216
134
|
color: '',
|
|
@@ -222,8 +140,8 @@ const actionCard = {
|
|
|
222
140
|
translateY: 0
|
|
223
141
|
},
|
|
224
142
|
hovered: {
|
|
225
|
-
backgroundColor:
|
|
226
|
-
borderColor:
|
|
143
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
144
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
227
145
|
borderWidth: 1,
|
|
228
146
|
shadow: {
|
|
229
147
|
color: '',
|
|
@@ -235,8 +153,8 @@ const actionCard = {
|
|
|
235
153
|
translateY: 0
|
|
236
154
|
},
|
|
237
155
|
disabled: {
|
|
238
|
-
backgroundColor:
|
|
239
|
-
borderColor:
|
|
156
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
157
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
240
158
|
borderWidth: 1,
|
|
241
159
|
shadow: {
|
|
242
160
|
color: '',
|
|
@@ -248,8 +166,8 @@ const actionCard = {
|
|
|
248
166
|
translateY: 0
|
|
249
167
|
},
|
|
250
168
|
focused: {
|
|
251
|
-
backgroundColor:
|
|
252
|
-
borderColor:
|
|
169
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
170
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
253
171
|
borderWidth: 1,
|
|
254
172
|
shadow: {
|
|
255
173
|
color: '',
|
|
@@ -261,8 +179,8 @@ const actionCard = {
|
|
|
261
179
|
translateY: 0
|
|
262
180
|
},
|
|
263
181
|
pressed: {
|
|
264
|
-
backgroundColor:
|
|
265
|
-
borderColor:
|
|
182
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
183
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
266
184
|
borderWidth: 1,
|
|
267
185
|
shadow: {
|
|
268
186
|
color: '',
|
|
@@ -277,10 +195,10 @@ const actionCard = {
|
|
|
277
195
|
'primary-border-soft': {
|
|
278
196
|
default: {
|
|
279
197
|
backgroundColor: colors.uiBackgroundLight,
|
|
280
|
-
borderColor:
|
|
198
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
281
199
|
borderWidth: 1,
|
|
282
200
|
shadow: {
|
|
283
|
-
color:
|
|
201
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
284
202
|
offsetX: 0,
|
|
285
203
|
offsetY: 4,
|
|
286
204
|
opacity: 1,
|
|
@@ -289,11 +207,11 @@ const actionCard = {
|
|
|
289
207
|
translateY: 0
|
|
290
208
|
},
|
|
291
209
|
hovered: {
|
|
292
|
-
backgroundColor:
|
|
293
|
-
borderColor:
|
|
210
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
211
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
294
212
|
borderWidth: 1,
|
|
295
213
|
shadow: {
|
|
296
|
-
color:
|
|
214
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
297
215
|
offsetX: 0,
|
|
298
216
|
offsetY: 4,
|
|
299
217
|
opacity: 1,
|
|
@@ -302,8 +220,8 @@ const actionCard = {
|
|
|
302
220
|
translateY: 0
|
|
303
221
|
},
|
|
304
222
|
disabled: {
|
|
305
|
-
backgroundColor:
|
|
306
|
-
borderColor:
|
|
223
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
224
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
307
225
|
borderWidth: 1,
|
|
308
226
|
shadow: {
|
|
309
227
|
color: '',
|
|
@@ -315,11 +233,11 @@ const actionCard = {
|
|
|
315
233
|
translateY: 0
|
|
316
234
|
},
|
|
317
235
|
focused: {
|
|
318
|
-
backgroundColor:
|
|
319
|
-
borderColor:
|
|
236
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
237
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
320
238
|
borderWidth: 1,
|
|
321
239
|
shadow: {
|
|
322
|
-
color:
|
|
240
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
323
241
|
offsetX: 0,
|
|
324
242
|
offsetY: 4,
|
|
325
243
|
opacity: 1,
|
|
@@ -328,8 +246,8 @@ const actionCard = {
|
|
|
328
246
|
translateY: 0
|
|
329
247
|
},
|
|
330
248
|
pressed: {
|
|
331
|
-
backgroundColor:
|
|
332
|
-
borderColor:
|
|
249
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
250
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
333
251
|
borderWidth: 1,
|
|
334
252
|
shadow: {
|
|
335
253
|
color: '',
|
|
@@ -344,10 +262,10 @@ const actionCard = {
|
|
|
344
262
|
'primary-border-hard': {
|
|
345
263
|
default: {
|
|
346
264
|
backgroundColor: colors.uiBackgroundLight,
|
|
347
|
-
borderColor:
|
|
265
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
348
266
|
borderWidth: 1,
|
|
349
267
|
shadow: {
|
|
350
|
-
color:
|
|
268
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
351
269
|
offsetX: 0,
|
|
352
270
|
offsetY: 4,
|
|
353
271
|
opacity: 1,
|
|
@@ -356,11 +274,11 @@ const actionCard = {
|
|
|
356
274
|
translateY: 0
|
|
357
275
|
},
|
|
358
276
|
hovered: {
|
|
359
|
-
backgroundColor:
|
|
360
|
-
borderColor:
|
|
277
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
278
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
361
279
|
borderWidth: 1,
|
|
362
280
|
shadow: {
|
|
363
|
-
color:
|
|
281
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
364
282
|
offsetX: 0,
|
|
365
283
|
offsetY: 4,
|
|
366
284
|
opacity: 1,
|
|
@@ -369,8 +287,8 @@ const actionCard = {
|
|
|
369
287
|
translateY: 0
|
|
370
288
|
},
|
|
371
289
|
disabled: {
|
|
372
|
-
backgroundColor:
|
|
373
|
-
borderColor:
|
|
290
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
291
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
374
292
|
borderWidth: 1,
|
|
375
293
|
shadow: {
|
|
376
294
|
color: '',
|
|
@@ -382,11 +300,11 @@ const actionCard = {
|
|
|
382
300
|
translateY: 0
|
|
383
301
|
},
|
|
384
302
|
focused: {
|
|
385
|
-
backgroundColor:
|
|
386
|
-
borderColor:
|
|
303
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
304
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
387
305
|
borderWidth: 1,
|
|
388
306
|
shadow: {
|
|
389
|
-
color:
|
|
307
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
390
308
|
offsetX: 0,
|
|
391
309
|
offsetY: 4,
|
|
392
310
|
opacity: 1,
|
|
@@ -395,8 +313,8 @@ const actionCard = {
|
|
|
395
313
|
translateY: 0
|
|
396
314
|
},
|
|
397
315
|
pressed: {
|
|
398
|
-
backgroundColor:
|
|
399
|
-
borderColor:
|
|
316
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
317
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
400
318
|
borderWidth: 1,
|
|
401
319
|
shadow: {
|
|
402
320
|
color: '',
|
|
@@ -410,8 +328,8 @@ const actionCard = {
|
|
|
410
328
|
},
|
|
411
329
|
secondary: {
|
|
412
330
|
default: {
|
|
413
|
-
backgroundColor:
|
|
414
|
-
borderColor:
|
|
331
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
332
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
415
333
|
borderWidth: 0,
|
|
416
334
|
shadow: {
|
|
417
335
|
color: '',
|
|
@@ -423,8 +341,8 @@ const actionCard = {
|
|
|
423
341
|
translateY: 0
|
|
424
342
|
},
|
|
425
343
|
disabled: {
|
|
426
|
-
backgroundColor:
|
|
427
|
-
borderColor:
|
|
344
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
345
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
428
346
|
borderWidth: 1,
|
|
429
347
|
shadow: {
|
|
430
348
|
color: '',
|
|
@@ -436,8 +354,8 @@ const actionCard = {
|
|
|
436
354
|
translateY: 0
|
|
437
355
|
},
|
|
438
356
|
hovered: {
|
|
439
|
-
backgroundColor:
|
|
440
|
-
borderColor:
|
|
357
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
358
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
441
359
|
borderWidth: 0,
|
|
442
360
|
shadow: {
|
|
443
361
|
color: '',
|
|
@@ -449,8 +367,8 @@ const actionCard = {
|
|
|
449
367
|
translateY: 0
|
|
450
368
|
},
|
|
451
369
|
focused: {
|
|
452
|
-
backgroundColor:
|
|
453
|
-
borderColor:
|
|
370
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
371
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
454
372
|
borderWidth: 0,
|
|
455
373
|
shadow: {
|
|
456
374
|
color: '',
|
|
@@ -462,8 +380,8 @@ const actionCard = {
|
|
|
462
380
|
translateY: 0
|
|
463
381
|
},
|
|
464
382
|
pressed: {
|
|
465
|
-
backgroundColor:
|
|
466
|
-
borderColor:
|
|
383
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
384
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
467
385
|
borderWidth: 0,
|
|
468
386
|
shadow: {
|
|
469
387
|
color: '',
|
|
@@ -477,11 +395,11 @@ const actionCard = {
|
|
|
477
395
|
},
|
|
478
396
|
highlight: {
|
|
479
397
|
default: {
|
|
480
|
-
backgroundColor:
|
|
481
|
-
borderColor:
|
|
398
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
399
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
482
400
|
borderWidth: 1,
|
|
483
401
|
shadow: {
|
|
484
|
-
color:
|
|
402
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
485
403
|
offsetX: 0,
|
|
486
404
|
offsetY: 4,
|
|
487
405
|
opacity: 1,
|
|
@@ -490,8 +408,8 @@ const actionCard = {
|
|
|
490
408
|
translateY: 0
|
|
491
409
|
},
|
|
492
410
|
disabled: {
|
|
493
|
-
backgroundColor:
|
|
494
|
-
borderColor:
|
|
411
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
412
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
495
413
|
borderWidth: 1,
|
|
496
414
|
shadow: {
|
|
497
415
|
color: '',
|
|
@@ -503,11 +421,11 @@ const actionCard = {
|
|
|
503
421
|
translateY: 0
|
|
504
422
|
},
|
|
505
423
|
hovered: {
|
|
506
|
-
backgroundColor: hex2rgba(
|
|
507
|
-
borderColor:
|
|
424
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
425
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
508
426
|
borderWidth: 1,
|
|
509
427
|
shadow: {
|
|
510
|
-
color:
|
|
428
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
511
429
|
offsetX: 0,
|
|
512
430
|
offsetY: 4,
|
|
513
431
|
opacity: 1,
|
|
@@ -516,11 +434,11 @@ const actionCard = {
|
|
|
516
434
|
translateY: 0
|
|
517
435
|
},
|
|
518
436
|
focused: {
|
|
519
|
-
backgroundColor: hex2rgba(
|
|
520
|
-
borderColor:
|
|
437
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
438
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
521
439
|
borderWidth: 1,
|
|
522
440
|
shadow: {
|
|
523
|
-
color:
|
|
441
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
524
442
|
offsetX: 0,
|
|
525
443
|
offsetY: 4,
|
|
526
444
|
opacity: 1,
|
|
@@ -529,8 +447,8 @@ const actionCard = {
|
|
|
529
447
|
translateY: 0
|
|
530
448
|
},
|
|
531
449
|
pressed: {
|
|
532
|
-
backgroundColor: hex2rgba(
|
|
533
|
-
borderColor:
|
|
450
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
451
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
534
452
|
borderWidth: 1,
|
|
535
453
|
shadow: {
|
|
536
454
|
color: '',
|
|
@@ -548,42 +466,28 @@ const defaultAvatarSize = 40;
|
|
|
548
466
|
const defaultAvatarIconSize = 20;
|
|
549
467
|
const largeAvatarSize = 120;
|
|
550
468
|
const largeAvatarIconSize = 30;
|
|
551
|
-
|
|
552
|
-
// export interface AvatarThemeBackgroundColorVariant {
|
|
553
|
-
// default: string;
|
|
554
|
-
// light: string;
|
|
555
|
-
// dark: string;
|
|
556
|
-
// disabled: string;
|
|
557
|
-
// }
|
|
558
|
-
|
|
559
|
-
// export interface AvatarThemeColorVariant {
|
|
560
|
-
// default: string;
|
|
561
|
-
// light: string;
|
|
562
|
-
// disabled: string;
|
|
563
|
-
// }
|
|
564
|
-
|
|
565
469
|
const avatar = {
|
|
566
|
-
borderRadius:
|
|
470
|
+
borderRadius: 4,
|
|
567
471
|
size: defaultAvatarSize,
|
|
568
472
|
iconSize: defaultAvatarIconSize,
|
|
569
473
|
default: {
|
|
570
|
-
color:
|
|
571
|
-
backgroundColor:
|
|
474
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
475
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.8']
|
|
572
476
|
},
|
|
573
477
|
light: {
|
|
574
|
-
color:
|
|
575
|
-
backgroundColor:
|
|
478
|
+
color: deepPurpleColorPalette['beige.6'],
|
|
479
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
576
480
|
},
|
|
577
481
|
dark: {
|
|
578
|
-
color:
|
|
579
|
-
backgroundColor:
|
|
482
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
483
|
+
backgroundColor: deepPurpleColorPalette['grey.9']
|
|
580
484
|
},
|
|
581
485
|
disabled: {
|
|
582
|
-
color:
|
|
583
|
-
backgroundColor:
|
|
486
|
+
color: deepPurpleColorPalette['grey.3'],
|
|
487
|
+
backgroundColor: deepPurpleColorPalette['grey.1']
|
|
584
488
|
},
|
|
585
489
|
large: {
|
|
586
|
-
borderRadius:
|
|
490
|
+
borderRadius: 8,
|
|
587
491
|
size: largeAvatarSize,
|
|
588
492
|
iconSize: largeAvatarIconSize
|
|
589
493
|
}
|
|
@@ -596,7 +500,7 @@ const bottomSheet = {
|
|
|
596
500
|
padding: spacing * 4
|
|
597
501
|
},
|
|
598
502
|
handle: {
|
|
599
|
-
backgroundColor:
|
|
503
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
600
504
|
}
|
|
601
505
|
};
|
|
602
506
|
|
|
@@ -664,9 +568,9 @@ const button = {
|
|
|
664
568
|
pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
665
569
|
hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
666
570
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
667
|
-
color:
|
|
668
|
-
hoverColor:
|
|
669
|
-
activeColor:
|
|
571
|
+
color: deepPurpleColorPalette.white,
|
|
572
|
+
hoverColor: deepPurpleColorPalette.white,
|
|
573
|
+
activeColor: deepPurpleColorPalette.white
|
|
670
574
|
}
|
|
671
575
|
},
|
|
672
576
|
primary: {
|
|
@@ -679,11 +583,11 @@ const button = {
|
|
|
679
583
|
ghost: {
|
|
680
584
|
backgroundColor: colors.uiBackgroundLight,
|
|
681
585
|
pressedBackgroundColor: colors.uiBackground,
|
|
682
|
-
hoverBackgroundColor:
|
|
586
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
683
587
|
focusBorderColor: 'rgba(255,255,255, 0.4)',
|
|
684
588
|
color: colors.primary,
|
|
685
|
-
hoverColor:
|
|
686
|
-
activeColor:
|
|
589
|
+
hoverColor: deepPurpleColorPalette['beige.2'],
|
|
590
|
+
activeColor: deepPurpleColorPalette['beige.2']
|
|
687
591
|
}
|
|
688
592
|
},
|
|
689
593
|
dark: {
|
|
@@ -696,19 +600,19 @@ const button = {
|
|
|
696
600
|
},
|
|
697
601
|
danger: {
|
|
698
602
|
default: {
|
|
699
|
-
backgroundColor:
|
|
700
|
-
pressedBackgroundColor:
|
|
701
|
-
hoverBackgroundColor:
|
|
702
|
-
focusBorderColor:
|
|
603
|
+
backgroundColor: deepPurpleColorPalette['red.1'],
|
|
604
|
+
pressedBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
605
|
+
hoverBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
606
|
+
focusBorderColor: deepPurpleColorPalette['red.2']
|
|
703
607
|
},
|
|
704
608
|
ghost: {
|
|
705
609
|
backgroundColor: colors.uiBackgroundLight,
|
|
706
610
|
pressedBackgroundColor: colors.uiBackground,
|
|
707
|
-
hoverBackgroundColor:
|
|
611
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
708
612
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
709
|
-
color:
|
|
710
|
-
hoverColor:
|
|
711
|
-
activeColor:
|
|
613
|
+
color: deepPurpleColorPalette['red.6'],
|
|
614
|
+
hoverColor: deepPurpleColorPalette['red.6'],
|
|
615
|
+
activeColor: deepPurpleColorPalette['red.6']
|
|
712
616
|
}
|
|
713
617
|
},
|
|
714
618
|
subtle: {
|
|
@@ -749,14 +653,14 @@ const button = {
|
|
|
749
653
|
backgroundColor: colors.disabled,
|
|
750
654
|
pressedBackgroundColor: colors.disabled,
|
|
751
655
|
hoverBackgroundColor: colors.disabled,
|
|
752
|
-
focusBorderColor:
|
|
753
|
-
borderColor:
|
|
656
|
+
focusBorderColor: deepPurpleColorPalette['beige.2'],
|
|
657
|
+
borderColor: deepPurpleColorPalette['beige.2']
|
|
754
658
|
}
|
|
755
659
|
}
|
|
756
660
|
};
|
|
757
661
|
|
|
758
662
|
const buttonBadge = {
|
|
759
|
-
backgroundColor:
|
|
663
|
+
backgroundColor: deepPurpleColorPalette['red.6'],
|
|
760
664
|
dimensions: {
|
|
761
665
|
withBadge: {
|
|
762
666
|
width: 10,
|
|
@@ -785,7 +689,7 @@ const card = {
|
|
|
785
689
|
borderColor: colors.separator
|
|
786
690
|
},
|
|
787
691
|
subtle: {
|
|
788
|
-
backgroundColor:
|
|
692
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
789
693
|
borderColor: colors.separator
|
|
790
694
|
}
|
|
791
695
|
};
|
|
@@ -845,17 +749,17 @@ const choices = {
|
|
|
845
749
|
small: 24
|
|
846
750
|
},
|
|
847
751
|
backgroundColor: {
|
|
848
|
-
default:
|
|
752
|
+
default: deepPurpleColorPalette['beige.1'],
|
|
849
753
|
disabled: colors.disabled,
|
|
850
754
|
selected: colors.primary,
|
|
851
|
-
pressed:
|
|
852
|
-
hover:
|
|
853
|
-
hoverWhenSelected:
|
|
755
|
+
pressed: deepPurpleColorPalette['deepPurple.7'],
|
|
756
|
+
hover: deepPurpleColorPalette['beige.2'],
|
|
757
|
+
hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
|
|
854
758
|
},
|
|
855
759
|
disabled: {
|
|
856
760
|
border: {
|
|
857
761
|
width: 2,
|
|
858
|
-
color:
|
|
762
|
+
color: deepPurpleColorPalette['beige.2']
|
|
859
763
|
}
|
|
860
764
|
},
|
|
861
765
|
transition: {
|
|
@@ -920,19 +824,19 @@ const autocomplete = {
|
|
|
920
824
|
backgroundColor: colors.white
|
|
921
825
|
},
|
|
922
826
|
hovered: {
|
|
923
|
-
backgroundColor:
|
|
827
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
924
828
|
},
|
|
925
829
|
focused: {
|
|
926
|
-
backgroundColor:
|
|
830
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
927
831
|
},
|
|
928
832
|
selected: {
|
|
929
|
-
backgroundColor:
|
|
833
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
930
834
|
},
|
|
931
835
|
highlighted: {
|
|
932
|
-
backgroundColor:
|
|
836
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
933
837
|
},
|
|
934
838
|
pressed: {
|
|
935
|
-
backgroundColor:
|
|
839
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
936
840
|
}
|
|
937
841
|
},
|
|
938
842
|
optionsContainer: {
|
|
@@ -1000,37 +904,37 @@ const datePicker = {
|
|
|
1000
904
|
|
|
1001
905
|
const inputStatesStyle = {
|
|
1002
906
|
default: {
|
|
1003
|
-
backgroundColor:
|
|
1004
|
-
borderColor:
|
|
1005
|
-
color:
|
|
907
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
908
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
909
|
+
color: deepPurpleColorPalette.black
|
|
1006
910
|
},
|
|
1007
911
|
pending: {
|
|
1008
|
-
backgroundColor:
|
|
1009
|
-
borderColor:
|
|
1010
|
-
color:
|
|
912
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
913
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
914
|
+
color: deepPurpleColorPalette.black
|
|
1011
915
|
},
|
|
1012
916
|
valid: {
|
|
1013
|
-
backgroundColor:
|
|
1014
|
-
borderColor:
|
|
1015
|
-
color:
|
|
917
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
918
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
919
|
+
color: deepPurpleColorPalette.black
|
|
1016
920
|
},
|
|
1017
921
|
hover: {
|
|
1018
|
-
backgroundColor:
|
|
1019
|
-
borderColor:
|
|
1020
|
-
color:
|
|
922
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
923
|
+
borderColor: deepPurpleColorPalette['beige.4'],
|
|
924
|
+
color: deepPurpleColorPalette.black
|
|
1021
925
|
},
|
|
1022
926
|
focus: {
|
|
1023
|
-
borderColor:
|
|
1024
|
-
color:
|
|
927
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
928
|
+
color: deepPurpleColorPalette.black
|
|
1025
929
|
},
|
|
1026
930
|
disabled: {
|
|
1027
|
-
backgroundColor:
|
|
1028
|
-
borderColor:
|
|
1029
|
-
color:
|
|
931
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
932
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
933
|
+
color: deepPurpleColorPalette['grey.3']
|
|
1030
934
|
},
|
|
1031
935
|
invalid: {
|
|
1032
|
-
borderColor:
|
|
1033
|
-
color:
|
|
936
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
937
|
+
color: deepPurpleColorPalette.black
|
|
1034
938
|
}
|
|
1035
939
|
};
|
|
1036
940
|
const webAnimationDuration = '200ms';
|
|
@@ -1039,11 +943,11 @@ const webAnimationProperties = ['border-color', 'background-color'];
|
|
|
1039
943
|
const input = {
|
|
1040
944
|
minHeight: 40,
|
|
1041
945
|
color: {
|
|
1042
|
-
selection:
|
|
1043
|
-
placeholder:
|
|
946
|
+
selection: deepPurpleColorPalette['deepPurple.8'],
|
|
947
|
+
placeholder: deepPurpleColorPalette['beige.6']
|
|
1044
948
|
},
|
|
1045
949
|
borderWidth: 1,
|
|
1046
|
-
borderRadius:
|
|
950
|
+
borderRadius: 4,
|
|
1047
951
|
icon: {
|
|
1048
952
|
size: 20
|
|
1049
953
|
},
|
|
@@ -1080,7 +984,7 @@ const inputTag = {
|
|
|
1080
984
|
labelColor: colors.uiBackgroundLight
|
|
1081
985
|
},
|
|
1082
986
|
default: {
|
|
1083
|
-
backgroundColor:
|
|
987
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1084
988
|
labelColor: colors.black
|
|
1085
989
|
},
|
|
1086
990
|
borderRadius: 10,
|
|
@@ -1090,9 +994,9 @@ const inputTag = {
|
|
|
1090
994
|
const radio = {
|
|
1091
995
|
size: 24,
|
|
1092
996
|
unchecked: {
|
|
1093
|
-
borderWidth:
|
|
997
|
+
borderWidth: 1,
|
|
1094
998
|
backgroundColor: colors.uiBackgroundLight,
|
|
1095
|
-
borderColor:
|
|
999
|
+
borderColor: deepPurpleColorPalette['beige.3']
|
|
1096
1000
|
},
|
|
1097
1001
|
checked: {
|
|
1098
1002
|
backgroundColor: colors.primary,
|
|
@@ -1109,8 +1013,9 @@ const radio = {
|
|
|
1109
1013
|
borderColor: colors.primary
|
|
1110
1014
|
},
|
|
1111
1015
|
disabled: {
|
|
1112
|
-
backgroundColor:
|
|
1113
|
-
borderColor: colors.
|
|
1016
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1017
|
+
borderColor: colors.transparent,
|
|
1018
|
+
innerBackgroundColor: deepPurpleColorPalette['grey.1']
|
|
1114
1019
|
},
|
|
1115
1020
|
transition: {
|
|
1116
1021
|
duration: '200ms',
|
|
@@ -1121,14 +1026,19 @@ const radio = {
|
|
|
1121
1026
|
const radioButtonGroup = {
|
|
1122
1027
|
item: {
|
|
1123
1028
|
minHeight: 40,
|
|
1124
|
-
borderWidth:
|
|
1125
|
-
borderRadius:
|
|
1029
|
+
borderWidth: 1,
|
|
1030
|
+
borderRadius: 4,
|
|
1031
|
+
font: {
|
|
1032
|
+
color: {
|
|
1033
|
+
disabled: deepPurpleColorPalette['grey.3']
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1126
1036
|
borderColor: {
|
|
1127
1037
|
default: colors.separator,
|
|
1128
1038
|
hover: colors.primary,
|
|
1129
1039
|
pressed: colors.primary,
|
|
1130
1040
|
active: colors.primary,
|
|
1131
|
-
disabled: colors.
|
|
1041
|
+
disabled: colors.disabled
|
|
1132
1042
|
},
|
|
1133
1043
|
backgroundColor: {
|
|
1134
1044
|
default: colors.uiBackgroundLight,
|
|
@@ -1169,17 +1079,17 @@ const toggle = {
|
|
|
1169
1079
|
medium: 50,
|
|
1170
1080
|
large: 66
|
|
1171
1081
|
},
|
|
1172
|
-
labelColor:
|
|
1082
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1173
1083
|
backgroundColor: {
|
|
1174
|
-
checked:
|
|
1175
|
-
unchecked:
|
|
1084
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1085
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1176
1086
|
},
|
|
1177
1087
|
border: {
|
|
1178
1088
|
color: 'transparent',
|
|
1179
1089
|
width: 1
|
|
1180
1090
|
},
|
|
1181
1091
|
circle: {
|
|
1182
|
-
backgroundColor:
|
|
1092
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1183
1093
|
width: {
|
|
1184
1094
|
medium: 18,
|
|
1185
1095
|
large: 24
|
|
@@ -1207,17 +1117,17 @@ const toggle = {
|
|
|
1207
1117
|
medium: 50,
|
|
1208
1118
|
large: 66
|
|
1209
1119
|
},
|
|
1210
|
-
labelColor:
|
|
1120
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1211
1121
|
backgroundColor: {
|
|
1212
|
-
checked:
|
|
1213
|
-
unchecked:
|
|
1122
|
+
checked: deepPurpleColorPalette['deepPurple.7'],
|
|
1123
|
+
unchecked: deepPurpleColorPalette['beige.4']
|
|
1214
1124
|
},
|
|
1215
1125
|
border: {
|
|
1216
1126
|
color: 'transparent',
|
|
1217
1127
|
width: 1
|
|
1218
1128
|
},
|
|
1219
1129
|
circle: {
|
|
1220
|
-
backgroundColor:
|
|
1130
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1221
1131
|
width: {
|
|
1222
1132
|
medium: 18,
|
|
1223
1133
|
large: 24
|
|
@@ -1245,17 +1155,17 @@ const toggle = {
|
|
|
1245
1155
|
medium: 50,
|
|
1246
1156
|
large: 66
|
|
1247
1157
|
},
|
|
1248
|
-
labelColor:
|
|
1158
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1249
1159
|
backgroundColor: {
|
|
1250
|
-
checked:
|
|
1251
|
-
unchecked:
|
|
1160
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1161
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1252
1162
|
},
|
|
1253
1163
|
border: {
|
|
1254
|
-
color:
|
|
1164
|
+
color: deepPurpleColorPalette.white,
|
|
1255
1165
|
width: 1
|
|
1256
1166
|
},
|
|
1257
1167
|
circle: {
|
|
1258
|
-
backgroundColor:
|
|
1168
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1259
1169
|
width: {
|
|
1260
1170
|
medium: 18,
|
|
1261
1171
|
large: 24
|
|
@@ -1270,7 +1180,7 @@ const toggle = {
|
|
|
1270
1180
|
}
|
|
1271
1181
|
},
|
|
1272
1182
|
wrapperBorder: {
|
|
1273
|
-
color:
|
|
1183
|
+
color: deepPurpleColorPalette.black,
|
|
1274
1184
|
width: 1
|
|
1275
1185
|
}
|
|
1276
1186
|
},
|
|
@@ -1283,17 +1193,17 @@ const toggle = {
|
|
|
1283
1193
|
medium: 50,
|
|
1284
1194
|
large: 66
|
|
1285
1195
|
},
|
|
1286
|
-
labelColor:
|
|
1196
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1287
1197
|
backgroundColor: {
|
|
1288
|
-
checked:
|
|
1289
|
-
unchecked:
|
|
1198
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1199
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1290
1200
|
},
|
|
1291
1201
|
border: {
|
|
1292
|
-
color:
|
|
1202
|
+
color: deepPurpleColorPalette.white,
|
|
1293
1203
|
width: 1
|
|
1294
1204
|
},
|
|
1295
1205
|
circle: {
|
|
1296
|
-
backgroundColor:
|
|
1206
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1297
1207
|
width: {
|
|
1298
1208
|
medium: 18,
|
|
1299
1209
|
large: 24
|
|
@@ -1308,7 +1218,7 @@ const toggle = {
|
|
|
1308
1218
|
}
|
|
1309
1219
|
},
|
|
1310
1220
|
wrapperBorder: {
|
|
1311
|
-
color:
|
|
1221
|
+
color: deepPurpleColorPalette.black,
|
|
1312
1222
|
width: 1
|
|
1313
1223
|
}
|
|
1314
1224
|
}
|
|
@@ -1323,17 +1233,17 @@ const toggle = {
|
|
|
1323
1233
|
medium: 50,
|
|
1324
1234
|
large: 66
|
|
1325
1235
|
},
|
|
1326
|
-
labelColor:
|
|
1236
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1327
1237
|
backgroundColor: {
|
|
1328
|
-
checked:
|
|
1329
|
-
unchecked:
|
|
1238
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1239
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1330
1240
|
},
|
|
1331
1241
|
border: {
|
|
1332
1242
|
color: 'transparent',
|
|
1333
1243
|
width: 1
|
|
1334
1244
|
},
|
|
1335
1245
|
circle: {
|
|
1336
|
-
backgroundColor:
|
|
1246
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1337
1247
|
width: {
|
|
1338
1248
|
medium: 18,
|
|
1339
1249
|
large: 24
|
|
@@ -1361,17 +1271,17 @@ const toggle = {
|
|
|
1361
1271
|
medium: 50,
|
|
1362
1272
|
large: 66
|
|
1363
1273
|
},
|
|
1364
|
-
labelColor:
|
|
1274
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1365
1275
|
backgroundColor: {
|
|
1366
|
-
checked:
|
|
1367
|
-
unchecked:
|
|
1276
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1277
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1368
1278
|
},
|
|
1369
1279
|
border: {
|
|
1370
1280
|
color: 'transparent',
|
|
1371
1281
|
width: 1
|
|
1372
1282
|
},
|
|
1373
1283
|
circle: {
|
|
1374
|
-
backgroundColor:
|
|
1284
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1375
1285
|
width: {
|
|
1376
1286
|
medium: 18,
|
|
1377
1287
|
large: 24
|
|
@@ -1399,17 +1309,17 @@ const toggle = {
|
|
|
1399
1309
|
medium: 50,
|
|
1400
1310
|
large: 66
|
|
1401
1311
|
},
|
|
1402
|
-
labelColor:
|
|
1312
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1403
1313
|
backgroundColor: {
|
|
1404
|
-
checked:
|
|
1405
|
-
unchecked:
|
|
1314
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1315
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1406
1316
|
},
|
|
1407
1317
|
border: {
|
|
1408
1318
|
color: 'transparent',
|
|
1409
1319
|
width: 1
|
|
1410
1320
|
},
|
|
1411
1321
|
circle: {
|
|
1412
|
-
backgroundColor:
|
|
1322
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1413
1323
|
width: {
|
|
1414
1324
|
medium: 18,
|
|
1415
1325
|
large: 24
|
|
@@ -1424,7 +1334,7 @@ const toggle = {
|
|
|
1424
1334
|
}
|
|
1425
1335
|
},
|
|
1426
1336
|
wrapperBorder: {
|
|
1427
|
-
color:
|
|
1337
|
+
color: deepPurpleColorPalette.black,
|
|
1428
1338
|
width: 1
|
|
1429
1339
|
}
|
|
1430
1340
|
},
|
|
@@ -1437,17 +1347,17 @@ const toggle = {
|
|
|
1437
1347
|
medium: 50,
|
|
1438
1348
|
large: 66
|
|
1439
1349
|
},
|
|
1440
|
-
labelColor:
|
|
1350
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1441
1351
|
backgroundColor: {
|
|
1442
|
-
checked:
|
|
1443
|
-
unchecked:
|
|
1352
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1353
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1444
1354
|
},
|
|
1445
1355
|
border: {
|
|
1446
1356
|
color: 'transparent',
|
|
1447
1357
|
width: 1
|
|
1448
1358
|
},
|
|
1449
1359
|
circle: {
|
|
1450
|
-
backgroundColor:
|
|
1360
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1451
1361
|
width: {
|
|
1452
1362
|
medium: 18,
|
|
1453
1363
|
large: 24
|
|
@@ -1462,7 +1372,7 @@ const toggle = {
|
|
|
1462
1372
|
}
|
|
1463
1373
|
},
|
|
1464
1374
|
wrapperBorder: {
|
|
1465
|
-
color:
|
|
1375
|
+
color: deepPurpleColorPalette.black,
|
|
1466
1376
|
width: 1
|
|
1467
1377
|
}
|
|
1468
1378
|
}
|
|
@@ -1479,17 +1389,17 @@ const toggle = {
|
|
|
1479
1389
|
medium: 50,
|
|
1480
1390
|
large: 66
|
|
1481
1391
|
},
|
|
1482
|
-
labelColor:
|
|
1392
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1483
1393
|
backgroundColor: {
|
|
1484
|
-
checked:
|
|
1485
|
-
unchecked:
|
|
1394
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1395
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1486
1396
|
},
|
|
1487
1397
|
border: {
|
|
1488
1398
|
color: 'transparent',
|
|
1489
1399
|
width: 1
|
|
1490
1400
|
},
|
|
1491
1401
|
circle: {
|
|
1492
|
-
backgroundColor:
|
|
1402
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1493
1403
|
width: {
|
|
1494
1404
|
medium: 18,
|
|
1495
1405
|
large: 24
|
|
@@ -1517,17 +1427,17 @@ const toggle = {
|
|
|
1517
1427
|
medium: 50,
|
|
1518
1428
|
large: 66
|
|
1519
1429
|
},
|
|
1520
|
-
labelColor:
|
|
1430
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1521
1431
|
backgroundColor: {
|
|
1522
|
-
checked:
|
|
1523
|
-
unchecked:
|
|
1432
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1433
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1524
1434
|
},
|
|
1525
1435
|
border: {
|
|
1526
1436
|
color: 'transparent',
|
|
1527
1437
|
width: 1
|
|
1528
1438
|
},
|
|
1529
1439
|
circle: {
|
|
1530
|
-
backgroundColor:
|
|
1440
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1531
1441
|
width: {
|
|
1532
1442
|
medium: 18,
|
|
1533
1443
|
large: 24
|
|
@@ -1555,17 +1465,17 @@ const toggle = {
|
|
|
1555
1465
|
medium: 50,
|
|
1556
1466
|
large: 66
|
|
1557
1467
|
},
|
|
1558
|
-
labelColor:
|
|
1468
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1559
1469
|
backgroundColor: {
|
|
1560
|
-
checked:
|
|
1561
|
-
unchecked:
|
|
1470
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1471
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1562
1472
|
},
|
|
1563
1473
|
border: {
|
|
1564
|
-
color:
|
|
1474
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1565
1475
|
width: 1
|
|
1566
1476
|
},
|
|
1567
1477
|
circle: {
|
|
1568
|
-
backgroundColor:
|
|
1478
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1569
1479
|
width: {
|
|
1570
1480
|
medium: 18,
|
|
1571
1481
|
large: 24
|
|
@@ -1580,7 +1490,7 @@ const toggle = {
|
|
|
1580
1490
|
}
|
|
1581
1491
|
},
|
|
1582
1492
|
wrapperBorder: {
|
|
1583
|
-
color:
|
|
1493
|
+
color: deepPurpleColorPalette.white,
|
|
1584
1494
|
width: 1
|
|
1585
1495
|
}
|
|
1586
1496
|
},
|
|
@@ -1593,17 +1503,17 @@ const toggle = {
|
|
|
1593
1503
|
medium: 50,
|
|
1594
1504
|
large: 66
|
|
1595
1505
|
},
|
|
1596
|
-
labelColor:
|
|
1506
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1597
1507
|
backgroundColor: {
|
|
1598
|
-
checked:
|
|
1599
|
-
unchecked:
|
|
1508
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1509
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1600
1510
|
},
|
|
1601
1511
|
border: {
|
|
1602
|
-
color:
|
|
1512
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1603
1513
|
width: 1
|
|
1604
1514
|
},
|
|
1605
1515
|
circle: {
|
|
1606
|
-
backgroundColor:
|
|
1516
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1607
1517
|
width: {
|
|
1608
1518
|
medium: 18,
|
|
1609
1519
|
large: 24
|
|
@@ -1618,7 +1528,7 @@ const toggle = {
|
|
|
1618
1528
|
}
|
|
1619
1529
|
},
|
|
1620
1530
|
wrapperBorder: {
|
|
1621
|
-
color:
|
|
1531
|
+
color: deepPurpleColorPalette.white,
|
|
1622
1532
|
width: 1
|
|
1623
1533
|
}
|
|
1624
1534
|
}
|
|
@@ -1633,17 +1543,17 @@ const toggle = {
|
|
|
1633
1543
|
medium: 50,
|
|
1634
1544
|
large: 66
|
|
1635
1545
|
},
|
|
1636
|
-
labelColor:
|
|
1546
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1637
1547
|
backgroundColor: {
|
|
1638
|
-
checked:
|
|
1639
|
-
unchecked:
|
|
1548
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1549
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1640
1550
|
},
|
|
1641
1551
|
border: {
|
|
1642
1552
|
color: 'transparent',
|
|
1643
1553
|
width: 1
|
|
1644
1554
|
},
|
|
1645
1555
|
circle: {
|
|
1646
|
-
backgroundColor:
|
|
1556
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1647
1557
|
width: {
|
|
1648
1558
|
medium: 18,
|
|
1649
1559
|
large: 24
|
|
@@ -1671,17 +1581,17 @@ const toggle = {
|
|
|
1671
1581
|
medium: 50,
|
|
1672
1582
|
large: 66
|
|
1673
1583
|
},
|
|
1674
|
-
labelColor:
|
|
1584
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1675
1585
|
backgroundColor: {
|
|
1676
|
-
checked:
|
|
1677
|
-
unchecked:
|
|
1586
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1587
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1678
1588
|
},
|
|
1679
1589
|
border: {
|
|
1680
1590
|
color: 'transparent',
|
|
1681
1591
|
width: 1
|
|
1682
1592
|
},
|
|
1683
1593
|
circle: {
|
|
1684
|
-
backgroundColor:
|
|
1594
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1685
1595
|
width: {
|
|
1686
1596
|
medium: 18,
|
|
1687
1597
|
large: 24
|
|
@@ -1709,17 +1619,17 @@ const toggle = {
|
|
|
1709
1619
|
medium: 50,
|
|
1710
1620
|
large: 66
|
|
1711
1621
|
},
|
|
1712
|
-
labelColor:
|
|
1622
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1713
1623
|
backgroundColor: {
|
|
1714
|
-
checked:
|
|
1715
|
-
unchecked:
|
|
1624
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1625
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1716
1626
|
},
|
|
1717
1627
|
border: {
|
|
1718
|
-
color:
|
|
1628
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1719
1629
|
width: 1
|
|
1720
1630
|
},
|
|
1721
1631
|
circle: {
|
|
1722
|
-
backgroundColor:
|
|
1632
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1723
1633
|
width: {
|
|
1724
1634
|
medium: 18,
|
|
1725
1635
|
large: 24
|
|
@@ -1734,7 +1644,7 @@ const toggle = {
|
|
|
1734
1644
|
}
|
|
1735
1645
|
},
|
|
1736
1646
|
wrapperBorder: {
|
|
1737
|
-
color:
|
|
1647
|
+
color: deepPurpleColorPalette.white,
|
|
1738
1648
|
width: 1
|
|
1739
1649
|
}
|
|
1740
1650
|
},
|
|
@@ -1747,17 +1657,17 @@ const toggle = {
|
|
|
1747
1657
|
medium: 50,
|
|
1748
1658
|
large: 66
|
|
1749
1659
|
},
|
|
1750
|
-
labelColor:
|
|
1660
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1751
1661
|
backgroundColor: {
|
|
1752
|
-
checked:
|
|
1753
|
-
unchecked:
|
|
1662
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1663
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1754
1664
|
},
|
|
1755
1665
|
border: {
|
|
1756
|
-
color:
|
|
1666
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1757
1667
|
width: 1
|
|
1758
1668
|
},
|
|
1759
1669
|
circle: {
|
|
1760
|
-
backgroundColor:
|
|
1670
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1761
1671
|
width: {
|
|
1762
1672
|
medium: 18,
|
|
1763
1673
|
large: 24
|
|
@@ -1772,7 +1682,7 @@ const toggle = {
|
|
|
1772
1682
|
}
|
|
1773
1683
|
},
|
|
1774
1684
|
wrapperBorder: {
|
|
1775
|
-
color:
|
|
1685
|
+
color: deepPurpleColorPalette.white,
|
|
1776
1686
|
width: 1
|
|
1777
1687
|
}
|
|
1778
1688
|
}
|
|
@@ -1834,50 +1744,50 @@ const highlight = {
|
|
|
1834
1744
|
},
|
|
1835
1745
|
primary: {
|
|
1836
1746
|
default: {
|
|
1837
|
-
backgroundColor:
|
|
1747
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1838
1748
|
},
|
|
1839
1749
|
hover: {
|
|
1840
|
-
backgroundColor:
|
|
1750
|
+
backgroundColor: deepPurpleColorPalette['beige.4']
|
|
1841
1751
|
}
|
|
1842
1752
|
},
|
|
1843
1753
|
secondary: {
|
|
1844
1754
|
default: {
|
|
1845
|
-
backgroundColor:
|
|
1755
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1846
1756
|
},
|
|
1847
1757
|
hover: {
|
|
1848
|
-
backgroundColor:
|
|
1758
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
1849
1759
|
}
|
|
1850
1760
|
},
|
|
1851
1761
|
ghost: {
|
|
1852
1762
|
default: {
|
|
1853
|
-
backgroundColor:
|
|
1763
|
+
backgroundColor: deepPurpleColorPalette.white
|
|
1854
1764
|
},
|
|
1855
1765
|
hover: {
|
|
1856
|
-
backgroundColor:
|
|
1766
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1857
1767
|
}
|
|
1858
1768
|
},
|
|
1859
1769
|
dark: {
|
|
1860
1770
|
default: {
|
|
1861
|
-
backgroundColor:
|
|
1771
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1862
1772
|
},
|
|
1863
1773
|
hover: {
|
|
1864
|
-
backgroundColor:
|
|
1774
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1865
1775
|
}
|
|
1866
1776
|
},
|
|
1867
1777
|
success: {
|
|
1868
1778
|
default: {
|
|
1869
|
-
backgroundColor:
|
|
1779
|
+
backgroundColor: deepPurpleColorPalette['green.1']
|
|
1870
1780
|
},
|
|
1871
1781
|
hover: {
|
|
1872
|
-
backgroundColor:
|
|
1782
|
+
backgroundColor: deepPurpleColorPalette['green.2']
|
|
1873
1783
|
}
|
|
1874
1784
|
},
|
|
1875
1785
|
warning: {
|
|
1876
1786
|
default: {
|
|
1877
|
-
backgroundColor:
|
|
1787
|
+
backgroundColor: deepPurpleColorPalette['yellow.1']
|
|
1878
1788
|
},
|
|
1879
1789
|
hover: {
|
|
1880
|
-
backgroundColor:
|
|
1790
|
+
backgroundColor: deepPurpleColorPalette['yellow.2']
|
|
1881
1791
|
}
|
|
1882
1792
|
},
|
|
1883
1793
|
padding: {
|
|
@@ -1917,14 +1827,6 @@ const icon = {
|
|
|
1917
1827
|
header4: createTypographyIconSizeConfig(18, 24),
|
|
1918
1828
|
// also known as xxsmall
|
|
1919
1829
|
header5: createTypographyIconSizeConfig(18, 18),
|
|
1920
|
-
'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
|
|
1921
|
-
'header-impact-xl': createTypographyIconSizeConfig(48, 48),
|
|
1922
|
-
'header-impact-l': createTypographyIconSizeConfig(40, 40),
|
|
1923
|
-
'header-impact-m': createTypographyIconSizeConfig(32, 32),
|
|
1924
|
-
'header-impact-s': createTypographyIconSizeConfig(24, 24),
|
|
1925
|
-
'header-impact-xs': createTypographyIconSizeConfig(18, 18),
|
|
1926
|
-
'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
|
|
1927
|
-
'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
|
|
1928
1830
|
'body-large': createTypographyIconSizeConfig(18, 24),
|
|
1929
1831
|
'body-medium': createTypographyIconSizeConfig(18, 18),
|
|
1930
1832
|
body: createTypographyIconSizeConfig(16, 16),
|
|
@@ -1969,7 +1871,7 @@ const iconButton = {
|
|
|
1969
1871
|
pressedBackgroundColor: button.default.ghost.pressedBackgroundColor
|
|
1970
1872
|
},
|
|
1971
1873
|
primary: {
|
|
1972
|
-
pressedBackgroundColor:
|
|
1874
|
+
pressedBackgroundColor: deepPurpleColorPalette['beige.1']
|
|
1973
1875
|
},
|
|
1974
1876
|
'primary-plain': {
|
|
1975
1877
|
pressedBackgroundColor: colors.primaryLight,
|
|
@@ -2044,149 +1946,198 @@ const pageLoader = {
|
|
|
2044
1946
|
}
|
|
2045
1947
|
};
|
|
2046
1948
|
|
|
2047
|
-
const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
|
|
2048
|
-
/** @deprecated legacy typography type config is deprecated. */
|
|
2049
|
-
const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
|
|
2050
|
-
baseAndSmall: {
|
|
2051
|
-
fontSize: baseAndSmallFontSize,
|
|
2052
|
-
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
2053
|
-
},
|
|
2054
|
-
mediumAndWide: {
|
|
2055
|
-
fontSize: mediumAndWideFontSize,
|
|
2056
|
-
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
2057
|
-
}
|
|
2058
|
-
});
|
|
2059
|
-
const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
|
|
2060
|
-
const config = {
|
|
2061
|
-
fontSize,
|
|
2062
|
-
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
2063
|
-
};
|
|
2064
|
-
return {
|
|
2065
|
-
baseAndSmall: config,
|
|
2066
|
-
mediumAndWide: config
|
|
2067
|
-
};
|
|
2068
|
-
};
|
|
2069
1949
|
const typography = {
|
|
2070
1950
|
colors: {
|
|
2071
1951
|
black: colors.black,
|
|
2072
1952
|
'black-anthracite': colors.blackAnthracite,
|
|
2073
|
-
'black-disabled':
|
|
2074
|
-
'black-light':
|
|
1953
|
+
'black-disabled': deepPurpleColorPalette['grey.3'],
|
|
1954
|
+
'black-light': deepPurpleColorPalette['grey.5'],
|
|
2075
1955
|
white: colors.white,
|
|
2076
1956
|
'white-light': colors.white,
|
|
2077
1957
|
primary: colors.primary,
|
|
2078
1958
|
'primary-light': colors.primaryLight,
|
|
2079
1959
|
accent: colors.accent,
|
|
2080
1960
|
success: colors.success,
|
|
2081
|
-
danger:
|
|
1961
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
2082
1962
|
warning: colors.warning
|
|
2083
1963
|
},
|
|
2084
1964
|
types: {
|
|
2085
1965
|
headings: {
|
|
2086
1966
|
fontFamily: {
|
|
2087
1967
|
native: {
|
|
2088
|
-
regular: '
|
|
2089
|
-
|
|
1968
|
+
regular: 'GTStandardRegular',
|
|
1969
|
+
semibold: 'GTStandardSemibold',
|
|
1970
|
+
bold: 'GTStandardBold'
|
|
2090
1971
|
},
|
|
2091
1972
|
web: {
|
|
2092
|
-
regular: '
|
|
2093
|
-
|
|
1973
|
+
regular: 'GTStandard',
|
|
1974
|
+
semibold: 'GTStandard',
|
|
1975
|
+
bold: 'GTStandard'
|
|
2094
1976
|
}
|
|
2095
1977
|
},
|
|
2096
1978
|
fontWeight: {
|
|
2097
|
-
regular:
|
|
1979
|
+
regular: 500,
|
|
1980
|
+
semibold: 600,
|
|
2098
1981
|
bold: 700
|
|
2099
1982
|
},
|
|
2100
1983
|
fontStyle: 'normal',
|
|
2101
1984
|
configs: {
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
'heading-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
1985
|
+
'heading-xxl': {
|
|
1986
|
+
fontSize: 56,
|
|
1987
|
+
lineHeight: 64,
|
|
1988
|
+
allowedFontWeights: ['semibold']
|
|
1989
|
+
},
|
|
1990
|
+
'heading-xl': {
|
|
1991
|
+
fontSize: 48,
|
|
1992
|
+
lineHeight: 56,
|
|
1993
|
+
allowedFontWeights: ['semibold']
|
|
1994
|
+
},
|
|
1995
|
+
'heading-l': {
|
|
1996
|
+
fontSize: 40,
|
|
1997
|
+
lineHeight: 48,
|
|
1998
|
+
allowedFontWeights: ['semibold']
|
|
1999
|
+
},
|
|
2000
|
+
'heading-m': {
|
|
2001
|
+
fontSize: 28,
|
|
2002
|
+
lineHeight: 32,
|
|
2003
|
+
allowedFontWeights: ['semibold']
|
|
2004
|
+
},
|
|
2005
|
+
'heading-s': {
|
|
2006
|
+
fontSize: 18,
|
|
2007
|
+
lineHeight: 20,
|
|
2008
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2009
|
+
},
|
|
2010
|
+
'heading-xs': {
|
|
2011
|
+
fontSize: 16,
|
|
2012
|
+
lineHeight: 18,
|
|
2013
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2014
|
+
}
|
|
2116
2015
|
}
|
|
2117
2016
|
},
|
|
2118
|
-
|
|
2017
|
+
bodies: {
|
|
2119
2018
|
fontFamily: {
|
|
2120
2019
|
native: {
|
|
2121
|
-
regular: '
|
|
2122
|
-
bold: '
|
|
2020
|
+
regular: 'GTStandardRegular',
|
|
2021
|
+
bold: 'GTStandardBold'
|
|
2123
2022
|
},
|
|
2124
2023
|
web: {
|
|
2125
|
-
regular: '
|
|
2126
|
-
bold: '
|
|
2024
|
+
regular: 'GTStandard',
|
|
2025
|
+
bold: 'GTStandard'
|
|
2127
2026
|
}
|
|
2128
2027
|
},
|
|
2129
|
-
fontWeight:
|
|
2130
|
-
|
|
2028
|
+
fontWeight: {
|
|
2029
|
+
regular: 500,
|
|
2030
|
+
bold: 700
|
|
2031
|
+
},
|
|
2032
|
+
fontStyle: {
|
|
2033
|
+
regular: 'normal',
|
|
2034
|
+
bold: 'normal'
|
|
2035
|
+
},
|
|
2131
2036
|
configs: {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
'
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
'
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
'
|
|
2148
|
-
|
|
2149
|
-
|
|
2037
|
+
'body-xl': {
|
|
2038
|
+
fontSize: 24,
|
|
2039
|
+
lineHeight: 32,
|
|
2040
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2041
|
+
},
|
|
2042
|
+
'body-l': {
|
|
2043
|
+
fontSize: 18,
|
|
2044
|
+
lineHeight: 26,
|
|
2045
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2046
|
+
},
|
|
2047
|
+
'body-m': {
|
|
2048
|
+
fontSize: 16,
|
|
2049
|
+
lineHeight: 24,
|
|
2050
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2051
|
+
},
|
|
2052
|
+
'body-s': {
|
|
2053
|
+
fontSize: 14,
|
|
2054
|
+
lineHeight: 20,
|
|
2055
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2056
|
+
},
|
|
2057
|
+
'body-xs': {
|
|
2058
|
+
fontSize: 12,
|
|
2059
|
+
lineHeight: 16,
|
|
2060
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2061
|
+
}
|
|
2150
2062
|
}
|
|
2151
2063
|
},
|
|
2152
|
-
|
|
2064
|
+
labels: {
|
|
2153
2065
|
fontFamily: {
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
bold: 'Moderat'
|
|
2066
|
+
native: {
|
|
2067
|
+
semibold: 'GTStandardSemibold'
|
|
2157
2068
|
},
|
|
2069
|
+
web: {
|
|
2070
|
+
semibold: 'GTStandard'
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
fontWeight: {
|
|
2074
|
+
semibold: 600
|
|
2075
|
+
},
|
|
2076
|
+
fontStyle: 'normal',
|
|
2077
|
+
configs: {
|
|
2078
|
+
'label-large': {
|
|
2079
|
+
fontSize: 16,
|
|
2080
|
+
lineHeight: 24,
|
|
2081
|
+
allowedFontWeights: ['semibold']
|
|
2082
|
+
},
|
|
2083
|
+
'label-medium': {
|
|
2084
|
+
fontSize: 14,
|
|
2085
|
+
lineHeight: 20,
|
|
2086
|
+
allowedFontWeights: ['semibold']
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
},
|
|
2090
|
+
contentCaps: {
|
|
2091
|
+
fontFamily: {
|
|
2158
2092
|
native: {
|
|
2159
|
-
|
|
2160
|
-
|
|
2093
|
+
bold: 'GTStandardNarrowBold'
|
|
2094
|
+
},
|
|
2095
|
+
web: {
|
|
2096
|
+
bold: 'GTStandardNarrow'
|
|
2161
2097
|
}
|
|
2162
2098
|
},
|
|
2163
2099
|
fontWeight: {
|
|
2164
|
-
regular: 400,
|
|
2165
2100
|
bold: 700
|
|
2166
2101
|
},
|
|
2167
|
-
fontStyle:
|
|
2168
|
-
regular: 'normal',
|
|
2169
|
-
bold: 'normal'
|
|
2170
|
-
},
|
|
2102
|
+
fontStyle: 'normal',
|
|
2171
2103
|
configs: {
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
'
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
'
|
|
2183
|
-
|
|
2104
|
+
'content-caps-xxxl': {
|
|
2105
|
+
fontSize: 40,
|
|
2106
|
+
lineHeight: 40,
|
|
2107
|
+
allowedFontWeights: ['bold']
|
|
2108
|
+
},
|
|
2109
|
+
'content-caps-xxl': {
|
|
2110
|
+
fontSize: 32,
|
|
2111
|
+
lineHeight: 40,
|
|
2112
|
+
allowedFontWeights: ['bold']
|
|
2113
|
+
},
|
|
2114
|
+
'content-caps-xl': {
|
|
2115
|
+
fontSize: 24,
|
|
2116
|
+
lineHeight: 28,
|
|
2117
|
+
allowedFontWeights: ['bold']
|
|
2118
|
+
},
|
|
2119
|
+
'content-caps-l': {
|
|
2120
|
+
fontSize: 18,
|
|
2121
|
+
lineHeight: 20,
|
|
2122
|
+
allowedFontWeights: ['bold']
|
|
2123
|
+
},
|
|
2124
|
+
'content-caps-m': {
|
|
2125
|
+
fontSize: 16,
|
|
2126
|
+
lineHeight: 18,
|
|
2127
|
+
allowedFontWeights: ['bold']
|
|
2128
|
+
},
|
|
2129
|
+
'content-caps-s': {
|
|
2130
|
+
fontSize: 14,
|
|
2131
|
+
lineHeight: 16,
|
|
2132
|
+
allowedFontWeights: ['bold']
|
|
2133
|
+
},
|
|
2134
|
+
'content-caps-xs': {
|
|
2135
|
+
fontSize: 12,
|
|
2136
|
+
lineHeight: 14,
|
|
2137
|
+
allowedFontWeights: ['bold']
|
|
2138
|
+
}
|
|
2184
2139
|
}
|
|
2185
2140
|
}
|
|
2186
|
-
},
|
|
2187
|
-
link: {
|
|
2188
|
-
/** @deprecated not used in kitt anymore, use Typography instead */
|
|
2189
|
-
disabledColor: colors.blackDisabled
|
|
2190
2141
|
}
|
|
2191
2142
|
};
|
|
2192
2143
|
|
|
@@ -2195,7 +2146,7 @@ const picker = {
|
|
|
2195
2146
|
ios: {
|
|
2196
2147
|
default: {
|
|
2197
2148
|
fontFamily: typography.types.bodies.fontFamily.native.regular,
|
|
2198
|
-
...typography.types.bodies.configs
|
|
2149
|
+
...typography.types.bodies.configs['body-m'],
|
|
2199
2150
|
fontSize: 16,
|
|
2200
2151
|
color: typography.colors['black-light'],
|
|
2201
2152
|
// 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)
|
|
@@ -2228,19 +2179,19 @@ const picker = {
|
|
|
2228
2179
|
backgroundColor: colors.transparent
|
|
2229
2180
|
},
|
|
2230
2181
|
hovered: {
|
|
2231
|
-
backgroundColor:
|
|
2182
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2232
2183
|
},
|
|
2233
2184
|
focused: {
|
|
2234
|
-
backgroundColor:
|
|
2185
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2235
2186
|
},
|
|
2236
2187
|
selected: {
|
|
2237
|
-
backgroundColor:
|
|
2188
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2238
2189
|
},
|
|
2239
2190
|
highlighted: {
|
|
2240
|
-
backgroundColor:
|
|
2191
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2241
2192
|
},
|
|
2242
2193
|
pressed: {
|
|
2243
|
-
backgroundColor:
|
|
2194
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
2244
2195
|
}
|
|
2245
2196
|
}
|
|
2246
2197
|
},
|
|
@@ -2324,8 +2275,8 @@ const shadows = {
|
|
|
2324
2275
|
}
|
|
2325
2276
|
};
|
|
2326
2277
|
|
|
2327
|
-
const skeletonBackgroundColor =
|
|
2328
|
-
const skeletonFlareColor =
|
|
2278
|
+
const skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
|
|
2279
|
+
const skeletonFlareColor = deepPurpleColorPalette['beige.3'];
|
|
2329
2280
|
const skeleton = {
|
|
2330
2281
|
backgroundColor: skeletonBackgroundColor,
|
|
2331
2282
|
flareColor: skeletonFlareColor,
|
|
@@ -2348,20 +2299,6 @@ const skeleton = {
|
|
|
2348
2299
|
|
|
2349
2300
|
const tag = {
|
|
2350
2301
|
borderRadius: 16,
|
|
2351
|
-
variant: {
|
|
2352
|
-
contrast: {
|
|
2353
|
-
borderWidth: 0
|
|
2354
|
-
},
|
|
2355
|
-
fill: {
|
|
2356
|
-
borderWidth: 0
|
|
2357
|
-
},
|
|
2358
|
-
outline: {
|
|
2359
|
-
borderWidth: 1
|
|
2360
|
-
},
|
|
2361
|
-
subtle: {
|
|
2362
|
-
borderWidth: 0
|
|
2363
|
-
}
|
|
2364
|
-
},
|
|
2365
2302
|
icon: {
|
|
2366
2303
|
small: 16,
|
|
2367
2304
|
medium: 16,
|
|
@@ -2437,14 +2374,14 @@ const verticalSteps = {
|
|
|
2437
2374
|
},
|
|
2438
2375
|
done: {
|
|
2439
2376
|
icon: {
|
|
2440
|
-
backgroundColor:
|
|
2441
|
-
textColor: colors.
|
|
2377
|
+
backgroundColor: colors.primary,
|
|
2378
|
+
textColor: colors.white
|
|
2442
2379
|
}
|
|
2443
2380
|
},
|
|
2444
2381
|
default: {
|
|
2445
2382
|
icon: {
|
|
2446
2383
|
backgroundColor: colors.disabled,
|
|
2447
|
-
textColor:
|
|
2384
|
+
textColor: deepPurpleColorPalette['grey.3']
|
|
2448
2385
|
}
|
|
2449
2386
|
}
|
|
2450
2387
|
};
|
|
@@ -2478,7 +2415,7 @@ const theme = {
|
|
|
2478
2415
|
getSpacing: multiplier => spacing * multiplier,
|
|
2479
2416
|
colors,
|
|
2480
2417
|
palettes: {
|
|
2481
|
-
|
|
2418
|
+
deepPurple: deepPurpleColorPalette
|
|
2482
2419
|
},
|
|
2483
2420
|
avatar,
|
|
2484
2421
|
breakpoints,
|