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