@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
|
@@ -45,117 +45,81 @@ const hex2rgba = (hex, alpha = 1) => {
|
|
|
45
45
|
|
|
46
46
|
const createColorScale = colorScale => colorScale;
|
|
47
47
|
const colorScales = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
6: '#bab8ae',
|
|
55
|
-
7: '#aeaba3',
|
|
56
|
-
8: '#9c9a92',
|
|
57
|
-
9: '#8e8c83',
|
|
58
|
-
10: '#74726a',
|
|
59
|
-
11: '#3e3d3a',
|
|
60
|
-
12: '#282826'
|
|
48
|
+
deepPurple: createColorScale({
|
|
49
|
+
5: '#936C93',
|
|
50
|
+
6: '#7A587A',
|
|
51
|
+
7: '#6E4D6E',
|
|
52
|
+
8: '#563B56',
|
|
53
|
+
9: '#452F45'
|
|
61
54
|
}),
|
|
62
|
-
|
|
63
|
-
1: '#
|
|
64
|
-
2: '#
|
|
65
|
-
3: '#
|
|
66
|
-
4: '#
|
|
67
|
-
5: '#
|
|
68
|
-
6: '#
|
|
69
|
-
7: '#9180ff',
|
|
70
|
-
8: '#7b66ff',
|
|
71
|
-
9: '#624af7',
|
|
72
|
-
10: '#5139e1',
|
|
73
|
-
11: '#3a26b5',
|
|
74
|
-
12: '#0a0428'
|
|
55
|
+
beige: createColorScale({
|
|
56
|
+
1: '#F7F4EE',
|
|
57
|
+
2: '#F1ECE4',
|
|
58
|
+
3: '#EAE3D6',
|
|
59
|
+
4: '#E5DCCA',
|
|
60
|
+
5: '#DDD0B8',
|
|
61
|
+
6: '#C1B59F'
|
|
75
62
|
}),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
63
|
+
lightning: createColorScale({
|
|
64
|
+
5: '#FFF500',
|
|
65
|
+
7: '#43390A'
|
|
66
|
+
}),
|
|
67
|
+
rainbow: createColorScale({
|
|
68
|
+
pink: '#E4A4F9',
|
|
69
|
+
brick: '#951D12',
|
|
70
|
+
orange: '#DB6E2E',
|
|
71
|
+
gold: '#9A7600',
|
|
72
|
+
sun: '#EFD346',
|
|
73
|
+
'green-pine': '#1C5D47',
|
|
74
|
+
'green-grass': '#4DA00A',
|
|
75
|
+
'green-apple': '#DEF985',
|
|
76
|
+
'blue-electric': '#2850C4',
|
|
77
|
+
'blue-sky': '#B2F0FD'
|
|
78
|
+
}),
|
|
79
|
+
grey: createColorScale({
|
|
80
|
+
0: '#ffffff',
|
|
81
|
+
1: '#ECECEC',
|
|
82
|
+
2: '#CDCED0',
|
|
83
|
+
3: '#A8A8A8',
|
|
84
|
+
5: '#838383',
|
|
85
|
+
7: '#505050',
|
|
86
|
+
9: '#101010'
|
|
89
87
|
}),
|
|
90
88
|
blue: createColorScale({
|
|
91
|
-
1: '#
|
|
92
|
-
2: '#
|
|
93
|
-
|
|
94
|
-
4: '#d4e0ff',
|
|
95
|
-
5: '#baceff',
|
|
96
|
-
6: '#a1bbff',
|
|
97
|
-
7: '#87a9ff',
|
|
98
|
-
8: '#6e96ff',
|
|
99
|
-
9: '#5383ff',
|
|
100
|
-
10: '#4170eb',
|
|
101
|
-
11: '#0e4381',
|
|
102
|
-
12: '#061c36'
|
|
89
|
+
1: '#E9F4FC',
|
|
90
|
+
2: '#BCDFF6',
|
|
91
|
+
6: '#1772AB'
|
|
103
92
|
}),
|
|
104
|
-
|
|
105
|
-
1: '#
|
|
106
|
-
2: '#
|
|
107
|
-
|
|
108
|
-
4: '#f0c7d4',
|
|
109
|
-
5: '#f0afc4',
|
|
110
|
-
6: '#f097b3',
|
|
111
|
-
7: '#f07fa3',
|
|
112
|
-
8: '#d95d84',
|
|
113
|
-
9: '#cf2a60',
|
|
114
|
-
10: '#c12558',
|
|
115
|
-
11: '#61192e',
|
|
116
|
-
12: '#29040f'
|
|
93
|
+
green: createColorScale({
|
|
94
|
+
1: '#ECFEDD',
|
|
95
|
+
2: '#DBFAC1',
|
|
96
|
+
6: '#438D06'
|
|
117
97
|
}),
|
|
118
|
-
|
|
119
|
-
1: '#
|
|
120
|
-
2: '#
|
|
121
|
-
|
|
122
|
-
4: '#ffcfcf',
|
|
123
|
-
5: '#ffb5b5',
|
|
124
|
-
6: '#ff9c9c',
|
|
125
|
-
7: '#f57d7d',
|
|
126
|
-
8: '#eb6565',
|
|
127
|
-
9: '#e55050',
|
|
128
|
-
10: '#da3d3d',
|
|
129
|
-
11: '#8a2b1e',
|
|
130
|
-
12: '#330c07'
|
|
98
|
+
yellow: createColorScale({
|
|
99
|
+
1: '#FDF8E7',
|
|
100
|
+
2: '#FAEBB8',
|
|
101
|
+
6: '#EFC11F'
|
|
131
102
|
}),
|
|
132
|
-
|
|
133
|
-
1: '#
|
|
134
|
-
2: '#
|
|
135
|
-
|
|
136
|
-
4: '#ffefc4',
|
|
137
|
-
5: '#ffe8ab',
|
|
138
|
-
6: '#ffe191',
|
|
139
|
-
7: '#ffda78',
|
|
140
|
-
8: '#ffd35e',
|
|
141
|
-
9: '#fdc32d',
|
|
142
|
-
10: '#f3a40c',
|
|
143
|
-
11: '#9f5600',
|
|
144
|
-
12: '#341c00'
|
|
103
|
+
red: createColorScale({
|
|
104
|
+
1: '#FDE4E3',
|
|
105
|
+
2: '#FAB8B8',
|
|
106
|
+
6: '#F14847'
|
|
145
107
|
}),
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
108
|
+
'beige-alpha': createColorScale({
|
|
109
|
+
'25': '#C1B59F40',
|
|
110
|
+
'40': '#C1B59F66',
|
|
111
|
+
'50': '#C1B59F80'
|
|
112
|
+
}),
|
|
113
|
+
'grey-alpha': createColorScale({
|
|
114
|
+
'25': '#10101040',
|
|
115
|
+
'35': '#10101059',
|
|
116
|
+
'50': '#10101080'
|
|
117
|
+
}),
|
|
118
|
+
'white-alpha': createColorScale({
|
|
119
|
+
'10': '#FFFFFF1A',
|
|
120
|
+
'20': '#FFFFFF33',
|
|
121
|
+
'80': '#FFFFFFCC',
|
|
122
|
+
'90': '#FFFFFFE5'
|
|
159
123
|
})
|
|
160
124
|
};
|
|
161
125
|
const transformColorScalesToTokens = () => {
|
|
@@ -165,89 +129,43 @@ const transformColorScalesToTokens = () => {
|
|
|
165
129
|
});
|
|
166
130
|
}));
|
|
167
131
|
};
|
|
168
|
-
const
|
|
169
|
-
/** @deprecated use violine.9 instead */
|
|
170
|
-
lateOcean: colorScales.violine[9],
|
|
171
|
-
/** @deprecated use violine.8 instead */
|
|
172
|
-
lateOceanLight1: colorScales.violine[8],
|
|
173
|
-
/** @deprecated use violine.6 instead */
|
|
174
|
-
lateOceanLight2: colorScales.violine[6],
|
|
175
|
-
/** @deprecated use lavender.6 instead */
|
|
176
|
-
lateOceanLight3: colorScales.lavender[6],
|
|
177
|
-
/** @deprecated use violine.12 instead */
|
|
178
|
-
lateOceanDark1: colorScales.violine[12],
|
|
179
|
-
/** @deprecated use lavender.5 instead */
|
|
180
|
-
warmEmbrace: colorScales.lavender[5],
|
|
181
|
-
/** @deprecated use lavender.3 instead */
|
|
182
|
-
warmEmbraceLight1: colorScales.lavender[3],
|
|
132
|
+
const deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorScalesToTokens()), {}, {
|
|
183
133
|
white: '#FFFFFF',
|
|
184
134
|
black: '#000000',
|
|
185
|
-
|
|
186
|
-
black1000: '#000000',
|
|
187
|
-
/** @deprecated use eggshell.11 instead */
|
|
188
|
-
black800: colorScales.eggshell[11],
|
|
189
|
-
/** @deprecated use eggshell.10 instead */
|
|
190
|
-
black555: colorScales.eggshell[10],
|
|
191
|
-
/** @deprecated use eggshell.7 instead */
|
|
192
|
-
black400: colorScales.eggshell[7],
|
|
193
|
-
/** @deprecated use eggshell.4 instead */
|
|
194
|
-
black200: colorScales.eggshell[4],
|
|
195
|
-
/** @deprecated use eggshell.3 instead */
|
|
196
|
-
black100: colorScales.eggshell[3],
|
|
197
|
-
/** @deprecated use eggshell.2 instead */
|
|
198
|
-
black50: colorScales.eggshell[2],
|
|
199
|
-
/** @deprecated use eggshell.1 instead */
|
|
200
|
-
black25: colorScales.eggshell[1],
|
|
201
|
-
/** @deprecated use green.8 instead */
|
|
202
|
-
viride: colorScales.green[8],
|
|
203
|
-
/** @deprecated use coral.7 instead */
|
|
204
|
-
englishVermillon: colorScales.coral[7],
|
|
205
|
-
/** @deprecated use sun.8 instead */
|
|
206
|
-
goldCrayola: colorScales.sun[8],
|
|
207
|
-
/** @deprecated use blue.8 instead */
|
|
208
|
-
aero: colorScales.blue[8],
|
|
209
|
-
/** @deprecated use eggshell.1 instead */
|
|
210
|
-
seaShell: colorScales.eggshell[1],
|
|
211
|
-
transparent: 'transparent',
|
|
212
|
-
/** @deprecated use violine.4 instead */
|
|
213
|
-
moonPurple: colorScales.violine[4],
|
|
214
|
-
/** @deprecated use violine.2 instead */
|
|
215
|
-
moonPurpleLight1: colorScales.violine[2]
|
|
135
|
+
transparent: 'transparent'
|
|
216
136
|
});
|
|
217
137
|
|
|
218
138
|
const colors = {
|
|
219
|
-
primary:
|
|
220
|
-
primaryLight:
|
|
221
|
-
accent:
|
|
222
|
-
accentLight:
|
|
223
|
-
success:
|
|
224
|
-
correct:
|
|
225
|
-
danger:
|
|
226
|
-
info:
|
|
227
|
-
warning:
|
|
228
|
-
separator:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
transparent: lateOceanColorPalette.transparent,
|
|
238
|
-
disabled: lateOceanColorPalette['eggshell.2'],
|
|
139
|
+
primary: deepPurpleColorPalette['deepPurple.8'],
|
|
140
|
+
primaryLight: deepPurpleColorPalette['deepPurple.8'],
|
|
141
|
+
accent: deepPurpleColorPalette['beige.1'],
|
|
142
|
+
accentLight: deepPurpleColorPalette['beige.1'],
|
|
143
|
+
success: deepPurpleColorPalette['green.6'],
|
|
144
|
+
correct: deepPurpleColorPalette['green.6'],
|
|
145
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
146
|
+
info: deepPurpleColorPalette['blue.6'],
|
|
147
|
+
warning: deepPurpleColorPalette['yellow.6'],
|
|
148
|
+
separator: deepPurpleColorPalette['beige.3'],
|
|
149
|
+
white: deepPurpleColorPalette['grey.0'],
|
|
150
|
+
black: deepPurpleColorPalette['grey.9'],
|
|
151
|
+
blackLight: deepPurpleColorPalette['grey.5'],
|
|
152
|
+
blackAnthracite: deepPurpleColorPalette['grey.7'],
|
|
153
|
+
uiBackground: deepPurpleColorPalette['beige.1'],
|
|
154
|
+
uiBackgroundLight: deepPurpleColorPalette['grey.0'],
|
|
155
|
+
transparent: deepPurpleColorPalette.transparent,
|
|
156
|
+
disabled: deepPurpleColorPalette['grey.1'],
|
|
239
157
|
overlay: {
|
|
240
|
-
dark: '
|
|
241
|
-
light: '
|
|
158
|
+
dark: deepPurpleColorPalette['grey-alpha.50'],
|
|
159
|
+
light: deepPurpleColorPalette['white-alpha.80']
|
|
242
160
|
}
|
|
243
161
|
};
|
|
244
162
|
|
|
245
163
|
const actionCard = {
|
|
246
|
-
borderRadius:
|
|
164
|
+
borderRadius: 8,
|
|
247
165
|
primary: {
|
|
248
166
|
default: {
|
|
249
167
|
backgroundColor: colors.uiBackgroundLight,
|
|
250
|
-
borderColor:
|
|
168
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
251
169
|
borderWidth: 1,
|
|
252
170
|
shadow: {
|
|
253
171
|
color: '',
|
|
@@ -259,8 +177,8 @@ const actionCard = {
|
|
|
259
177
|
translateY: 0
|
|
260
178
|
},
|
|
261
179
|
hovered: {
|
|
262
|
-
backgroundColor:
|
|
263
|
-
borderColor:
|
|
180
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
181
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
264
182
|
borderWidth: 1,
|
|
265
183
|
shadow: {
|
|
266
184
|
color: '',
|
|
@@ -272,8 +190,8 @@ const actionCard = {
|
|
|
272
190
|
translateY: 0
|
|
273
191
|
},
|
|
274
192
|
disabled: {
|
|
275
|
-
backgroundColor:
|
|
276
|
-
borderColor:
|
|
193
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
194
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
277
195
|
borderWidth: 1,
|
|
278
196
|
shadow: {
|
|
279
197
|
color: '',
|
|
@@ -285,8 +203,8 @@ const actionCard = {
|
|
|
285
203
|
translateY: 0
|
|
286
204
|
},
|
|
287
205
|
focused: {
|
|
288
|
-
backgroundColor:
|
|
289
|
-
borderColor:
|
|
206
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
207
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
290
208
|
borderWidth: 1,
|
|
291
209
|
shadow: {
|
|
292
210
|
color: '',
|
|
@@ -298,8 +216,8 @@ const actionCard = {
|
|
|
298
216
|
translateY: 0
|
|
299
217
|
},
|
|
300
218
|
pressed: {
|
|
301
|
-
backgroundColor:
|
|
302
|
-
borderColor:
|
|
219
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
220
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
303
221
|
borderWidth: 1,
|
|
304
222
|
shadow: {
|
|
305
223
|
color: '',
|
|
@@ -314,10 +232,10 @@ const actionCard = {
|
|
|
314
232
|
'primary-border-soft': {
|
|
315
233
|
default: {
|
|
316
234
|
backgroundColor: colors.uiBackgroundLight,
|
|
317
|
-
borderColor:
|
|
235
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
318
236
|
borderWidth: 1,
|
|
319
237
|
shadow: {
|
|
320
|
-
color:
|
|
238
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
321
239
|
offsetX: 0,
|
|
322
240
|
offsetY: 4,
|
|
323
241
|
opacity: 1,
|
|
@@ -326,11 +244,11 @@ const actionCard = {
|
|
|
326
244
|
translateY: 0
|
|
327
245
|
},
|
|
328
246
|
hovered: {
|
|
329
|
-
backgroundColor:
|
|
330
|
-
borderColor:
|
|
247
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
248
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
331
249
|
borderWidth: 1,
|
|
332
250
|
shadow: {
|
|
333
|
-
color:
|
|
251
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
334
252
|
offsetX: 0,
|
|
335
253
|
offsetY: 4,
|
|
336
254
|
opacity: 1,
|
|
@@ -339,8 +257,8 @@ const actionCard = {
|
|
|
339
257
|
translateY: 0
|
|
340
258
|
},
|
|
341
259
|
disabled: {
|
|
342
|
-
backgroundColor:
|
|
343
|
-
borderColor:
|
|
260
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
261
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
344
262
|
borderWidth: 1,
|
|
345
263
|
shadow: {
|
|
346
264
|
color: '',
|
|
@@ -352,11 +270,11 @@ const actionCard = {
|
|
|
352
270
|
translateY: 0
|
|
353
271
|
},
|
|
354
272
|
focused: {
|
|
355
|
-
backgroundColor:
|
|
356
|
-
borderColor:
|
|
273
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
274
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
357
275
|
borderWidth: 1,
|
|
358
276
|
shadow: {
|
|
359
|
-
color:
|
|
277
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
360
278
|
offsetX: 0,
|
|
361
279
|
offsetY: 4,
|
|
362
280
|
opacity: 1,
|
|
@@ -365,8 +283,8 @@ const actionCard = {
|
|
|
365
283
|
translateY: 0
|
|
366
284
|
},
|
|
367
285
|
pressed: {
|
|
368
|
-
backgroundColor:
|
|
369
|
-
borderColor:
|
|
286
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
287
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
370
288
|
borderWidth: 1,
|
|
371
289
|
shadow: {
|
|
372
290
|
color: '',
|
|
@@ -381,10 +299,10 @@ const actionCard = {
|
|
|
381
299
|
'primary-border-hard': {
|
|
382
300
|
default: {
|
|
383
301
|
backgroundColor: colors.uiBackgroundLight,
|
|
384
|
-
borderColor:
|
|
302
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
385
303
|
borderWidth: 1,
|
|
386
304
|
shadow: {
|
|
387
|
-
color:
|
|
305
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
388
306
|
offsetX: 0,
|
|
389
307
|
offsetY: 4,
|
|
390
308
|
opacity: 1,
|
|
@@ -393,11 +311,11 @@ const actionCard = {
|
|
|
393
311
|
translateY: 0
|
|
394
312
|
},
|
|
395
313
|
hovered: {
|
|
396
|
-
backgroundColor:
|
|
397
|
-
borderColor:
|
|
314
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
315
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
398
316
|
borderWidth: 1,
|
|
399
317
|
shadow: {
|
|
400
|
-
color:
|
|
318
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
401
319
|
offsetX: 0,
|
|
402
320
|
offsetY: 4,
|
|
403
321
|
opacity: 1,
|
|
@@ -406,8 +324,8 @@ const actionCard = {
|
|
|
406
324
|
translateY: 0
|
|
407
325
|
},
|
|
408
326
|
disabled: {
|
|
409
|
-
backgroundColor:
|
|
410
|
-
borderColor:
|
|
327
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
328
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
411
329
|
borderWidth: 1,
|
|
412
330
|
shadow: {
|
|
413
331
|
color: '',
|
|
@@ -419,11 +337,11 @@ const actionCard = {
|
|
|
419
337
|
translateY: 0
|
|
420
338
|
},
|
|
421
339
|
focused: {
|
|
422
|
-
backgroundColor:
|
|
423
|
-
borderColor:
|
|
340
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
341
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
424
342
|
borderWidth: 1,
|
|
425
343
|
shadow: {
|
|
426
|
-
color:
|
|
344
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
427
345
|
offsetX: 0,
|
|
428
346
|
offsetY: 4,
|
|
429
347
|
opacity: 1,
|
|
@@ -432,8 +350,8 @@ const actionCard = {
|
|
|
432
350
|
translateY: 0
|
|
433
351
|
},
|
|
434
352
|
pressed: {
|
|
435
|
-
backgroundColor:
|
|
436
|
-
borderColor:
|
|
353
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
354
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
437
355
|
borderWidth: 1,
|
|
438
356
|
shadow: {
|
|
439
357
|
color: '',
|
|
@@ -447,8 +365,8 @@ const actionCard = {
|
|
|
447
365
|
},
|
|
448
366
|
secondary: {
|
|
449
367
|
default: {
|
|
450
|
-
backgroundColor:
|
|
451
|
-
borderColor:
|
|
368
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
369
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
452
370
|
borderWidth: 0,
|
|
453
371
|
shadow: {
|
|
454
372
|
color: '',
|
|
@@ -460,8 +378,8 @@ const actionCard = {
|
|
|
460
378
|
translateY: 0
|
|
461
379
|
},
|
|
462
380
|
disabled: {
|
|
463
|
-
backgroundColor:
|
|
464
|
-
borderColor:
|
|
381
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
382
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
465
383
|
borderWidth: 1,
|
|
466
384
|
shadow: {
|
|
467
385
|
color: '',
|
|
@@ -473,8 +391,8 @@ const actionCard = {
|
|
|
473
391
|
translateY: 0
|
|
474
392
|
},
|
|
475
393
|
hovered: {
|
|
476
|
-
backgroundColor:
|
|
477
|
-
borderColor:
|
|
394
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
395
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
478
396
|
borderWidth: 0,
|
|
479
397
|
shadow: {
|
|
480
398
|
color: '',
|
|
@@ -486,8 +404,8 @@ const actionCard = {
|
|
|
486
404
|
translateY: 0
|
|
487
405
|
},
|
|
488
406
|
focused: {
|
|
489
|
-
backgroundColor:
|
|
490
|
-
borderColor:
|
|
407
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
408
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
491
409
|
borderWidth: 0,
|
|
492
410
|
shadow: {
|
|
493
411
|
color: '',
|
|
@@ -499,8 +417,8 @@ const actionCard = {
|
|
|
499
417
|
translateY: 0
|
|
500
418
|
},
|
|
501
419
|
pressed: {
|
|
502
|
-
backgroundColor:
|
|
503
|
-
borderColor:
|
|
420
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
421
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
504
422
|
borderWidth: 0,
|
|
505
423
|
shadow: {
|
|
506
424
|
color: '',
|
|
@@ -514,11 +432,11 @@ const actionCard = {
|
|
|
514
432
|
},
|
|
515
433
|
highlight: {
|
|
516
434
|
default: {
|
|
517
|
-
backgroundColor:
|
|
518
|
-
borderColor:
|
|
435
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
436
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
519
437
|
borderWidth: 1,
|
|
520
438
|
shadow: {
|
|
521
|
-
color:
|
|
439
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
522
440
|
offsetX: 0,
|
|
523
441
|
offsetY: 4,
|
|
524
442
|
opacity: 1,
|
|
@@ -527,8 +445,8 @@ const actionCard = {
|
|
|
527
445
|
translateY: 0
|
|
528
446
|
},
|
|
529
447
|
disabled: {
|
|
530
|
-
backgroundColor:
|
|
531
|
-
borderColor:
|
|
448
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
449
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
532
450
|
borderWidth: 1,
|
|
533
451
|
shadow: {
|
|
534
452
|
color: '',
|
|
@@ -540,11 +458,11 @@ const actionCard = {
|
|
|
540
458
|
translateY: 0
|
|
541
459
|
},
|
|
542
460
|
hovered: {
|
|
543
|
-
backgroundColor: hex2rgba(
|
|
544
|
-
borderColor:
|
|
461
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
462
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
545
463
|
borderWidth: 1,
|
|
546
464
|
shadow: {
|
|
547
|
-
color:
|
|
465
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
548
466
|
offsetX: 0,
|
|
549
467
|
offsetY: 4,
|
|
550
468
|
opacity: 1,
|
|
@@ -553,11 +471,11 @@ const actionCard = {
|
|
|
553
471
|
translateY: 0
|
|
554
472
|
},
|
|
555
473
|
focused: {
|
|
556
|
-
backgroundColor: hex2rgba(
|
|
557
|
-
borderColor:
|
|
474
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
475
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
558
476
|
borderWidth: 1,
|
|
559
477
|
shadow: {
|
|
560
|
-
color:
|
|
478
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
561
479
|
offsetX: 0,
|
|
562
480
|
offsetY: 4,
|
|
563
481
|
opacity: 1,
|
|
@@ -566,8 +484,8 @@ const actionCard = {
|
|
|
566
484
|
translateY: 0
|
|
567
485
|
},
|
|
568
486
|
pressed: {
|
|
569
|
-
backgroundColor: hex2rgba(
|
|
570
|
-
borderColor:
|
|
487
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
488
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
571
489
|
borderWidth: 1,
|
|
572
490
|
shadow: {
|
|
573
491
|
color: '',
|
|
@@ -585,42 +503,28 @@ const defaultAvatarSize = 40;
|
|
|
585
503
|
const defaultAvatarIconSize = 20;
|
|
586
504
|
const largeAvatarSize = 120;
|
|
587
505
|
const largeAvatarIconSize = 30;
|
|
588
|
-
|
|
589
|
-
// export interface AvatarThemeBackgroundColorVariant {
|
|
590
|
-
// default: string;
|
|
591
|
-
// light: string;
|
|
592
|
-
// dark: string;
|
|
593
|
-
// disabled: string;
|
|
594
|
-
// }
|
|
595
|
-
|
|
596
|
-
// export interface AvatarThemeColorVariant {
|
|
597
|
-
// default: string;
|
|
598
|
-
// light: string;
|
|
599
|
-
// disabled: string;
|
|
600
|
-
// }
|
|
601
|
-
|
|
602
506
|
const avatar = {
|
|
603
|
-
borderRadius:
|
|
507
|
+
borderRadius: 4,
|
|
604
508
|
size: defaultAvatarSize,
|
|
605
509
|
iconSize: defaultAvatarIconSize,
|
|
606
510
|
default: {
|
|
607
|
-
color:
|
|
608
|
-
backgroundColor:
|
|
511
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
512
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.8']
|
|
609
513
|
},
|
|
610
514
|
light: {
|
|
611
|
-
color:
|
|
612
|
-
backgroundColor:
|
|
515
|
+
color: deepPurpleColorPalette['beige.6'],
|
|
516
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
613
517
|
},
|
|
614
518
|
dark: {
|
|
615
|
-
color:
|
|
616
|
-
backgroundColor:
|
|
519
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
520
|
+
backgroundColor: deepPurpleColorPalette['grey.9']
|
|
617
521
|
},
|
|
618
522
|
disabled: {
|
|
619
|
-
color:
|
|
620
|
-
backgroundColor:
|
|
523
|
+
color: deepPurpleColorPalette['grey.3'],
|
|
524
|
+
backgroundColor: deepPurpleColorPalette['grey.1']
|
|
621
525
|
},
|
|
622
526
|
large: {
|
|
623
|
-
borderRadius:
|
|
527
|
+
borderRadius: 8,
|
|
624
528
|
size: largeAvatarSize,
|
|
625
529
|
iconSize: largeAvatarIconSize
|
|
626
530
|
}
|
|
@@ -633,7 +537,7 @@ const bottomSheet = {
|
|
|
633
537
|
padding: spacing * 4
|
|
634
538
|
},
|
|
635
539
|
handle: {
|
|
636
|
-
backgroundColor:
|
|
540
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
637
541
|
}
|
|
638
542
|
};
|
|
639
543
|
|
|
@@ -701,9 +605,9 @@ const button = {
|
|
|
701
605
|
pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
702
606
|
hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
703
607
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
704
|
-
color:
|
|
705
|
-
hoverColor:
|
|
706
|
-
activeColor:
|
|
608
|
+
color: deepPurpleColorPalette.white,
|
|
609
|
+
hoverColor: deepPurpleColorPalette.white,
|
|
610
|
+
activeColor: deepPurpleColorPalette.white
|
|
707
611
|
}
|
|
708
612
|
},
|
|
709
613
|
primary: {
|
|
@@ -716,11 +620,11 @@ const button = {
|
|
|
716
620
|
ghost: {
|
|
717
621
|
backgroundColor: colors.uiBackgroundLight,
|
|
718
622
|
pressedBackgroundColor: colors.uiBackground,
|
|
719
|
-
hoverBackgroundColor:
|
|
623
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
720
624
|
focusBorderColor: 'rgba(255,255,255, 0.4)',
|
|
721
625
|
color: colors.primary,
|
|
722
|
-
hoverColor:
|
|
723
|
-
activeColor:
|
|
626
|
+
hoverColor: deepPurpleColorPalette['beige.2'],
|
|
627
|
+
activeColor: deepPurpleColorPalette['beige.2']
|
|
724
628
|
}
|
|
725
629
|
},
|
|
726
630
|
dark: {
|
|
@@ -733,19 +637,19 @@ const button = {
|
|
|
733
637
|
},
|
|
734
638
|
danger: {
|
|
735
639
|
default: {
|
|
736
|
-
backgroundColor:
|
|
737
|
-
pressedBackgroundColor:
|
|
738
|
-
hoverBackgroundColor:
|
|
739
|
-
focusBorderColor:
|
|
640
|
+
backgroundColor: deepPurpleColorPalette['red.1'],
|
|
641
|
+
pressedBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
642
|
+
hoverBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
643
|
+
focusBorderColor: deepPurpleColorPalette['red.2']
|
|
740
644
|
},
|
|
741
645
|
ghost: {
|
|
742
646
|
backgroundColor: colors.uiBackgroundLight,
|
|
743
647
|
pressedBackgroundColor: colors.uiBackground,
|
|
744
|
-
hoverBackgroundColor:
|
|
648
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
745
649
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
746
|
-
color:
|
|
747
|
-
hoverColor:
|
|
748
|
-
activeColor:
|
|
650
|
+
color: deepPurpleColorPalette['red.6'],
|
|
651
|
+
hoverColor: deepPurpleColorPalette['red.6'],
|
|
652
|
+
activeColor: deepPurpleColorPalette['red.6']
|
|
749
653
|
}
|
|
750
654
|
},
|
|
751
655
|
subtle: {
|
|
@@ -786,14 +690,14 @@ const button = {
|
|
|
786
690
|
backgroundColor: colors.disabled,
|
|
787
691
|
pressedBackgroundColor: colors.disabled,
|
|
788
692
|
hoverBackgroundColor: colors.disabled,
|
|
789
|
-
focusBorderColor:
|
|
790
|
-
borderColor:
|
|
693
|
+
focusBorderColor: deepPurpleColorPalette['beige.2'],
|
|
694
|
+
borderColor: deepPurpleColorPalette['beige.2']
|
|
791
695
|
}
|
|
792
696
|
}
|
|
793
697
|
};
|
|
794
698
|
|
|
795
699
|
const buttonBadge = {
|
|
796
|
-
backgroundColor:
|
|
700
|
+
backgroundColor: deepPurpleColorPalette['red.6'],
|
|
797
701
|
dimensions: {
|
|
798
702
|
withBadge: {
|
|
799
703
|
width: 10,
|
|
@@ -822,7 +726,7 @@ const card = {
|
|
|
822
726
|
borderColor: colors.separator
|
|
823
727
|
},
|
|
824
728
|
subtle: {
|
|
825
|
-
backgroundColor:
|
|
729
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
826
730
|
borderColor: colors.separator
|
|
827
731
|
}
|
|
828
732
|
};
|
|
@@ -882,17 +786,17 @@ const choices = {
|
|
|
882
786
|
small: 24
|
|
883
787
|
},
|
|
884
788
|
backgroundColor: {
|
|
885
|
-
default:
|
|
789
|
+
default: deepPurpleColorPalette['beige.1'],
|
|
886
790
|
disabled: colors.disabled,
|
|
887
791
|
selected: colors.primary,
|
|
888
|
-
pressed:
|
|
889
|
-
hover:
|
|
890
|
-
hoverWhenSelected:
|
|
792
|
+
pressed: deepPurpleColorPalette['deepPurple.7'],
|
|
793
|
+
hover: deepPurpleColorPalette['beige.2'],
|
|
794
|
+
hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
|
|
891
795
|
},
|
|
892
796
|
disabled: {
|
|
893
797
|
border: {
|
|
894
798
|
width: 2,
|
|
895
|
-
color:
|
|
799
|
+
color: deepPurpleColorPalette['beige.2']
|
|
896
800
|
}
|
|
897
801
|
},
|
|
898
802
|
transition: {
|
|
@@ -957,19 +861,19 @@ const autocomplete = {
|
|
|
957
861
|
backgroundColor: colors.white
|
|
958
862
|
},
|
|
959
863
|
hovered: {
|
|
960
|
-
backgroundColor:
|
|
864
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
961
865
|
},
|
|
962
866
|
focused: {
|
|
963
|
-
backgroundColor:
|
|
867
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
964
868
|
},
|
|
965
869
|
selected: {
|
|
966
|
-
backgroundColor:
|
|
870
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
967
871
|
},
|
|
968
872
|
highlighted: {
|
|
969
|
-
backgroundColor:
|
|
873
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
970
874
|
},
|
|
971
875
|
pressed: {
|
|
972
|
-
backgroundColor:
|
|
876
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
973
877
|
}
|
|
974
878
|
},
|
|
975
879
|
optionsContainer: {
|
|
@@ -1037,37 +941,37 @@ const datePicker = {
|
|
|
1037
941
|
|
|
1038
942
|
const inputStatesStyle = {
|
|
1039
943
|
default: {
|
|
1040
|
-
backgroundColor:
|
|
1041
|
-
borderColor:
|
|
1042
|
-
color:
|
|
944
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
945
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
946
|
+
color: deepPurpleColorPalette.black
|
|
1043
947
|
},
|
|
1044
948
|
pending: {
|
|
1045
|
-
backgroundColor:
|
|
1046
|
-
borderColor:
|
|
1047
|
-
color:
|
|
949
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
950
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
951
|
+
color: deepPurpleColorPalette.black
|
|
1048
952
|
},
|
|
1049
953
|
valid: {
|
|
1050
|
-
backgroundColor:
|
|
1051
|
-
borderColor:
|
|
1052
|
-
color:
|
|
954
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
955
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
956
|
+
color: deepPurpleColorPalette.black
|
|
1053
957
|
},
|
|
1054
958
|
hover: {
|
|
1055
|
-
backgroundColor:
|
|
1056
|
-
borderColor:
|
|
1057
|
-
color:
|
|
959
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
960
|
+
borderColor: deepPurpleColorPalette['beige.4'],
|
|
961
|
+
color: deepPurpleColorPalette.black
|
|
1058
962
|
},
|
|
1059
963
|
focus: {
|
|
1060
|
-
borderColor:
|
|
1061
|
-
color:
|
|
964
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
965
|
+
color: deepPurpleColorPalette.black
|
|
1062
966
|
},
|
|
1063
967
|
disabled: {
|
|
1064
|
-
backgroundColor:
|
|
1065
|
-
borderColor:
|
|
1066
|
-
color:
|
|
968
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
969
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
970
|
+
color: deepPurpleColorPalette['grey.3']
|
|
1067
971
|
},
|
|
1068
972
|
invalid: {
|
|
1069
|
-
borderColor:
|
|
1070
|
-
color:
|
|
973
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
974
|
+
color: deepPurpleColorPalette.black
|
|
1071
975
|
}
|
|
1072
976
|
};
|
|
1073
977
|
const webAnimationDuration = '200ms';
|
|
@@ -1076,11 +980,11 @@ const webAnimationProperties = ['border-color', 'background-color'];
|
|
|
1076
980
|
const input = {
|
|
1077
981
|
minHeight: 40,
|
|
1078
982
|
color: {
|
|
1079
|
-
selection:
|
|
1080
|
-
placeholder:
|
|
983
|
+
selection: deepPurpleColorPalette['deepPurple.8'],
|
|
984
|
+
placeholder: deepPurpleColorPalette['beige.6']
|
|
1081
985
|
},
|
|
1082
986
|
borderWidth: 1,
|
|
1083
|
-
borderRadius:
|
|
987
|
+
borderRadius: 4,
|
|
1084
988
|
icon: {
|
|
1085
989
|
size: 20
|
|
1086
990
|
},
|
|
@@ -1117,7 +1021,7 @@ const inputTag = {
|
|
|
1117
1021
|
labelColor: colors.uiBackgroundLight
|
|
1118
1022
|
},
|
|
1119
1023
|
default: {
|
|
1120
|
-
backgroundColor:
|
|
1024
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1121
1025
|
labelColor: colors.black
|
|
1122
1026
|
},
|
|
1123
1027
|
borderRadius: 10,
|
|
@@ -1127,9 +1031,9 @@ const inputTag = {
|
|
|
1127
1031
|
const radio = {
|
|
1128
1032
|
size: 24,
|
|
1129
1033
|
unchecked: {
|
|
1130
|
-
borderWidth:
|
|
1034
|
+
borderWidth: 1,
|
|
1131
1035
|
backgroundColor: colors.uiBackgroundLight,
|
|
1132
|
-
borderColor:
|
|
1036
|
+
borderColor: deepPurpleColorPalette['beige.3']
|
|
1133
1037
|
},
|
|
1134
1038
|
checked: {
|
|
1135
1039
|
backgroundColor: colors.primary,
|
|
@@ -1146,8 +1050,9 @@ const radio = {
|
|
|
1146
1050
|
borderColor: colors.primary
|
|
1147
1051
|
},
|
|
1148
1052
|
disabled: {
|
|
1149
|
-
backgroundColor:
|
|
1150
|
-
borderColor: colors.
|
|
1053
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1054
|
+
borderColor: colors.transparent,
|
|
1055
|
+
innerBackgroundColor: deepPurpleColorPalette['grey.1']
|
|
1151
1056
|
},
|
|
1152
1057
|
transition: {
|
|
1153
1058
|
duration: '200ms',
|
|
@@ -1158,14 +1063,19 @@ const radio = {
|
|
|
1158
1063
|
const radioButtonGroup = {
|
|
1159
1064
|
item: {
|
|
1160
1065
|
minHeight: 40,
|
|
1161
|
-
borderWidth:
|
|
1162
|
-
borderRadius:
|
|
1066
|
+
borderWidth: 1,
|
|
1067
|
+
borderRadius: 4,
|
|
1068
|
+
font: {
|
|
1069
|
+
color: {
|
|
1070
|
+
disabled: deepPurpleColorPalette['grey.3']
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1163
1073
|
borderColor: {
|
|
1164
1074
|
default: colors.separator,
|
|
1165
1075
|
hover: colors.primary,
|
|
1166
1076
|
pressed: colors.primary,
|
|
1167
1077
|
active: colors.primary,
|
|
1168
|
-
disabled: colors.
|
|
1078
|
+
disabled: colors.disabled
|
|
1169
1079
|
},
|
|
1170
1080
|
backgroundColor: {
|
|
1171
1081
|
default: colors.uiBackgroundLight,
|
|
@@ -1206,17 +1116,17 @@ const toggle = {
|
|
|
1206
1116
|
medium: 50,
|
|
1207
1117
|
large: 66
|
|
1208
1118
|
},
|
|
1209
|
-
labelColor:
|
|
1119
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1210
1120
|
backgroundColor: {
|
|
1211
|
-
checked:
|
|
1212
|
-
unchecked:
|
|
1121
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1122
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1213
1123
|
},
|
|
1214
1124
|
border: {
|
|
1215
1125
|
color: 'transparent',
|
|
1216
1126
|
width: 1
|
|
1217
1127
|
},
|
|
1218
1128
|
circle: {
|
|
1219
|
-
backgroundColor:
|
|
1129
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1220
1130
|
width: {
|
|
1221
1131
|
medium: 18,
|
|
1222
1132
|
large: 24
|
|
@@ -1244,17 +1154,17 @@ const toggle = {
|
|
|
1244
1154
|
medium: 50,
|
|
1245
1155
|
large: 66
|
|
1246
1156
|
},
|
|
1247
|
-
labelColor:
|
|
1157
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1248
1158
|
backgroundColor: {
|
|
1249
|
-
checked:
|
|
1250
|
-
unchecked:
|
|
1159
|
+
checked: deepPurpleColorPalette['deepPurple.7'],
|
|
1160
|
+
unchecked: deepPurpleColorPalette['beige.4']
|
|
1251
1161
|
},
|
|
1252
1162
|
border: {
|
|
1253
1163
|
color: 'transparent',
|
|
1254
1164
|
width: 1
|
|
1255
1165
|
},
|
|
1256
1166
|
circle: {
|
|
1257
|
-
backgroundColor:
|
|
1167
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1258
1168
|
width: {
|
|
1259
1169
|
medium: 18,
|
|
1260
1170
|
large: 24
|
|
@@ -1282,17 +1192,17 @@ const toggle = {
|
|
|
1282
1192
|
medium: 50,
|
|
1283
1193
|
large: 66
|
|
1284
1194
|
},
|
|
1285
|
-
labelColor:
|
|
1195
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1286
1196
|
backgroundColor: {
|
|
1287
|
-
checked:
|
|
1288
|
-
unchecked:
|
|
1197
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1198
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1289
1199
|
},
|
|
1290
1200
|
border: {
|
|
1291
|
-
color:
|
|
1201
|
+
color: deepPurpleColorPalette.white,
|
|
1292
1202
|
width: 1
|
|
1293
1203
|
},
|
|
1294
1204
|
circle: {
|
|
1295
|
-
backgroundColor:
|
|
1205
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1296
1206
|
width: {
|
|
1297
1207
|
medium: 18,
|
|
1298
1208
|
large: 24
|
|
@@ -1307,7 +1217,7 @@ const toggle = {
|
|
|
1307
1217
|
}
|
|
1308
1218
|
},
|
|
1309
1219
|
wrapperBorder: {
|
|
1310
|
-
color:
|
|
1220
|
+
color: deepPurpleColorPalette.black,
|
|
1311
1221
|
width: 1
|
|
1312
1222
|
}
|
|
1313
1223
|
},
|
|
@@ -1320,17 +1230,17 @@ const toggle = {
|
|
|
1320
1230
|
medium: 50,
|
|
1321
1231
|
large: 66
|
|
1322
1232
|
},
|
|
1323
|
-
labelColor:
|
|
1233
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1324
1234
|
backgroundColor: {
|
|
1325
|
-
checked:
|
|
1326
|
-
unchecked:
|
|
1235
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1236
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1327
1237
|
},
|
|
1328
1238
|
border: {
|
|
1329
|
-
color:
|
|
1239
|
+
color: deepPurpleColorPalette.white,
|
|
1330
1240
|
width: 1
|
|
1331
1241
|
},
|
|
1332
1242
|
circle: {
|
|
1333
|
-
backgroundColor:
|
|
1243
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1334
1244
|
width: {
|
|
1335
1245
|
medium: 18,
|
|
1336
1246
|
large: 24
|
|
@@ -1345,7 +1255,7 @@ const toggle = {
|
|
|
1345
1255
|
}
|
|
1346
1256
|
},
|
|
1347
1257
|
wrapperBorder: {
|
|
1348
|
-
color:
|
|
1258
|
+
color: deepPurpleColorPalette.black,
|
|
1349
1259
|
width: 1
|
|
1350
1260
|
}
|
|
1351
1261
|
}
|
|
@@ -1360,17 +1270,17 @@ const toggle = {
|
|
|
1360
1270
|
medium: 50,
|
|
1361
1271
|
large: 66
|
|
1362
1272
|
},
|
|
1363
|
-
labelColor:
|
|
1273
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1364
1274
|
backgroundColor: {
|
|
1365
|
-
checked:
|
|
1366
|
-
unchecked:
|
|
1275
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1276
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1367
1277
|
},
|
|
1368
1278
|
border: {
|
|
1369
1279
|
color: 'transparent',
|
|
1370
1280
|
width: 1
|
|
1371
1281
|
},
|
|
1372
1282
|
circle: {
|
|
1373
|
-
backgroundColor:
|
|
1283
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1374
1284
|
width: {
|
|
1375
1285
|
medium: 18,
|
|
1376
1286
|
large: 24
|
|
@@ -1398,17 +1308,17 @@ const toggle = {
|
|
|
1398
1308
|
medium: 50,
|
|
1399
1309
|
large: 66
|
|
1400
1310
|
},
|
|
1401
|
-
labelColor:
|
|
1311
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1402
1312
|
backgroundColor: {
|
|
1403
|
-
checked:
|
|
1404
|
-
unchecked:
|
|
1313
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1314
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1405
1315
|
},
|
|
1406
1316
|
border: {
|
|
1407
1317
|
color: 'transparent',
|
|
1408
1318
|
width: 1
|
|
1409
1319
|
},
|
|
1410
1320
|
circle: {
|
|
1411
|
-
backgroundColor:
|
|
1321
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1412
1322
|
width: {
|
|
1413
1323
|
medium: 18,
|
|
1414
1324
|
large: 24
|
|
@@ -1436,17 +1346,17 @@ const toggle = {
|
|
|
1436
1346
|
medium: 50,
|
|
1437
1347
|
large: 66
|
|
1438
1348
|
},
|
|
1439
|
-
labelColor:
|
|
1349
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1440
1350
|
backgroundColor: {
|
|
1441
|
-
checked:
|
|
1442
|
-
unchecked:
|
|
1351
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1352
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1443
1353
|
},
|
|
1444
1354
|
border: {
|
|
1445
1355
|
color: 'transparent',
|
|
1446
1356
|
width: 1
|
|
1447
1357
|
},
|
|
1448
1358
|
circle: {
|
|
1449
|
-
backgroundColor:
|
|
1359
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1450
1360
|
width: {
|
|
1451
1361
|
medium: 18,
|
|
1452
1362
|
large: 24
|
|
@@ -1461,7 +1371,7 @@ const toggle = {
|
|
|
1461
1371
|
}
|
|
1462
1372
|
},
|
|
1463
1373
|
wrapperBorder: {
|
|
1464
|
-
color:
|
|
1374
|
+
color: deepPurpleColorPalette.black,
|
|
1465
1375
|
width: 1
|
|
1466
1376
|
}
|
|
1467
1377
|
},
|
|
@@ -1474,17 +1384,17 @@ const toggle = {
|
|
|
1474
1384
|
medium: 50,
|
|
1475
1385
|
large: 66
|
|
1476
1386
|
},
|
|
1477
|
-
labelColor:
|
|
1387
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1478
1388
|
backgroundColor: {
|
|
1479
|
-
checked:
|
|
1480
|
-
unchecked:
|
|
1389
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1390
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1481
1391
|
},
|
|
1482
1392
|
border: {
|
|
1483
1393
|
color: 'transparent',
|
|
1484
1394
|
width: 1
|
|
1485
1395
|
},
|
|
1486
1396
|
circle: {
|
|
1487
|
-
backgroundColor:
|
|
1397
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1488
1398
|
width: {
|
|
1489
1399
|
medium: 18,
|
|
1490
1400
|
large: 24
|
|
@@ -1499,7 +1409,7 @@ const toggle = {
|
|
|
1499
1409
|
}
|
|
1500
1410
|
},
|
|
1501
1411
|
wrapperBorder: {
|
|
1502
|
-
color:
|
|
1412
|
+
color: deepPurpleColorPalette.black,
|
|
1503
1413
|
width: 1
|
|
1504
1414
|
}
|
|
1505
1415
|
}
|
|
@@ -1516,17 +1426,17 @@ const toggle = {
|
|
|
1516
1426
|
medium: 50,
|
|
1517
1427
|
large: 66
|
|
1518
1428
|
},
|
|
1519
|
-
labelColor:
|
|
1429
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1520
1430
|
backgroundColor: {
|
|
1521
|
-
checked:
|
|
1522
|
-
unchecked:
|
|
1431
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1432
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1523
1433
|
},
|
|
1524
1434
|
border: {
|
|
1525
1435
|
color: 'transparent',
|
|
1526
1436
|
width: 1
|
|
1527
1437
|
},
|
|
1528
1438
|
circle: {
|
|
1529
|
-
backgroundColor:
|
|
1439
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1530
1440
|
width: {
|
|
1531
1441
|
medium: 18,
|
|
1532
1442
|
large: 24
|
|
@@ -1554,17 +1464,17 @@ const toggle = {
|
|
|
1554
1464
|
medium: 50,
|
|
1555
1465
|
large: 66
|
|
1556
1466
|
},
|
|
1557
|
-
labelColor:
|
|
1467
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1558
1468
|
backgroundColor: {
|
|
1559
|
-
checked:
|
|
1560
|
-
unchecked:
|
|
1469
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1470
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1561
1471
|
},
|
|
1562
1472
|
border: {
|
|
1563
1473
|
color: 'transparent',
|
|
1564
1474
|
width: 1
|
|
1565
1475
|
},
|
|
1566
1476
|
circle: {
|
|
1567
|
-
backgroundColor:
|
|
1477
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1568
1478
|
width: {
|
|
1569
1479
|
medium: 18,
|
|
1570
1480
|
large: 24
|
|
@@ -1592,17 +1502,17 @@ const toggle = {
|
|
|
1592
1502
|
medium: 50,
|
|
1593
1503
|
large: 66
|
|
1594
1504
|
},
|
|
1595
|
-
labelColor:
|
|
1505
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1596
1506
|
backgroundColor: {
|
|
1597
|
-
checked:
|
|
1598
|
-
unchecked:
|
|
1507
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1508
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1599
1509
|
},
|
|
1600
1510
|
border: {
|
|
1601
|
-
color:
|
|
1511
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1602
1512
|
width: 1
|
|
1603
1513
|
},
|
|
1604
1514
|
circle: {
|
|
1605
|
-
backgroundColor:
|
|
1515
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1606
1516
|
width: {
|
|
1607
1517
|
medium: 18,
|
|
1608
1518
|
large: 24
|
|
@@ -1617,7 +1527,7 @@ const toggle = {
|
|
|
1617
1527
|
}
|
|
1618
1528
|
},
|
|
1619
1529
|
wrapperBorder: {
|
|
1620
|
-
color:
|
|
1530
|
+
color: deepPurpleColorPalette.white,
|
|
1621
1531
|
width: 1
|
|
1622
1532
|
}
|
|
1623
1533
|
},
|
|
@@ -1630,17 +1540,17 @@ const toggle = {
|
|
|
1630
1540
|
medium: 50,
|
|
1631
1541
|
large: 66
|
|
1632
1542
|
},
|
|
1633
|
-
labelColor:
|
|
1543
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1634
1544
|
backgroundColor: {
|
|
1635
|
-
checked:
|
|
1636
|
-
unchecked:
|
|
1545
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1546
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1637
1547
|
},
|
|
1638
1548
|
border: {
|
|
1639
|
-
color:
|
|
1549
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1640
1550
|
width: 1
|
|
1641
1551
|
},
|
|
1642
1552
|
circle: {
|
|
1643
|
-
backgroundColor:
|
|
1553
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1644
1554
|
width: {
|
|
1645
1555
|
medium: 18,
|
|
1646
1556
|
large: 24
|
|
@@ -1655,7 +1565,7 @@ const toggle = {
|
|
|
1655
1565
|
}
|
|
1656
1566
|
},
|
|
1657
1567
|
wrapperBorder: {
|
|
1658
|
-
color:
|
|
1568
|
+
color: deepPurpleColorPalette.white,
|
|
1659
1569
|
width: 1
|
|
1660
1570
|
}
|
|
1661
1571
|
}
|
|
@@ -1670,17 +1580,17 @@ const toggle = {
|
|
|
1670
1580
|
medium: 50,
|
|
1671
1581
|
large: 66
|
|
1672
1582
|
},
|
|
1673
|
-
labelColor:
|
|
1583
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1674
1584
|
backgroundColor: {
|
|
1675
|
-
checked:
|
|
1676
|
-
unchecked:
|
|
1585
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1586
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1677
1587
|
},
|
|
1678
1588
|
border: {
|
|
1679
1589
|
color: 'transparent',
|
|
1680
1590
|
width: 1
|
|
1681
1591
|
},
|
|
1682
1592
|
circle: {
|
|
1683
|
-
backgroundColor:
|
|
1593
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1684
1594
|
width: {
|
|
1685
1595
|
medium: 18,
|
|
1686
1596
|
large: 24
|
|
@@ -1708,17 +1618,17 @@ const toggle = {
|
|
|
1708
1618
|
medium: 50,
|
|
1709
1619
|
large: 66
|
|
1710
1620
|
},
|
|
1711
|
-
labelColor:
|
|
1621
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1712
1622
|
backgroundColor: {
|
|
1713
|
-
checked:
|
|
1714
|
-
unchecked:
|
|
1623
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1624
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1715
1625
|
},
|
|
1716
1626
|
border: {
|
|
1717
1627
|
color: 'transparent',
|
|
1718
1628
|
width: 1
|
|
1719
1629
|
},
|
|
1720
1630
|
circle: {
|
|
1721
|
-
backgroundColor:
|
|
1631
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1722
1632
|
width: {
|
|
1723
1633
|
medium: 18,
|
|
1724
1634
|
large: 24
|
|
@@ -1746,17 +1656,17 @@ const toggle = {
|
|
|
1746
1656
|
medium: 50,
|
|
1747
1657
|
large: 66
|
|
1748
1658
|
},
|
|
1749
|
-
labelColor:
|
|
1659
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1750
1660
|
backgroundColor: {
|
|
1751
|
-
checked:
|
|
1752
|
-
unchecked:
|
|
1661
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1662
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1753
1663
|
},
|
|
1754
1664
|
border: {
|
|
1755
|
-
color:
|
|
1665
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1756
1666
|
width: 1
|
|
1757
1667
|
},
|
|
1758
1668
|
circle: {
|
|
1759
|
-
backgroundColor:
|
|
1669
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1760
1670
|
width: {
|
|
1761
1671
|
medium: 18,
|
|
1762
1672
|
large: 24
|
|
@@ -1771,7 +1681,7 @@ const toggle = {
|
|
|
1771
1681
|
}
|
|
1772
1682
|
},
|
|
1773
1683
|
wrapperBorder: {
|
|
1774
|
-
color:
|
|
1684
|
+
color: deepPurpleColorPalette.white,
|
|
1775
1685
|
width: 1
|
|
1776
1686
|
}
|
|
1777
1687
|
},
|
|
@@ -1784,17 +1694,17 @@ const toggle = {
|
|
|
1784
1694
|
medium: 50,
|
|
1785
1695
|
large: 66
|
|
1786
1696
|
},
|
|
1787
|
-
labelColor:
|
|
1697
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1788
1698
|
backgroundColor: {
|
|
1789
|
-
checked:
|
|
1790
|
-
unchecked:
|
|
1699
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1700
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1791
1701
|
},
|
|
1792
1702
|
border: {
|
|
1793
|
-
color:
|
|
1703
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1794
1704
|
width: 1
|
|
1795
1705
|
},
|
|
1796
1706
|
circle: {
|
|
1797
|
-
backgroundColor:
|
|
1707
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1798
1708
|
width: {
|
|
1799
1709
|
medium: 18,
|
|
1800
1710
|
large: 24
|
|
@@ -1809,7 +1719,7 @@ const toggle = {
|
|
|
1809
1719
|
}
|
|
1810
1720
|
},
|
|
1811
1721
|
wrapperBorder: {
|
|
1812
|
-
color:
|
|
1722
|
+
color: deepPurpleColorPalette.white,
|
|
1813
1723
|
width: 1
|
|
1814
1724
|
}
|
|
1815
1725
|
}
|
|
@@ -1871,50 +1781,50 @@ const highlight = {
|
|
|
1871
1781
|
},
|
|
1872
1782
|
primary: {
|
|
1873
1783
|
default: {
|
|
1874
|
-
backgroundColor:
|
|
1784
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1875
1785
|
},
|
|
1876
1786
|
hover: {
|
|
1877
|
-
backgroundColor:
|
|
1787
|
+
backgroundColor: deepPurpleColorPalette['beige.4']
|
|
1878
1788
|
}
|
|
1879
1789
|
},
|
|
1880
1790
|
secondary: {
|
|
1881
1791
|
default: {
|
|
1882
|
-
backgroundColor:
|
|
1792
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1883
1793
|
},
|
|
1884
1794
|
hover: {
|
|
1885
|
-
backgroundColor:
|
|
1795
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
1886
1796
|
}
|
|
1887
1797
|
},
|
|
1888
1798
|
ghost: {
|
|
1889
1799
|
default: {
|
|
1890
|
-
backgroundColor:
|
|
1800
|
+
backgroundColor: deepPurpleColorPalette.white
|
|
1891
1801
|
},
|
|
1892
1802
|
hover: {
|
|
1893
|
-
backgroundColor:
|
|
1803
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1894
1804
|
}
|
|
1895
1805
|
},
|
|
1896
1806
|
dark: {
|
|
1897
1807
|
default: {
|
|
1898
|
-
backgroundColor:
|
|
1808
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1899
1809
|
},
|
|
1900
1810
|
hover: {
|
|
1901
|
-
backgroundColor:
|
|
1811
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1902
1812
|
}
|
|
1903
1813
|
},
|
|
1904
1814
|
success: {
|
|
1905
1815
|
default: {
|
|
1906
|
-
backgroundColor:
|
|
1816
|
+
backgroundColor: deepPurpleColorPalette['green.1']
|
|
1907
1817
|
},
|
|
1908
1818
|
hover: {
|
|
1909
|
-
backgroundColor:
|
|
1819
|
+
backgroundColor: deepPurpleColorPalette['green.2']
|
|
1910
1820
|
}
|
|
1911
1821
|
},
|
|
1912
1822
|
warning: {
|
|
1913
1823
|
default: {
|
|
1914
|
-
backgroundColor:
|
|
1824
|
+
backgroundColor: deepPurpleColorPalette['yellow.1']
|
|
1915
1825
|
},
|
|
1916
1826
|
hover: {
|
|
1917
|
-
backgroundColor:
|
|
1827
|
+
backgroundColor: deepPurpleColorPalette['yellow.2']
|
|
1918
1828
|
}
|
|
1919
1829
|
},
|
|
1920
1830
|
padding: {
|
|
@@ -1954,14 +1864,6 @@ const icon = {
|
|
|
1954
1864
|
header4: createTypographyIconSizeConfig(18, 24),
|
|
1955
1865
|
// also known as xxsmall
|
|
1956
1866
|
header5: createTypographyIconSizeConfig(18, 18),
|
|
1957
|
-
'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
|
|
1958
|
-
'header-impact-xl': createTypographyIconSizeConfig(48, 48),
|
|
1959
|
-
'header-impact-l': createTypographyIconSizeConfig(40, 40),
|
|
1960
|
-
'header-impact-m': createTypographyIconSizeConfig(32, 32),
|
|
1961
|
-
'header-impact-s': createTypographyIconSizeConfig(24, 24),
|
|
1962
|
-
'header-impact-xs': createTypographyIconSizeConfig(18, 18),
|
|
1963
|
-
'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
|
|
1964
|
-
'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
|
|
1965
1867
|
'body-large': createTypographyIconSizeConfig(18, 24),
|
|
1966
1868
|
'body-medium': createTypographyIconSizeConfig(18, 18),
|
|
1967
1869
|
body: createTypographyIconSizeConfig(16, 16),
|
|
@@ -2006,7 +1908,7 @@ const iconButton = {
|
|
|
2006
1908
|
pressedBackgroundColor: button.default.ghost.pressedBackgroundColor
|
|
2007
1909
|
},
|
|
2008
1910
|
primary: {
|
|
2009
|
-
pressedBackgroundColor:
|
|
1911
|
+
pressedBackgroundColor: deepPurpleColorPalette['beige.1']
|
|
2010
1912
|
},
|
|
2011
1913
|
'primary-plain': {
|
|
2012
1914
|
pressedBackgroundColor: colors.primaryLight,
|
|
@@ -2081,149 +1983,198 @@ const pageLoader = {
|
|
|
2081
1983
|
}
|
|
2082
1984
|
};
|
|
2083
1985
|
|
|
2084
|
-
const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
|
|
2085
|
-
/** @deprecated legacy typography type config is deprecated. */
|
|
2086
|
-
const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
|
|
2087
|
-
baseAndSmall: {
|
|
2088
|
-
fontSize: baseAndSmallFontSize,
|
|
2089
|
-
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
2090
|
-
},
|
|
2091
|
-
mediumAndWide: {
|
|
2092
|
-
fontSize: mediumAndWideFontSize,
|
|
2093
|
-
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
2094
|
-
}
|
|
2095
|
-
});
|
|
2096
|
-
const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
|
|
2097
|
-
const config = {
|
|
2098
|
-
fontSize,
|
|
2099
|
-
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
2100
|
-
};
|
|
2101
|
-
return {
|
|
2102
|
-
baseAndSmall: config,
|
|
2103
|
-
mediumAndWide: config
|
|
2104
|
-
};
|
|
2105
|
-
};
|
|
2106
1986
|
const typography = {
|
|
2107
1987
|
colors: {
|
|
2108
1988
|
black: colors.black,
|
|
2109
1989
|
'black-anthracite': colors.blackAnthracite,
|
|
2110
|
-
'black-disabled':
|
|
2111
|
-
'black-light':
|
|
1990
|
+
'black-disabled': deepPurpleColorPalette['grey.3'],
|
|
1991
|
+
'black-light': deepPurpleColorPalette['grey.5'],
|
|
2112
1992
|
white: colors.white,
|
|
2113
1993
|
'white-light': colors.white,
|
|
2114
1994
|
primary: colors.primary,
|
|
2115
1995
|
'primary-light': colors.primaryLight,
|
|
2116
1996
|
accent: colors.accent,
|
|
2117
1997
|
success: colors.success,
|
|
2118
|
-
danger:
|
|
1998
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
2119
1999
|
warning: colors.warning
|
|
2120
2000
|
},
|
|
2121
2001
|
types: {
|
|
2122
2002
|
headings: {
|
|
2123
2003
|
fontFamily: {
|
|
2124
2004
|
native: {
|
|
2125
|
-
regular: '
|
|
2126
|
-
|
|
2005
|
+
regular: 'GTStandardRegular',
|
|
2006
|
+
semibold: 'GTStandardSemibold',
|
|
2007
|
+
bold: 'GTStandardBold'
|
|
2127
2008
|
},
|
|
2128
2009
|
web: {
|
|
2129
|
-
regular: '
|
|
2130
|
-
|
|
2010
|
+
regular: 'GTStandard',
|
|
2011
|
+
semibold: 'GTStandard',
|
|
2012
|
+
bold: 'GTStandard'
|
|
2131
2013
|
}
|
|
2132
2014
|
},
|
|
2133
2015
|
fontWeight: {
|
|
2134
|
-
regular:
|
|
2016
|
+
regular: 500,
|
|
2017
|
+
semibold: 600,
|
|
2135
2018
|
bold: 700
|
|
2136
2019
|
},
|
|
2137
2020
|
fontStyle: 'normal',
|
|
2138
2021
|
configs: {
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
'heading-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2022
|
+
'heading-xxl': {
|
|
2023
|
+
fontSize: 56,
|
|
2024
|
+
lineHeight: 64,
|
|
2025
|
+
allowedFontWeights: ['semibold']
|
|
2026
|
+
},
|
|
2027
|
+
'heading-xl': {
|
|
2028
|
+
fontSize: 48,
|
|
2029
|
+
lineHeight: 56,
|
|
2030
|
+
allowedFontWeights: ['semibold']
|
|
2031
|
+
},
|
|
2032
|
+
'heading-l': {
|
|
2033
|
+
fontSize: 40,
|
|
2034
|
+
lineHeight: 48,
|
|
2035
|
+
allowedFontWeights: ['semibold']
|
|
2036
|
+
},
|
|
2037
|
+
'heading-m': {
|
|
2038
|
+
fontSize: 28,
|
|
2039
|
+
lineHeight: 32,
|
|
2040
|
+
allowedFontWeights: ['semibold']
|
|
2041
|
+
},
|
|
2042
|
+
'heading-s': {
|
|
2043
|
+
fontSize: 18,
|
|
2044
|
+
lineHeight: 20,
|
|
2045
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2046
|
+
},
|
|
2047
|
+
'heading-xs': {
|
|
2048
|
+
fontSize: 16,
|
|
2049
|
+
lineHeight: 18,
|
|
2050
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2051
|
+
}
|
|
2153
2052
|
}
|
|
2154
2053
|
},
|
|
2155
|
-
|
|
2054
|
+
bodies: {
|
|
2156
2055
|
fontFamily: {
|
|
2157
2056
|
native: {
|
|
2158
|
-
regular: '
|
|
2159
|
-
bold: '
|
|
2057
|
+
regular: 'GTStandardRegular',
|
|
2058
|
+
bold: 'GTStandardBold'
|
|
2160
2059
|
},
|
|
2161
2060
|
web: {
|
|
2162
|
-
regular: '
|
|
2163
|
-
bold: '
|
|
2061
|
+
regular: 'GTStandard',
|
|
2062
|
+
bold: 'GTStandard'
|
|
2164
2063
|
}
|
|
2165
2064
|
},
|
|
2166
|
-
fontWeight:
|
|
2167
|
-
|
|
2065
|
+
fontWeight: {
|
|
2066
|
+
regular: 500,
|
|
2067
|
+
bold: 700
|
|
2068
|
+
},
|
|
2069
|
+
fontStyle: {
|
|
2070
|
+
regular: 'normal',
|
|
2071
|
+
bold: 'normal'
|
|
2072
|
+
},
|
|
2168
2073
|
configs: {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
'
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
'
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
'
|
|
2185
|
-
|
|
2186
|
-
|
|
2074
|
+
'body-xl': {
|
|
2075
|
+
fontSize: 24,
|
|
2076
|
+
lineHeight: 32,
|
|
2077
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2078
|
+
},
|
|
2079
|
+
'body-l': {
|
|
2080
|
+
fontSize: 18,
|
|
2081
|
+
lineHeight: 26,
|
|
2082
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2083
|
+
},
|
|
2084
|
+
'body-m': {
|
|
2085
|
+
fontSize: 16,
|
|
2086
|
+
lineHeight: 24,
|
|
2087
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2088
|
+
},
|
|
2089
|
+
'body-s': {
|
|
2090
|
+
fontSize: 14,
|
|
2091
|
+
lineHeight: 20,
|
|
2092
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2093
|
+
},
|
|
2094
|
+
'body-xs': {
|
|
2095
|
+
fontSize: 12,
|
|
2096
|
+
lineHeight: 16,
|
|
2097
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2098
|
+
}
|
|
2187
2099
|
}
|
|
2188
2100
|
},
|
|
2189
|
-
|
|
2101
|
+
labels: {
|
|
2190
2102
|
fontFamily: {
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
bold: 'Moderat'
|
|
2103
|
+
native: {
|
|
2104
|
+
semibold: 'GTStandardSemibold'
|
|
2194
2105
|
},
|
|
2106
|
+
web: {
|
|
2107
|
+
semibold: 'GTStandard'
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
fontWeight: {
|
|
2111
|
+
semibold: 600
|
|
2112
|
+
},
|
|
2113
|
+
fontStyle: 'normal',
|
|
2114
|
+
configs: {
|
|
2115
|
+
'label-large': {
|
|
2116
|
+
fontSize: 16,
|
|
2117
|
+
lineHeight: 24,
|
|
2118
|
+
allowedFontWeights: ['semibold']
|
|
2119
|
+
},
|
|
2120
|
+
'label-medium': {
|
|
2121
|
+
fontSize: 14,
|
|
2122
|
+
lineHeight: 20,
|
|
2123
|
+
allowedFontWeights: ['semibold']
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
contentCaps: {
|
|
2128
|
+
fontFamily: {
|
|
2195
2129
|
native: {
|
|
2196
|
-
|
|
2197
|
-
|
|
2130
|
+
bold: 'GTStandardNarrowBold'
|
|
2131
|
+
},
|
|
2132
|
+
web: {
|
|
2133
|
+
bold: 'GTStandardNarrow'
|
|
2198
2134
|
}
|
|
2199
2135
|
},
|
|
2200
2136
|
fontWeight: {
|
|
2201
|
-
regular: 400,
|
|
2202
2137
|
bold: 700
|
|
2203
2138
|
},
|
|
2204
|
-
fontStyle:
|
|
2205
|
-
regular: 'normal',
|
|
2206
|
-
bold: 'normal'
|
|
2207
|
-
},
|
|
2139
|
+
fontStyle: 'normal',
|
|
2208
2140
|
configs: {
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
'
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
'
|
|
2220
|
-
|
|
2141
|
+
'content-caps-xxxl': {
|
|
2142
|
+
fontSize: 40,
|
|
2143
|
+
lineHeight: 40,
|
|
2144
|
+
allowedFontWeights: ['bold']
|
|
2145
|
+
},
|
|
2146
|
+
'content-caps-xxl': {
|
|
2147
|
+
fontSize: 32,
|
|
2148
|
+
lineHeight: 40,
|
|
2149
|
+
allowedFontWeights: ['bold']
|
|
2150
|
+
},
|
|
2151
|
+
'content-caps-xl': {
|
|
2152
|
+
fontSize: 24,
|
|
2153
|
+
lineHeight: 28,
|
|
2154
|
+
allowedFontWeights: ['bold']
|
|
2155
|
+
},
|
|
2156
|
+
'content-caps-l': {
|
|
2157
|
+
fontSize: 18,
|
|
2158
|
+
lineHeight: 20,
|
|
2159
|
+
allowedFontWeights: ['bold']
|
|
2160
|
+
},
|
|
2161
|
+
'content-caps-m': {
|
|
2162
|
+
fontSize: 16,
|
|
2163
|
+
lineHeight: 18,
|
|
2164
|
+
allowedFontWeights: ['bold']
|
|
2165
|
+
},
|
|
2166
|
+
'content-caps-s': {
|
|
2167
|
+
fontSize: 14,
|
|
2168
|
+
lineHeight: 16,
|
|
2169
|
+
allowedFontWeights: ['bold']
|
|
2170
|
+
},
|
|
2171
|
+
'content-caps-xs': {
|
|
2172
|
+
fontSize: 12,
|
|
2173
|
+
lineHeight: 14,
|
|
2174
|
+
allowedFontWeights: ['bold']
|
|
2175
|
+
}
|
|
2221
2176
|
}
|
|
2222
2177
|
}
|
|
2223
|
-
},
|
|
2224
|
-
link: {
|
|
2225
|
-
/** @deprecated not used in kitt anymore, use Typography instead */
|
|
2226
|
-
disabledColor: colors.blackDisabled
|
|
2227
2178
|
}
|
|
2228
2179
|
};
|
|
2229
2180
|
|
|
@@ -2232,7 +2183,7 @@ const picker = {
|
|
|
2232
2183
|
ios: {
|
|
2233
2184
|
default: _objectSpread(_objectSpread({
|
|
2234
2185
|
fontFamily: typography.types.bodies.fontFamily.native.regular
|
|
2235
|
-
}, typography.types.bodies.configs
|
|
2186
|
+
}, typography.types.bodies.configs['body-m']), {}, {
|
|
2236
2187
|
fontSize: 16,
|
|
2237
2188
|
color: typography.colors['black-light'],
|
|
2238
2189
|
// 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)
|
|
@@ -2265,19 +2216,19 @@ const picker = {
|
|
|
2265
2216
|
backgroundColor: colors.transparent
|
|
2266
2217
|
},
|
|
2267
2218
|
hovered: {
|
|
2268
|
-
backgroundColor:
|
|
2219
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2269
2220
|
},
|
|
2270
2221
|
focused: {
|
|
2271
|
-
backgroundColor:
|
|
2222
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2272
2223
|
},
|
|
2273
2224
|
selected: {
|
|
2274
|
-
backgroundColor:
|
|
2225
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2275
2226
|
},
|
|
2276
2227
|
highlighted: {
|
|
2277
|
-
backgroundColor:
|
|
2228
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2278
2229
|
},
|
|
2279
2230
|
pressed: {
|
|
2280
|
-
backgroundColor:
|
|
2231
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
2281
2232
|
}
|
|
2282
2233
|
}
|
|
2283
2234
|
},
|
|
@@ -2361,8 +2312,8 @@ const shadows = {
|
|
|
2361
2312
|
}
|
|
2362
2313
|
};
|
|
2363
2314
|
|
|
2364
|
-
const skeletonBackgroundColor =
|
|
2365
|
-
const skeletonFlareColor =
|
|
2315
|
+
const skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
|
|
2316
|
+
const skeletonFlareColor = deepPurpleColorPalette['beige.3'];
|
|
2366
2317
|
const skeleton = {
|
|
2367
2318
|
backgroundColor: skeletonBackgroundColor,
|
|
2368
2319
|
flareColor: skeletonFlareColor,
|
|
@@ -2385,20 +2336,6 @@ const skeleton = {
|
|
|
2385
2336
|
|
|
2386
2337
|
const tag = {
|
|
2387
2338
|
borderRadius: 16,
|
|
2388
|
-
variant: {
|
|
2389
|
-
contrast: {
|
|
2390
|
-
borderWidth: 0
|
|
2391
|
-
},
|
|
2392
|
-
fill: {
|
|
2393
|
-
borderWidth: 0
|
|
2394
|
-
},
|
|
2395
|
-
outline: {
|
|
2396
|
-
borderWidth: 1
|
|
2397
|
-
},
|
|
2398
|
-
subtle: {
|
|
2399
|
-
borderWidth: 0
|
|
2400
|
-
}
|
|
2401
|
-
},
|
|
2402
2339
|
icon: {
|
|
2403
2340
|
small: 16,
|
|
2404
2341
|
medium: 16,
|
|
@@ -2474,14 +2411,14 @@ const verticalSteps = {
|
|
|
2474
2411
|
},
|
|
2475
2412
|
done: {
|
|
2476
2413
|
icon: {
|
|
2477
|
-
backgroundColor:
|
|
2478
|
-
textColor: colors.
|
|
2414
|
+
backgroundColor: colors.primary,
|
|
2415
|
+
textColor: colors.white
|
|
2479
2416
|
}
|
|
2480
2417
|
},
|
|
2481
2418
|
default: {
|
|
2482
2419
|
icon: {
|
|
2483
2420
|
backgroundColor: colors.disabled,
|
|
2484
|
-
textColor:
|
|
2421
|
+
textColor: deepPurpleColorPalette['grey.3']
|
|
2485
2422
|
}
|
|
2486
2423
|
}
|
|
2487
2424
|
};
|
|
@@ -2515,7 +2452,7 @@ const theme = {
|
|
|
2515
2452
|
getSpacing: multiplier => spacing * multiplier,
|
|
2516
2453
|
colors,
|
|
2517
2454
|
palettes: {
|
|
2518
|
-
|
|
2455
|
+
deepPurple: deepPurpleColorPalette
|
|
2519
2456
|
},
|
|
2520
2457
|
avatar,
|
|
2521
2458
|
breakpoints,
|
|
@@ -2934,11 +2871,13 @@ function getTypographyColorValue(colorName) {
|
|
|
2934
2871
|
return colorName;
|
|
2935
2872
|
}
|
|
2936
2873
|
|
|
2937
|
-
const isTypeHeadings = type => type.startsWith('
|
|
2938
|
-
const
|
|
2874
|
+
const isTypeHeadings = type => type.startsWith('heading');
|
|
2875
|
+
const isTypeLabels = type => type.startsWith('label');
|
|
2876
|
+
const isTypeContentCaps = type => type.startsWith('content-caps');
|
|
2939
2877
|
const getTypographyFamily = type => {
|
|
2940
|
-
if (isTypeHeadingsImpact(type)) return 'headings-impact';
|
|
2941
2878
|
if (isTypeHeadings(type)) return 'headings';
|
|
2879
|
+
if (isTypeLabels(type)) return 'labels';
|
|
2880
|
+
if (isTypeContentCaps(type)) return 'contentCaps';
|
|
2942
2881
|
return 'bodies';
|
|
2943
2882
|
};
|
|
2944
2883
|
const getTypographyFamilyWithAncestorValue = (type, typographyFamilyInContext) => {
|
|
@@ -2947,7 +2886,7 @@ const getTypographyFamilyWithAncestorValue = (type, typographyFamilyInContext) =
|
|
|
2947
2886
|
throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
|
|
2948
2887
|
};
|
|
2949
2888
|
|
|
2950
|
-
const _excluded$S = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
|
|
2889
|
+
const _excluded$S = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color", "underline"];
|
|
2951
2890
|
const TypographyFamilyContext = /*#__PURE__*/createContext(null);
|
|
2952
2891
|
const TypographyTypeContext = /*#__PURE__*/createContext(null);
|
|
2953
2892
|
const TypographyColorContext = /*#__PURE__*/createContext('black');
|
|
@@ -2961,9 +2900,6 @@ const TypographyDefaultColorContext = /*#__PURE__*/createContext(undefined);
|
|
|
2961
2900
|
function useTypographyDefaultColor() {
|
|
2962
2901
|
return useContext(TypographyDefaultColorContext);
|
|
2963
2902
|
}
|
|
2964
|
-
function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
|
|
2965
|
-
return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
|
|
2966
|
-
}
|
|
2967
2903
|
|
|
2968
2904
|
// TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
|
|
2969
2905
|
// & {
|
|
@@ -2979,11 +2915,88 @@ function createNativeBaseFontSize(type) {
|
|
|
2979
2915
|
[KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(typeName => {
|
|
2980
2916
|
const value = typeWithMediumForced[typeName];
|
|
2981
2917
|
if (value) {
|
|
2982
|
-
fontSizeForNativeBase[typeName] =
|
|
2918
|
+
fontSizeForNativeBase[typeName] = value;
|
|
2983
2919
|
}
|
|
2984
2920
|
});
|
|
2985
2921
|
return fontSizeForNativeBase;
|
|
2986
2922
|
}
|
|
2923
|
+
function ThrowErrorIfInvalidVariant(variant, value, fontWeight) {
|
|
2924
|
+
if (process.env.NODE_ENV !== 'production' && variant && variant !== fontWeight) {
|
|
2925
|
+
throw new Error(`Invalid variant "${variant}" for value "${value}" only "${fontWeight}" is allowed.`);
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
function getTypographyWeights(typographyFamily) {
|
|
2929
|
+
const boldTypoTypes = new Set();
|
|
2930
|
+
const semiboldTypoTypes = new Set();
|
|
2931
|
+
const regularTypoTypes = new Set();
|
|
2932
|
+
const typographyConfig = typography.types[typographyFamily].configs;
|
|
2933
|
+
Object.keys(typographyConfig).forEach(typographyType => {
|
|
2934
|
+
const {
|
|
2935
|
+
allowedFontWeights
|
|
2936
|
+
} = typographyConfig[typographyType];
|
|
2937
|
+
if (allowedFontWeights.includes('bold')) {
|
|
2938
|
+
boldTypoTypes.add(typographyType);
|
|
2939
|
+
}
|
|
2940
|
+
if (allowedFontWeights.includes('semibold')) {
|
|
2941
|
+
semiboldTypoTypes.add(typographyType);
|
|
2942
|
+
}
|
|
2943
|
+
if (allowedFontWeights.includes('regular')) {
|
|
2944
|
+
regularTypoTypes.add(typographyType);
|
|
2945
|
+
}
|
|
2946
|
+
});
|
|
2947
|
+
return {
|
|
2948
|
+
boldTypoTypes,
|
|
2949
|
+
semiboldTypoTypes,
|
|
2950
|
+
regularTypoTypes
|
|
2951
|
+
};
|
|
2952
|
+
}
|
|
2953
|
+
function getUniversalFontWeight(type, variant, typographyFamily) {
|
|
2954
|
+
const {
|
|
2955
|
+
boldTypoTypes,
|
|
2956
|
+
semiboldTypoTypes,
|
|
2957
|
+
regularTypoTypes
|
|
2958
|
+
} = getTypographyWeights(typographyFamily || 'bodies');
|
|
2959
|
+
const webFontWeight = {};
|
|
2960
|
+
const nativeFontFamily = {};
|
|
2961
|
+
const breakpoints = [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE];
|
|
2962
|
+
breakpoints.forEach(typeName => {
|
|
2963
|
+
const value = type[typeName];
|
|
2964
|
+
if (!value) return;
|
|
2965
|
+
const inBold = boldTypoTypes.has(value);
|
|
2966
|
+
const inSemi = semiboldTypoTypes.has(value);
|
|
2967
|
+
const inRegular = regularTypoTypes.has(value);
|
|
2968
|
+
const presenceCount = [inBold, inSemi, inRegular].filter(Boolean).length;
|
|
2969
|
+
let resolvedVariant;
|
|
2970
|
+
if (presenceCount > 1) {
|
|
2971
|
+
// if present in multiple weight
|
|
2972
|
+
|
|
2973
|
+
if (process.env.NODE_ENV !== 'production' && variant && !(variant === 'bold' && inBold || variant === 'semibold' && inSemi || variant === 'regular' && inRegular)) {
|
|
2974
|
+
throw new Error(`Invalid variant "${variant}" for value "${value}". Only ${inBold ? '"bold"' : ' '}${inSemi ? '"semibold"' : ' '}${inRegular ? '"regular"' : ' '}" is allowed.`);
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
// always fallback on regular if no variant specified
|
|
2978
|
+
resolvedVariant = variant || 'regular';
|
|
2979
|
+
} else if (inBold) {
|
|
2980
|
+
// bold
|
|
2981
|
+
ThrowErrorIfInvalidVariant(variant, value, 'bold');
|
|
2982
|
+
resolvedVariant = 'bold';
|
|
2983
|
+
} else if (inSemi) {
|
|
2984
|
+
// semibold
|
|
2985
|
+
ThrowErrorIfInvalidVariant(variant, value, 'semibold');
|
|
2986
|
+
resolvedVariant = 'semibold';
|
|
2987
|
+
} else {
|
|
2988
|
+
// regular
|
|
2989
|
+
ThrowErrorIfInvalidVariant(variant, value, 'regular');
|
|
2990
|
+
resolvedVariant = 'regular';
|
|
2991
|
+
}
|
|
2992
|
+
webFontWeight[typeName] = resolvedVariant;
|
|
2993
|
+
nativeFontFamily[typeName] = `${typographyFamily}.${resolvedVariant}`;
|
|
2994
|
+
});
|
|
2995
|
+
return {
|
|
2996
|
+
webFontWeight,
|
|
2997
|
+
nativeFontFamily
|
|
2998
|
+
};
|
|
2999
|
+
}
|
|
2987
3000
|
function Typography(_ref) {
|
|
2988
3001
|
var _type$base;
|
|
2989
3002
|
let {
|
|
@@ -3001,21 +3014,25 @@ function Typography(_ref) {
|
|
|
3001
3014
|
wide: legacyWide
|
|
3002
3015
|
},
|
|
3003
3016
|
variant,
|
|
3004
|
-
color
|
|
3017
|
+
color,
|
|
3018
|
+
underline
|
|
3005
3019
|
} = _ref,
|
|
3006
3020
|
otherProps = _objectWithoutProperties(_ref, _excluded$S);
|
|
3007
3021
|
const sx = useSx();
|
|
3008
3022
|
const typographyFamilyInContext = useContext(TypographyFamilyContext);
|
|
3009
3023
|
const defaultColor = useTypographyDefaultColor();
|
|
3010
3024
|
const hasTypographyAncestor = typographyFamilyInContext !== null;
|
|
3011
|
-
const baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body';
|
|
3025
|
+
const baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body-m';
|
|
3012
3026
|
const typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
|
|
3013
|
-
|
|
3014
|
-
// force bold for headings, default to regular for bodies
|
|
3015
|
-
const nonNullableVariant = variant !== null && variant !== void 0 ? variant : typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular';
|
|
3016
3027
|
const fontSizeForNativeBase = createNativeBaseFontSize(_objectSpread(_objectSpread({}, type), {}, {
|
|
3017
3028
|
base: baseOrDefaultToBody
|
|
3018
3029
|
}));
|
|
3030
|
+
const {
|
|
3031
|
+
webFontWeight,
|
|
3032
|
+
nativeFontFamily
|
|
3033
|
+
} = getUniversalFontWeight(_objectSpread(_objectSpread({}, type), {}, {
|
|
3034
|
+
base: baseOrDefaultToBody
|
|
3035
|
+
}), variant, typographyFamily);
|
|
3019
3036
|
const currentColor = !color && !hasTypographyAncestor ? defaultColor : color;
|
|
3020
3037
|
const currentColorValue = getTypographyColorValue(currentColor);
|
|
3021
3038
|
const colorStyles = sx({
|
|
@@ -3029,13 +3046,21 @@ function Typography(_ref) {
|
|
|
3029
3046
|
}
|
|
3030
3047
|
});
|
|
3031
3048
|
}
|
|
3032
|
-
const text = /*#__PURE__*/jsx(Text, _objectSpread(_objectSpread({
|
|
3049
|
+
const text = /*#__PURE__*/jsx(Text, _objectSpread(_objectSpread(_objectSpread({
|
|
3033
3050
|
accessibilityRole: accessibilityRole || undefined,
|
|
3034
3051
|
fontSize: fontSizeForNativeBase,
|
|
3035
3052
|
lineHeight: hasTypographyAncestor ? undefined : fontSizeForNativeBase,
|
|
3036
|
-
fontWeight:
|
|
3037
|
-
fontFamily:
|
|
3038
|
-
|
|
3053
|
+
fontWeight: webFontWeight,
|
|
3054
|
+
fontFamily: nativeFontFamily,
|
|
3055
|
+
borderBottomWidth: underline ? 1 : undefined,
|
|
3056
|
+
borderBottomColor: underline ? currentColorValue : undefined,
|
|
3057
|
+
textTransform: typographyFamily === 'contentCaps' ? 'uppercase' : undefined
|
|
3058
|
+
}, colorStyles), otherProps), {}, {
|
|
3059
|
+
// The property text-underline-offset is not on native.
|
|
3060
|
+
// To add an underline with an offset, we use a custom borderBottomWidth and color.
|
|
3061
|
+
// and we set underline to undefined to avoid a double underline
|
|
3062
|
+
underline: undefined
|
|
3063
|
+
}));
|
|
3039
3064
|
const content = baseOrDefaultToBody ? /*#__PURE__*/jsx(TypographyFamilyContext.Provider, {
|
|
3040
3065
|
value: typographyFamily,
|
|
3041
3066
|
children: /*#__PURE__*/jsx(TypographyTypeContext.Provider, {
|
|
@@ -3082,17 +3107,6 @@ Typography.Header4 = createHeading(4);
|
|
|
3082
3107
|
Typography.Header5 = createHeading(5);
|
|
3083
3108
|
Typography.Header6 = createHeading(6);
|
|
3084
3109
|
|
|
3085
|
-
/** @deprecated use Typography.Header1 */
|
|
3086
|
-
Typography.h1 = createHeading(1, 'header1');
|
|
3087
|
-
/** @deprecated use Typography.Header2 */
|
|
3088
|
-
Typography.h2 = createHeading(2, 'header2');
|
|
3089
|
-
/** @deprecated use Typography.Header3 */
|
|
3090
|
-
Typography.h3 = createHeading(3, 'header3');
|
|
3091
|
-
/** @deprecated use Typography.Header4 */
|
|
3092
|
-
Typography.h4 = createHeading(4, 'header4');
|
|
3093
|
-
/** @deprecated use Typography.Header6 */
|
|
3094
|
-
Typography.h5 = createHeading(5, 'header5');
|
|
3095
|
-
|
|
3096
3110
|
function ButtonBadge({
|
|
3097
3111
|
withBadge,
|
|
3098
3112
|
badgeCount
|
|
@@ -3288,7 +3302,7 @@ function ButtonContentChildren({
|
|
|
3288
3302
|
textAlign: "center",
|
|
3289
3303
|
_android: sharedNativeStyle,
|
|
3290
3304
|
_ios: sharedNativeStyle,
|
|
3291
|
-
base: "body",
|
|
3305
|
+
base: "body-m",
|
|
3292
3306
|
variant: "bold",
|
|
3293
3307
|
color: color,
|
|
3294
3308
|
children: children
|
|
@@ -3817,7 +3831,7 @@ function AvatarContent({
|
|
|
3817
3831
|
};
|
|
3818
3832
|
if (firstname && lastname) {
|
|
3819
3833
|
return /*#__PURE__*/jsx(Typography.Text, {
|
|
3820
|
-
base: sizeVariant === 'large' ? 'body-
|
|
3834
|
+
base: sizeVariant === 'large' ? 'body-l' : 'body-s',
|
|
3821
3835
|
variant: sizeVariant === 'large' ? 'bold' : 'regular',
|
|
3822
3836
|
color: getFontColor(),
|
|
3823
3837
|
children: getInitials(firstname, lastname)
|
|
@@ -5094,7 +5108,7 @@ const InputText = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
5094
5108
|
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
5095
5109
|
const theme = useTheme();
|
|
5096
5110
|
const fontSizeForNativeBase = createNativeBaseFontSize({
|
|
5097
|
-
base: 'body'
|
|
5111
|
+
base: 'body-m'
|
|
5098
5112
|
});
|
|
5099
5113
|
const shouldHandleSingleLineOnIOS = Platform.OS === 'ios' && !multiline;
|
|
5100
5114
|
return /*#__PURE__*/jsxs(InputTextContainer, {
|
|
@@ -6146,7 +6160,7 @@ function ModalTitle({
|
|
|
6146
6160
|
}) {
|
|
6147
6161
|
return /*#__PURE__*/jsx(CardModal.Header, {
|
|
6148
6162
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
6149
|
-
base: "body",
|
|
6163
|
+
base: "body-m",
|
|
6150
6164
|
variant: "bold",
|
|
6151
6165
|
children: children
|
|
6152
6166
|
})
|
|
@@ -6470,7 +6484,7 @@ function BottomSheetActionsItem(_ref) {
|
|
|
6470
6484
|
withPadding: true,
|
|
6471
6485
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
6472
6486
|
variant: "bold",
|
|
6473
|
-
base: "body",
|
|
6487
|
+
base: "body-m",
|
|
6474
6488
|
children: title
|
|
6475
6489
|
})
|
|
6476
6490
|
})
|
|
@@ -7026,7 +7040,7 @@ function InputFeedback({
|
|
|
7026
7040
|
children
|
|
7027
7041
|
}) {
|
|
7028
7042
|
return /*#__PURE__*/jsx(Typography.Text, {
|
|
7029
|
-
base: "body-
|
|
7043
|
+
base: "body-s",
|
|
7030
7044
|
color: getColorFromState(state),
|
|
7031
7045
|
testID: testID,
|
|
7032
7046
|
children: children
|
|
@@ -7189,7 +7203,7 @@ function InputTag({
|
|
|
7189
7203
|
color: "black"
|
|
7190
7204
|
})
|
|
7191
7205
|
}) : null, /*#__PURE__*/jsx(Typography.Text, {
|
|
7192
|
-
base: "body-
|
|
7206
|
+
base: "body-s",
|
|
7193
7207
|
color: "black",
|
|
7194
7208
|
children: children
|
|
7195
7209
|
})]
|
|
@@ -7203,7 +7217,7 @@ function Label({
|
|
|
7203
7217
|
}) {
|
|
7204
7218
|
const isWeb = Platform.OS === 'web';
|
|
7205
7219
|
return /*#__PURE__*/jsx(Typography.Text, {
|
|
7206
|
-
base: "body",
|
|
7220
|
+
base: "body-m",
|
|
7207
7221
|
id: isWeb ? undefined : id,
|
|
7208
7222
|
children: isWeb ? /*#__PURE__*/jsx("label", {
|
|
7209
7223
|
id: id,
|
|
@@ -7214,7 +7228,8 @@ function Label({
|
|
|
7214
7228
|
}
|
|
7215
7229
|
|
|
7216
7230
|
function InnerCircle({
|
|
7217
|
-
isChecked
|
|
7231
|
+
isChecked,
|
|
7232
|
+
isDisabled
|
|
7218
7233
|
}) {
|
|
7219
7234
|
const theme = useTheme();
|
|
7220
7235
|
const sharedTransform = [{
|
|
@@ -7224,7 +7239,7 @@ function InnerCircle({
|
|
|
7224
7239
|
width: "kitt.forms.radio.innerCircle.size",
|
|
7225
7240
|
height: "kitt.forms.radio.innerCircle.size",
|
|
7226
7241
|
borderRadius: "kitt.forms.radio.innerCircle.borderRadius",
|
|
7227
|
-
backgroundColor:
|
|
7242
|
+
backgroundColor: isDisabled ? 'kitt.forms.radio.disabled.innerBackgroundColor' : 'kitt.forms.radio.innerCircle.backgroundColor',
|
|
7228
7243
|
_web: {
|
|
7229
7244
|
style: {
|
|
7230
7245
|
transform: `scale(${isChecked ? 1 : 0}))`,
|
|
@@ -7359,12 +7374,13 @@ function Radio({
|
|
|
7359
7374
|
isFocused: isFocused,
|
|
7360
7375
|
isPressed: isPressed,
|
|
7361
7376
|
children: /*#__PURE__*/jsx(InnerCircle, {
|
|
7362
|
-
isChecked: checked
|
|
7377
|
+
isChecked: checked,
|
|
7378
|
+
isDisabled: disabled
|
|
7363
7379
|
})
|
|
7364
7380
|
}), children ? /*#__PURE__*/jsx(Typography.SetDefaultColor, {
|
|
7365
7381
|
value: disabled ? 'black-light' : 'black',
|
|
7366
7382
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
7367
|
-
base: "body",
|
|
7383
|
+
base: "body-m",
|
|
7368
7384
|
children: children
|
|
7369
7385
|
})
|
|
7370
7386
|
}) : null]
|
|
@@ -7486,7 +7502,7 @@ function getCurrentTextColor({
|
|
|
7486
7502
|
isHovered,
|
|
7487
7503
|
isFocused
|
|
7488
7504
|
}) {
|
|
7489
|
-
if (isDisabled) return '
|
|
7505
|
+
if (isDisabled) return 'kitt.forms.radioButtonGroup.font.disabled.color';
|
|
7490
7506
|
if (isSelected) return 'white';
|
|
7491
7507
|
if (isPressed) return 'white';
|
|
7492
7508
|
if (isFocused) return 'white';
|
|
@@ -7661,7 +7677,7 @@ const TextArea = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
7661
7677
|
marginTop: "kitt.1",
|
|
7662
7678
|
children: [helper ? /*#__PURE__*/jsx(Typography.Text, {
|
|
7663
7679
|
base: "body-s",
|
|
7664
|
-
color:
|
|
7680
|
+
color: deepPurpleColorPalette['grey.5'],
|
|
7665
7681
|
children: helper
|
|
7666
7682
|
}) : null, shouldDisplayLimit ? /*#__PURE__*/jsx(Animated.View, {
|
|
7667
7683
|
style: limitContainerAnimatedStyle,
|
|
@@ -7671,14 +7687,14 @@ const TextArea = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
7671
7687
|
children: [/*#__PURE__*/jsxs(Typography.Text, {
|
|
7672
7688
|
base: "body-xs",
|
|
7673
7689
|
variant: "bold",
|
|
7674
|
-
color:
|
|
7690
|
+
color: deepPurpleColorPalette['grey.5'],
|
|
7675
7691
|
children: [((_props$value2 = props.value) === null || _props$value2 === void 0 ? void 0 : _props$value2.length) || 0, "/", limit]
|
|
7676
7692
|
}), /*#__PURE__*/jsx(Animated.View, {
|
|
7677
7693
|
style: checkIconAnimatedStyle,
|
|
7678
7694
|
children: /*#__PURE__*/jsx(TypographyIcon, {
|
|
7679
7695
|
icon: /*#__PURE__*/jsx(CheckCircleFillIcon, {}),
|
|
7680
7696
|
size: 13,
|
|
7681
|
-
color:
|
|
7697
|
+
color: deepPurpleColorPalette['grey.5']
|
|
7682
7698
|
})
|
|
7683
7699
|
})]
|
|
7684
7700
|
})
|
|
@@ -7787,7 +7803,7 @@ function ToggleAnimated({
|
|
|
7787
7803
|
|
|
7788
7804
|
const _excluded$h = ["isDisabled", "isHoveredInternal", "isFocusedInternal", "isPressedInternal", "label", "variant", "size", "value", "onChange"];
|
|
7789
7805
|
const getLabelTypographyType = size => {
|
|
7790
|
-
return size === 'medium' ? 'body' : 'body-
|
|
7806
|
+
return size === 'medium' ? 'body-m' : 'body-l';
|
|
7791
7807
|
};
|
|
7792
7808
|
function Toggle(_ref) {
|
|
7793
7809
|
let {
|
|
@@ -8362,7 +8378,7 @@ function Highlight({
|
|
|
8362
8378
|
marginBottom: highlightStyle[size].marginBottom,
|
|
8363
8379
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
8364
8380
|
variant: "bold",
|
|
8365
|
-
base: "body",
|
|
8381
|
+
base: "body-m",
|
|
8366
8382
|
ellipsizeMode: "clip",
|
|
8367
8383
|
children: title
|
|
8368
8384
|
})
|
|
@@ -8398,7 +8414,7 @@ function Highlight({
|
|
|
8398
8414
|
width: "100%",
|
|
8399
8415
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
8400
8416
|
variant: "bold",
|
|
8401
|
-
base: "body",
|
|
8417
|
+
base: "body-m",
|
|
8402
8418
|
ellipsizeMode: "clip",
|
|
8403
8419
|
children: title
|
|
8404
8420
|
})
|
|
@@ -8701,8 +8717,8 @@ function InfoCard({
|
|
|
8701
8717
|
flexShrink: 1,
|
|
8702
8718
|
flexBasis: "auto",
|
|
8703
8719
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
8704
|
-
base: "body-
|
|
8705
|
-
medium: "body",
|
|
8720
|
+
base: "body-s",
|
|
8721
|
+
medium: "body-m",
|
|
8706
8722
|
style: {
|
|
8707
8723
|
userSelect: 'none'
|
|
8708
8724
|
},
|
|
@@ -9029,7 +9045,7 @@ function BaseMessage({
|
|
|
9029
9045
|
flexGrow: 1,
|
|
9030
9046
|
flexShrink: 1,
|
|
9031
9047
|
textAlign: centeredText ? 'center' : 'left',
|
|
9032
|
-
base: "body",
|
|
9048
|
+
base: "body-m",
|
|
9033
9049
|
color: color,
|
|
9034
9050
|
children: children
|
|
9035
9051
|
})]
|
|
@@ -9311,6 +9327,11 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9311
9327
|
item: {
|
|
9312
9328
|
borderColor: theme.forms.radioButtonGroup.item.borderColor,
|
|
9313
9329
|
backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor
|
|
9330
|
+
},
|
|
9331
|
+
font: {
|
|
9332
|
+
disabled: {
|
|
9333
|
+
color: theme.forms.radioButtonGroup.item.font.color.disabled
|
|
9334
|
+
}
|
|
9314
9335
|
}
|
|
9315
9336
|
},
|
|
9316
9337
|
checkbox: {
|
|
@@ -9625,7 +9646,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9625
9646
|
},
|
|
9626
9647
|
disabled: {
|
|
9627
9648
|
backgroundColor: theme.forms.radio.disabled.backgroundColor,
|
|
9628
|
-
borderColor: theme.forms.radio.disabled.borderColor
|
|
9649
|
+
borderColor: theme.forms.radio.disabled.borderColor,
|
|
9650
|
+
innerBackgroundColor: theme.forms.radio.disabled.innerBackgroundColor
|
|
9629
9651
|
},
|
|
9630
9652
|
default: {
|
|
9631
9653
|
backgroundColor: theme.forms.radio.unchecked.backgroundColor,
|
|
@@ -10179,22 +10201,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10179
10201
|
},
|
|
10180
10202
|
listItem: {
|
|
10181
10203
|
borderWidth: theme.listItem.borderWidth
|
|
10182
|
-
},
|
|
10183
|
-
tag: {
|
|
10184
|
-
variant: {
|
|
10185
|
-
subtle: {
|
|
10186
|
-
borderWidth: theme.tag.variant.subtle.borderWidth
|
|
10187
|
-
},
|
|
10188
|
-
fill: {
|
|
10189
|
-
borderWidth: theme.tag.variant.fill.borderWidth
|
|
10190
|
-
},
|
|
10191
|
-
outline: {
|
|
10192
|
-
borderWidth: theme.tag.variant.outline.borderWidth
|
|
10193
|
-
},
|
|
10194
|
-
contrast: {
|
|
10195
|
-
borderWidth: theme.tag.variant.contrast.borderWidth
|
|
10196
|
-
}
|
|
10197
|
-
}
|
|
10198
10204
|
}
|
|
10199
10205
|
},
|
|
10200
10206
|
app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
|
|
@@ -10813,196 +10819,71 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10813
10819
|
'2xl': Number.MAX_SAFE_INTEGER
|
|
10814
10820
|
}, appBreakpoints),
|
|
10815
10821
|
fontSizes: {
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
/* latest */
|
|
10837
|
-
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize}px`,
|
|
10838
|
-
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize}px`,
|
|
10839
|
-
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize}px`,
|
|
10840
|
-
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize}px`,
|
|
10841
|
-
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize}px`,
|
|
10842
|
-
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize}px`,
|
|
10843
|
-
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize}px`,
|
|
10844
|
-
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize}px`,
|
|
10845
|
-
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize}px`,
|
|
10846
|
-
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize}px`,
|
|
10847
|
-
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize}px`,
|
|
10848
|
-
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize}px`,
|
|
10849
|
-
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize}px`,
|
|
10850
|
-
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize}px`,
|
|
10851
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize}px`,
|
|
10852
|
-
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize}px`,
|
|
10853
|
-
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize}px`,
|
|
10854
|
-
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize}px`,
|
|
10855
|
-
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize}px`,
|
|
10856
|
-
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize}px`
|
|
10857
|
-
},
|
|
10858
|
-
mediumAndWide: {
|
|
10859
|
-
/* legacy */
|
|
10860
|
-
header1: `${theme.typography.types.headings.configs.header1.mediumAndWide.fontSize}px`,
|
|
10861
|
-
header2: `${theme.typography.types.headings.configs.header2.mediumAndWide.fontSize}px`,
|
|
10862
|
-
header3: `${theme.typography.types.headings.configs.header3.mediumAndWide.fontSize}px`,
|
|
10863
|
-
header4: `${theme.typography.types.headings.configs.header4.mediumAndWide.fontSize}px`,
|
|
10864
|
-
header5: `${theme.typography.types.headings.configs.header5.mediumAndWide.fontSize}px`,
|
|
10865
|
-
'body-large': `${theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize}px`,
|
|
10866
|
-
'body-medium': `${theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize}px`,
|
|
10867
|
-
body: `${theme.typography.types.bodies.configs.body.mediumAndWide.fontSize}px`,
|
|
10868
|
-
'body-small': `${theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize}px`,
|
|
10869
|
-
'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize}px`,
|
|
10870
|
-
'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
10871
|
-
'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize}px`,
|
|
10872
|
-
'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize}px`,
|
|
10873
|
-
'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize}px`,
|
|
10874
|
-
'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize}px`,
|
|
10875
|
-
'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize}px`,
|
|
10876
|
-
'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
10877
|
-
'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
10878
|
-
/* latest */
|
|
10879
|
-
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize}px`,
|
|
10880
|
-
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize}px`,
|
|
10881
|
-
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize}px`,
|
|
10882
|
-
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize}px`,
|
|
10883
|
-
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize}px`,
|
|
10884
|
-
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize}px`,
|
|
10885
|
-
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize}px`,
|
|
10886
|
-
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize}px`,
|
|
10887
|
-
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize}px`,
|
|
10888
|
-
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize}px`,
|
|
10889
|
-
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize}px`,
|
|
10890
|
-
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize}px`,
|
|
10891
|
-
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize}px`,
|
|
10892
|
-
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize}px`,
|
|
10893
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize}px`,
|
|
10894
|
-
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize}px`,
|
|
10895
|
-
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize}px`,
|
|
10896
|
-
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize}px`,
|
|
10897
|
-
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize}px`,
|
|
10898
|
-
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize}px`
|
|
10899
|
-
}
|
|
10822
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].fontSize}px`,
|
|
10823
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].fontSize}px`,
|
|
10824
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].fontSize}px`,
|
|
10825
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
|
|
10826
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
|
|
10827
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
|
|
10828
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
|
|
10829
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
|
|
10830
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
|
|
10831
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].fontSize}px`,
|
|
10832
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].fontSize}px`,
|
|
10833
|
+
'label-large': `${theme.typography.types.labels.configs['label-large'].fontSize}px`,
|
|
10834
|
+
'label-medium': `${theme.typography.types.labels.configs['label-medium'].fontSize}px`,
|
|
10835
|
+
'content-caps-xxxl': `${theme.typography.types.contentCaps.configs['content-caps-xxxl'].fontSize}px`,
|
|
10836
|
+
'content-caps-xxl': `${theme.typography.types.contentCaps.configs['content-caps-xxl'].fontSize}px`,
|
|
10837
|
+
'content-caps-xl': `${theme.typography.types.contentCaps.configs['content-caps-xl'].fontSize}px`,
|
|
10838
|
+
'content-caps-l': `${theme.typography.types.contentCaps.configs['content-caps-l'].fontSize}px`,
|
|
10839
|
+
'content-caps-m': `${theme.typography.types.contentCaps.configs['content-caps-m'].fontSize}px`,
|
|
10840
|
+
'content-caps-s': `${theme.typography.types.contentCaps.configs['content-caps-s'].fontSize}px`,
|
|
10841
|
+
'content-caps-xs': `${theme.typography.types.contentCaps.configs['content-caps-xs'].fontSize}px`
|
|
10900
10842
|
},
|
|
10901
10843
|
lineHeights: {
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
/* latest */
|
|
10923
|
-
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight}px`,
|
|
10924
|
-
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight}px`,
|
|
10925
|
-
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight}px`,
|
|
10926
|
-
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight}px`,
|
|
10927
|
-
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight}px`,
|
|
10928
|
-
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight}px`,
|
|
10929
|
-
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight}px`,
|
|
10930
|
-
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight}px`,
|
|
10931
|
-
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight}px`,
|
|
10932
|
-
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight}px`,
|
|
10933
|
-
'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight}px`,
|
|
10934
|
-
'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight}px`,
|
|
10935
|
-
'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight}px`,
|
|
10936
|
-
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight}px`,
|
|
10937
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight}px`,
|
|
10938
|
-
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight}px`,
|
|
10939
|
-
'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight}px`,
|
|
10940
|
-
'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight}px`,
|
|
10941
|
-
'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight}px`,
|
|
10942
|
-
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight}px`
|
|
10943
|
-
},
|
|
10944
|
-
mediumAndWide: {
|
|
10945
|
-
/* legacy */
|
|
10946
|
-
header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
|
|
10947
|
-
header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
|
|
10948
|
-
header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
|
|
10949
|
-
header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
|
|
10950
|
-
header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
|
|
10951
|
-
'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
|
|
10952
|
-
'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
|
|
10953
|
-
body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
|
|
10954
|
-
'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
|
|
10955
|
-
'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
|
|
10956
|
-
'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
|
|
10957
|
-
'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
|
|
10958
|
-
'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
|
|
10959
|
-
'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
|
|
10960
|
-
'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
|
|
10961
|
-
'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
|
|
10962
|
-
'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
|
|
10963
|
-
'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
|
|
10964
|
-
/* latest */
|
|
10965
|
-
'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight}px`,
|
|
10966
|
-
'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight}px`,
|
|
10967
|
-
'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight}px`,
|
|
10968
|
-
'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight}px`,
|
|
10969
|
-
'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight}px`,
|
|
10970
|
-
'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight}px`,
|
|
10971
|
-
'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight}px`,
|
|
10972
|
-
'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight}px`,
|
|
10973
|
-
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight}px`,
|
|
10974
|
-
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight}px`,
|
|
10975
|
-
'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight}px`,
|
|
10976
|
-
'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight}px`,
|
|
10977
|
-
'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight}px`,
|
|
10978
|
-
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight}px`,
|
|
10979
|
-
'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight}px`,
|
|
10980
|
-
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight}px`,
|
|
10981
|
-
'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight}px`,
|
|
10982
|
-
'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight}px`,
|
|
10983
|
-
'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight}px`,
|
|
10984
|
-
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight}px`
|
|
10985
|
-
}
|
|
10844
|
+
'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].lineHeight}px`,
|
|
10845
|
+
'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].lineHeight}px`,
|
|
10846
|
+
'heading-l': `${theme.typography.types.headings.configs['heading-l'].lineHeight}px`,
|
|
10847
|
+
'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
|
|
10848
|
+
'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
|
|
10849
|
+
'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
|
|
10850
|
+
'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
|
|
10851
|
+
'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
|
|
10852
|
+
'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
|
|
10853
|
+
'body-s': `${theme.typography.types.bodies.configs['body-s'].lineHeight}px`,
|
|
10854
|
+
'body-xs': `${theme.typography.types.bodies.configs['body-xs'].lineHeight}px`,
|
|
10855
|
+
'label-large': `${theme.typography.types.labels.configs['label-large'].lineHeight}px`,
|
|
10856
|
+
'label-medium': `${theme.typography.types.labels.configs['label-medium'].lineHeight}px`,
|
|
10857
|
+
'content-caps-xxxl': `${theme.typography.types.contentCaps.configs['content-caps-xxxl'].lineHeight}px`,
|
|
10858
|
+
'content-caps-xxl': `${theme.typography.types.contentCaps.configs['content-caps-xxl'].lineHeight}px`,
|
|
10859
|
+
'content-caps-xl': `${theme.typography.types.contentCaps.configs['content-caps-xl'].lineHeight}px`,
|
|
10860
|
+
'content-caps-l': `${theme.typography.types.contentCaps.configs['content-caps-l'].lineHeight}px`,
|
|
10861
|
+
'content-caps-m': `${theme.typography.types.contentCaps.configs['content-caps-m'].lineHeight}px`,
|
|
10862
|
+
'content-caps-s': `${theme.typography.types.contentCaps.configs['content-caps-s'].lineHeight}px`,
|
|
10863
|
+
'content-caps-xs': `${theme.typography.types.contentCaps.configs['content-caps-xs'].lineHeight}px`
|
|
10986
10864
|
},
|
|
10987
10865
|
fontWeights: {
|
|
10988
10866
|
headings: {
|
|
10989
10867
|
regular: theme.typography.types.headings.fontWeight.regular,
|
|
10990
10868
|
bold: theme.typography.types.headings.fontWeight.bold
|
|
10991
10869
|
},
|
|
10992
|
-
'headings-impact': {
|
|
10993
|
-
regular: theme.typography.types['headings-impact'].fontWeight,
|
|
10994
|
-
bold: theme.typography.types['headings-impact'].fontWeight
|
|
10995
|
-
},
|
|
10996
10870
|
bodies: {
|
|
10997
10871
|
regular: theme.typography.types.bodies.fontWeight.regular,
|
|
10998
10872
|
// TODO [https://ornikar.atlassian.net/browse/CME-767] This quick fix should be replaced by a 700 in every case, and native font weights should be handled by expo-fonts
|
|
10999
10873
|
bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
|
|
10874
|
+
},
|
|
10875
|
+
labels: {
|
|
10876
|
+
semibold: theme.typography.types.labels.fontWeight.semibold
|
|
10877
|
+
},
|
|
10878
|
+
contentCaps: {
|
|
10879
|
+
bold: theme.typography.types.contentCaps.fontWeight.bold
|
|
11000
10880
|
}
|
|
11001
10881
|
},
|
|
11002
10882
|
fonts: {
|
|
11003
10883
|
headings: Platform.OS === 'web' ? theme.typography.types.headings.fontFamily.web : theme.typography.types.headings.fontFamily.native,
|
|
11004
|
-
|
|
11005
|
-
|
|
10884
|
+
bodies: Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily.native,
|
|
10885
|
+
labels: Platform.OS === 'web' ? theme.typography.types.labels.fontFamily.web : theme.typography.types.labels.fontFamily.native,
|
|
10886
|
+
contentCaps: Platform.OS === 'web' ? theme.typography.types.contentCaps.fontFamily.web : theme.typography.types.contentCaps.fontFamily.native
|
|
11006
10887
|
},
|
|
11007
10888
|
shadows: {
|
|
11008
10889
|
kitt: {
|
|
@@ -11497,7 +11378,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11497
11378
|
_disabled: {
|
|
11498
11379
|
placeholderTextColor: theme.forms.input.states.disabled.color,
|
|
11499
11380
|
color: theme.forms.input.states.disabled.color,
|
|
11500
|
-
borderColor: theme.forms.input.states.disabled.
|
|
11381
|
+
borderColor: theme.forms.input.states.disabled.backgroundColor,
|
|
11501
11382
|
bg: theme.forms.input.states.disabled.backgroundColor
|
|
11502
11383
|
}
|
|
11503
11384
|
}
|
|
@@ -11527,7 +11408,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
11527
11408
|
fontStyle: theme.typography.types.bodies.fontStyle.regular,
|
|
11528
11409
|
fontWeight: theme.typography.types.bodies.fontWeight.regular,
|
|
11529
11410
|
fontSize: undefined,
|
|
11530
|
-
lineHeight: theme.typography.types.bodies.configs
|
|
11411
|
+
lineHeight: theme.typography.types.bodies.configs['body-m'].lineHeight
|
|
11531
11412
|
}
|
|
11532
11413
|
}
|
|
11533
11414
|
}
|
|
@@ -11937,7 +11818,7 @@ function PickerOption({
|
|
|
11937
11818
|
}) {
|
|
11938
11819
|
return /*#__PURE__*/jsx(Typography.Text, {
|
|
11939
11820
|
testID: testID,
|
|
11940
|
-
base: "body",
|
|
11821
|
+
base: "body-m",
|
|
11941
11822
|
children: typeof children === 'function' ? children({
|
|
11942
11823
|
isHighlighted,
|
|
11943
11824
|
isSelected
|
|
@@ -12072,7 +11953,7 @@ function Picker({
|
|
|
12072
11953
|
onPress: handleClose
|
|
12073
11954
|
}),
|
|
12074
11955
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
12075
|
-
base: "body",
|
|
11956
|
+
base: "body-m",
|
|
12076
11957
|
variant: "bold",
|
|
12077
11958
|
children: title
|
|
12078
11959
|
})
|
|
@@ -12163,8 +12044,9 @@ function SegmentedProgressBar({
|
|
|
12163
12044
|
colorVariant = 'primary',
|
|
12164
12045
|
withCurrentInProgress
|
|
12165
12046
|
}) {
|
|
12047
|
+
const kittTheme = useKittTheme();
|
|
12166
12048
|
const height = size === 'small' ? 'kitt.2' : 'kitt.4';
|
|
12167
|
-
const fillColor = colorVariant === 'validated' ?
|
|
12049
|
+
const fillColor = colorVariant === 'validated' ? kittTheme.kitt.palettes.deepPurple['green.6'] : kittTheme.kitt.palettes.deepPurple['deepPurple.8'];
|
|
12168
12050
|
const steps = [...Array.from({
|
|
12169
12051
|
length: stepsCount
|
|
12170
12052
|
}).keys()];
|
|
@@ -12175,13 +12057,13 @@ function SegmentedProgressBar({
|
|
|
12175
12057
|
overflow: "hidden",
|
|
12176
12058
|
children: steps.map(stepNumber => {
|
|
12177
12059
|
const isSegmentCurrentInProgress = withCurrentInProgress && stepNumber === currentStep - 1;
|
|
12178
|
-
const color = stepNumber < currentStep ? fillColor :
|
|
12060
|
+
const color = stepNumber < currentStep ? fillColor : kittTheme.kitt.palettes.deepPurple['beige.1'];
|
|
12179
12061
|
return /*#__PURE__*/jsx(View$1, {
|
|
12180
12062
|
height: "100%",
|
|
12181
12063
|
flexGrow: 1,
|
|
12182
12064
|
flexShrink: 1,
|
|
12183
12065
|
flexBasis: 0,
|
|
12184
|
-
backgroundColor: isSegmentCurrentInProgress ?
|
|
12066
|
+
backgroundColor: isSegmentCurrentInProgress ? kittTheme.kitt.palettes.deepPurple['deepPurple.5'] : color,
|
|
12185
12067
|
borderRadius: 2,
|
|
12186
12068
|
overflow: "hidden",
|
|
12187
12069
|
alignItems: "center",
|
|
@@ -12549,9 +12431,9 @@ const getBackgroundColorFromBlockColor = (theme, color = 'transparent') => {
|
|
|
12549
12431
|
case 'white':
|
|
12550
12432
|
return '#ffffff';
|
|
12551
12433
|
case 'light':
|
|
12552
|
-
return theme.kitt.palettes.
|
|
12434
|
+
return theme.kitt.palettes.deepPurple['beige.1'];
|
|
12553
12435
|
case 'primary':
|
|
12554
|
-
return theme.kitt.palettes.
|
|
12436
|
+
return theme.kitt.palettes.deepPurple['deepPurple.8'];
|
|
12555
12437
|
default:
|
|
12556
12438
|
return 'transparent';
|
|
12557
12439
|
}
|
|
@@ -12601,8 +12483,7 @@ function StoryTitle({
|
|
|
12601
12483
|
return /*#__PURE__*/jsx(View, {
|
|
12602
12484
|
marginBottom: 30,
|
|
12603
12485
|
children: /*#__PURE__*/jsx(Typography.Header1, {
|
|
12604
|
-
|
|
12605
|
-
base: "header1",
|
|
12486
|
+
base: "heading-xl",
|
|
12606
12487
|
color: useStoryBlockColor(color),
|
|
12607
12488
|
numberOfLines: numberOfLines,
|
|
12608
12489
|
children: children
|
|
@@ -12617,8 +12498,7 @@ function StoryTitleLevel2({
|
|
|
12617
12498
|
return /*#__PURE__*/jsx(View, {
|
|
12618
12499
|
marginBottom: 30,
|
|
12619
12500
|
children: /*#__PURE__*/jsx(Typography.Header2, {
|
|
12620
|
-
|
|
12621
|
-
base: "header2",
|
|
12501
|
+
base: "heading-l",
|
|
12622
12502
|
color: useStoryBlockColor(color),
|
|
12623
12503
|
numberOfLines: numberOfLines,
|
|
12624
12504
|
children: children
|
|
@@ -12634,9 +12514,7 @@ function StoryTitleLevel3({
|
|
|
12634
12514
|
return /*#__PURE__*/jsx(View, {
|
|
12635
12515
|
marginBottom: 10,
|
|
12636
12516
|
children: /*#__PURE__*/jsx(Typography.Header3, {
|
|
12637
|
-
|
|
12638
|
-
base: "header3",
|
|
12639
|
-
medium: "header4",
|
|
12517
|
+
base: "heading-m",
|
|
12640
12518
|
color: useStoryBlockColor(color),
|
|
12641
12519
|
numberOfLines: numberOfLines,
|
|
12642
12520
|
children: children
|
|
@@ -12652,9 +12530,7 @@ function StoryTitleLevel4({
|
|
|
12652
12530
|
return /*#__PURE__*/jsx(View, {
|
|
12653
12531
|
marginBottom: 10,
|
|
12654
12532
|
children: /*#__PURE__*/jsx(Typography.Header4, {
|
|
12655
|
-
|
|
12656
|
-
base: "header4",
|
|
12657
|
-
medium: "header5",
|
|
12533
|
+
base: "heading-s",
|
|
12658
12534
|
color: useStoryBlockColor(color),
|
|
12659
12535
|
numberOfLines: numberOfLines,
|
|
12660
12536
|
children: children
|
|
@@ -12854,15 +12730,15 @@ function useTabBarItemColor(color, isActive) {
|
|
|
12854
12730
|
switch (color) {
|
|
12855
12731
|
case 'black':
|
|
12856
12732
|
{
|
|
12857
|
-
return isActive ? kittTheme.
|
|
12733
|
+
return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
|
|
12858
12734
|
}
|
|
12859
12735
|
case 'white':
|
|
12860
12736
|
{
|
|
12861
|
-
return kittTheme.palettes.
|
|
12737
|
+
return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple['white-alpha.80'];
|
|
12862
12738
|
}
|
|
12863
12739
|
default:
|
|
12864
12740
|
{
|
|
12865
|
-
return isActive ? kittTheme.
|
|
12741
|
+
return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
|
|
12866
12742
|
}
|
|
12867
12743
|
}
|
|
12868
12744
|
}
|
|
@@ -12873,15 +12749,15 @@ function useTabBarIndicatorColor(color, isActive) {
|
|
|
12873
12749
|
switch (color) {
|
|
12874
12750
|
case 'black':
|
|
12875
12751
|
{
|
|
12876
|
-
return isActive ? kittTheme.
|
|
12752
|
+
return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
|
|
12877
12753
|
}
|
|
12878
12754
|
case 'white':
|
|
12879
12755
|
{
|
|
12880
|
-
return isActive ? kittTheme.palettes.
|
|
12756
|
+
return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple.transparent;
|
|
12881
12757
|
}
|
|
12882
12758
|
default:
|
|
12883
12759
|
{
|
|
12884
|
-
return isActive ? kittTheme.
|
|
12760
|
+
return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
|
|
12885
12761
|
}
|
|
12886
12762
|
}
|
|
12887
12763
|
}
|
|
@@ -12951,7 +12827,7 @@ function TabBar(_ref) {
|
|
|
12951
12827
|
paddingRight: align === 'center' ? 'kitt.2' : 'kitt.12',
|
|
12952
12828
|
minWidth: '100%',
|
|
12953
12829
|
borderBottomWidth: 1,
|
|
12954
|
-
borderBottomColor: kittTheme.palettes.
|
|
12830
|
+
borderBottomColor: kittTheme.palettes.deepPurple['beige.2']
|
|
12955
12831
|
});
|
|
12956
12832
|
return /*#__PURE__*/jsx(ScrollView, {
|
|
12957
12833
|
horizontal: true,
|
|
@@ -12992,36 +12868,39 @@ const getTypography = size => {
|
|
|
12992
12868
|
return 'body-m';
|
|
12993
12869
|
}
|
|
12994
12870
|
};
|
|
12995
|
-
const typeToColor$1 = (color, type) => {
|
|
12996
|
-
if (color) return color;
|
|
12997
|
-
switch (type) {
|
|
12998
|
-
case 'primary':
|
|
12999
|
-
return 'violine';
|
|
13000
|
-
case 'warn':
|
|
13001
|
-
return 'sun';
|
|
13002
|
-
case 'danger':
|
|
13003
|
-
return 'coral';
|
|
13004
|
-
case 'default':
|
|
13005
|
-
default:
|
|
13006
|
-
return 'eggshell';
|
|
13007
|
-
}
|
|
13008
|
-
};
|
|
13009
12871
|
function Tag({
|
|
13010
12872
|
label,
|
|
13011
12873
|
icon,
|
|
13012
|
-
color,
|
|
13013
|
-
type,
|
|
12874
|
+
color = 'beige',
|
|
13014
12875
|
size = 'medium',
|
|
13015
|
-
|
|
13016
|
-
withWhiteBorder = false
|
|
12876
|
+
withWhiteBorder
|
|
13017
12877
|
}) {
|
|
13018
12878
|
const kittTheme = useKittTheme();
|
|
13019
|
-
const
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
12879
|
+
const colorMatching = {
|
|
12880
|
+
beige: {
|
|
12881
|
+
background: kittTheme.kitt.palettes.deepPurple['beige.2'],
|
|
12882
|
+
font: kittTheme.kitt.palettes.deepPurple['deepPurple.8']
|
|
12883
|
+
},
|
|
12884
|
+
yellow: {
|
|
12885
|
+
background: kittTheme.kitt.palettes.deepPurple['yellow.6'],
|
|
12886
|
+
font: kittTheme.kitt.palettes.deepPurple['grey.9']
|
|
12887
|
+
},
|
|
12888
|
+
red: {
|
|
12889
|
+
background: kittTheme.kitt.palettes.deepPurple['red.6'],
|
|
12890
|
+
font: kittTheme.kitt.palettes.deepPurple['grey.0']
|
|
12891
|
+
},
|
|
12892
|
+
blue: {
|
|
12893
|
+
background: kittTheme.kitt.palettes.deepPurple['blue.6'],
|
|
12894
|
+
font: kittTheme.kitt.palettes.deepPurple['grey.0']
|
|
12895
|
+
},
|
|
12896
|
+
green: {
|
|
12897
|
+
background: kittTheme.kitt.palettes.deepPurple['green.6'],
|
|
12898
|
+
font: kittTheme.kitt.palettes.deepPurple['grey.0']
|
|
12899
|
+
},
|
|
12900
|
+
deepPurple: {
|
|
12901
|
+
background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
|
|
12902
|
+
font: kittTheme.kitt.palettes.deepPurple['beige.1']
|
|
13023
12903
|
}
|
|
13024
|
-
return 'black';
|
|
13025
12904
|
};
|
|
13026
12905
|
return /*#__PURE__*/jsxs(HStack, {
|
|
13027
12906
|
alignSelf: "flex-start",
|
|
@@ -13029,31 +12908,21 @@ function Tag({
|
|
|
13029
12908
|
height: `kitt.tag.${size}.height`,
|
|
13030
12909
|
paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
|
|
13031
12910
|
paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
|
|
13032
|
-
backgroundColor:
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
}
|
|
13036
|
-
if (variant === 'contrast') {
|
|
13037
|
-
return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
|
|
13038
|
-
}
|
|
13039
|
-
return kittTheme.kitt.palettes.lateOcean[`${tagColor}.4`];
|
|
13040
|
-
})() : 'kitt.transparent',
|
|
13041
|
-
borderColor: withWhiteBorder ? 'kitt.white' : (() => {
|
|
13042
|
-
return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
|
|
13043
|
-
})(),
|
|
13044
|
-
borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
|
|
12911
|
+
backgroundColor: colorMatching[color].background,
|
|
12912
|
+
borderWidth: withWhiteBorder ? 1 : 0,
|
|
12913
|
+
borderColor: withWhiteBorder ? 'kitt.white' : undefined,
|
|
13045
12914
|
space: "kitt.1",
|
|
13046
12915
|
alignItems: "center",
|
|
13047
12916
|
maxWidth: "100%",
|
|
13048
12917
|
children: [icon ? /*#__PURE__*/jsx(TypographyIcon, {
|
|
13049
12918
|
icon: icon,
|
|
13050
12919
|
size: `kitt.tag.${size}.iconSize`,
|
|
13051
|
-
color:
|
|
12920
|
+
color: colorMatching[color].font
|
|
13052
12921
|
}) : null, /*#__PURE__*/jsx(View, {
|
|
13053
12922
|
flexShrink: 1,
|
|
13054
12923
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13055
12924
|
base: getTypography(size),
|
|
13056
|
-
color:
|
|
12925
|
+
color: colorMatching[color].font,
|
|
13057
12926
|
numberOfLines: 1,
|
|
13058
12927
|
ellipsizeMode: "tail",
|
|
13059
12928
|
children: label
|
|
@@ -13272,7 +13141,7 @@ function ToastContent({
|
|
|
13272
13141
|
flexGrow: 1,
|
|
13273
13142
|
flexShrink: 1,
|
|
13274
13143
|
children: [title ? /*#__PURE__*/jsx(Typography.Text, {
|
|
13275
|
-
base: "heading-
|
|
13144
|
+
base: "heading-xs",
|
|
13276
13145
|
color: "white",
|
|
13277
13146
|
children: title
|
|
13278
13147
|
}) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
|
|
@@ -13288,7 +13157,7 @@ function ToastContent({
|
|
|
13288
13157
|
borderColor: "white",
|
|
13289
13158
|
onPress: onPress,
|
|
13290
13159
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13291
|
-
base: "heading-
|
|
13160
|
+
base: "heading-xs",
|
|
13292
13161
|
color: "white",
|
|
13293
13162
|
children: actionLabel
|
|
13294
13163
|
})
|
|
@@ -13301,9 +13170,9 @@ const typeToColor = type => {
|
|
|
13301
13170
|
case 'success':
|
|
13302
13171
|
return 'green';
|
|
13303
13172
|
case 'danger':
|
|
13304
|
-
return '
|
|
13173
|
+
return 'red';
|
|
13305
13174
|
case 'warning':
|
|
13306
|
-
return '
|
|
13175
|
+
return 'yellow';
|
|
13307
13176
|
default:
|
|
13308
13177
|
return 'blue';
|
|
13309
13178
|
}
|
|
@@ -13361,7 +13230,7 @@ function ToastComponent({
|
|
|
13361
13230
|
}, [handleHideToast, outro, width, toastTimeout]);
|
|
13362
13231
|
return /*#__PURE__*/jsxs(View, {
|
|
13363
13232
|
alignSelf: stretch ? 'flex-start' : 'auto',
|
|
13364
|
-
backgroundColor: kittTheme.kitt.palettes.
|
|
13233
|
+
backgroundColor: kittTheme.kitt.palettes.deepPurple['grey.9'],
|
|
13365
13234
|
borderRadius: "kitt.2",
|
|
13366
13235
|
maxWidth: {
|
|
13367
13236
|
base: '100%',
|
|
@@ -13375,7 +13244,7 @@ function ToastComponent({
|
|
|
13375
13244
|
children: [/*#__PURE__*/jsx(TypographyIcon, {
|
|
13376
13245
|
icon: icon,
|
|
13377
13246
|
size: "kitt.5",
|
|
13378
|
-
color: kittTheme.kitt.palettes.
|
|
13247
|
+
color: kittTheme.kitt.palettes.deepPurple[`${color}.6`]
|
|
13379
13248
|
}), /*#__PURE__*/jsx(ToastContent, {
|
|
13380
13249
|
title: title,
|
|
13381
13250
|
description: description,
|
|
@@ -13393,7 +13262,7 @@ function ToastComponent({
|
|
|
13393
13262
|
}) : null]
|
|
13394
13263
|
}), outro === 'timer' ? /*#__PURE__*/jsx(AnimatedView$1, {
|
|
13395
13264
|
alignSelf: "flex-end",
|
|
13396
|
-
backgroundColor: kittTheme.kitt.palettes.
|
|
13265
|
+
backgroundColor: kittTheme.kitt.palettes.deepPurple[`${color}.6`],
|
|
13397
13266
|
height: "kitt.1",
|
|
13398
13267
|
style: animatedStyle
|
|
13399
13268
|
}) : null]
|
|
@@ -13450,7 +13319,7 @@ function TooltipContent({
|
|
|
13450
13319
|
paddingY: "kitt.tooltip.verticalPadding",
|
|
13451
13320
|
paddingX: "kitt.tooltip.horizontalPadding",
|
|
13452
13321
|
children: /*#__PURE__*/jsx(Typography.Text, {
|
|
13453
|
-
base: "body-
|
|
13322
|
+
base: "body-s",
|
|
13454
13323
|
color: "white-light",
|
|
13455
13324
|
children: children
|
|
13456
13325
|
})
|
|
@@ -13653,12 +13522,12 @@ function calcSizesFromType(type, theme) {
|
|
|
13653
13522
|
medium: type.medium || type.small || type.base
|
|
13654
13523
|
});
|
|
13655
13524
|
const size = {
|
|
13656
|
-
base: getTypographyTypeConfig((_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body', theme).
|
|
13525
|
+
base: getTypographyTypeConfig((_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body-m', theme).fontSize
|
|
13657
13526
|
};
|
|
13658
13527
|
[KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(typeName => {
|
|
13659
13528
|
const value = typeWithMediumForced[typeName];
|
|
13660
13529
|
if (value) {
|
|
13661
|
-
size[typeName] = getTypographyTypeConfig(value, theme)
|
|
13530
|
+
size[typeName] = getTypographyTypeConfig(value, theme).fontSize;
|
|
13662
13531
|
}
|
|
13663
13532
|
});
|
|
13664
13533
|
const marginLeft = {};
|
|
@@ -13993,7 +13862,7 @@ function BorderlessStep({
|
|
|
13993
13862
|
width: 2,
|
|
13994
13863
|
borderRadius: 2,
|
|
13995
13864
|
position: "absolute",
|
|
13996
|
-
backgroundColor: "kitt.
|
|
13865
|
+
backgroundColor: "kitt.accent",
|
|
13997
13866
|
overflow: "hidden",
|
|
13998
13867
|
children: isNextDone ? /*#__PURE__*/jsx(AnimatedView, {
|
|
13999
13868
|
style: progressBarAnimatedStyles,
|
|
@@ -14075,7 +13944,7 @@ function Step({
|
|
|
14075
13944
|
state: state,
|
|
14076
13945
|
index: index
|
|
14077
13946
|
}), !isLast ? /*#__PURE__*/jsx(View, {
|
|
14078
|
-
backgroundColor: shouldDisableNextLink ? 'kitt.
|
|
13947
|
+
backgroundColor: shouldDisableNextLink ? 'kitt.accent' : 'kitt.primary',
|
|
14079
13948
|
width: 1,
|
|
14080
13949
|
position: "absolute",
|
|
14081
13950
|
top: 46,
|