@ornikar/kitt-universal 26.3.1-late-ocean.ccf14ae912d02bfa0c8d62c4652911eb457e71b0.0 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -3
- package/dist/definitions/Actions/Actions.d.ts +1 -1
- package/dist/definitions/SegmentedProgressBar/SegmentedProgressBar.d.ts.map +1 -1
- package/dist/definitions/Tag/Tag.d.ts +2 -7
- package/dist/definitions/Tag/Tag.d.ts.map +1 -1
- package/dist/definitions/Toast/Toast.utils.d.ts +1 -1
- package/dist/definitions/Toast/Toast.utils.d.ts.map +1 -1
- package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -1
- package/dist/definitions/forms/Radio/InnerCircle.d.ts +2 -1
- package/dist/definitions/forms/Radio/InnerCircle.d.ts.map +1 -1
- package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts +1 -1
- package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts.map +1 -1
- package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +161 -362
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +215 -213
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/checkbox.d.ts +8 -8
- package/dist/definitions/themes/late-ocean/colors.d.ts +14 -16
- package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/forms.d.ts +8 -8
- package/dist/definitions/themes/late-ocean/icon.d.ts +0 -8
- package/dist/definitions/themes/late-ocean/icon.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/radio.d.ts +1 -0
- package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts +5 -0
- package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -2
- package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/tag.d.ts +0 -4
- package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts +140 -70
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +79 -0
- package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
- package/dist/definitions/typography/Typography.d.ts +59 -980
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
- package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts +1 -1
- package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +719 -849
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +719 -849
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +716 -846
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +1 -1
- package/dist/index-node-22.17.cjs.web.js +713 -843
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +716 -846
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +1 -1
- package/dist/index-node-22.17.es.web.mjs +713 -843
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +736 -874
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +733 -871
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +469 -532
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +469 -532
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +469 -532
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +469 -532
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +469 -532
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +469 -532
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +469 -538
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +469 -538
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +25 -25
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +0 -260
- package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +0 -1
|
@@ -13,117 +13,81 @@ var createColorScale = function (colorScale) {
|
|
|
13
13
|
return colorScale;
|
|
14
14
|
};
|
|
15
15
|
var colorScales = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
6: '#bab8ae',
|
|
23
|
-
7: '#aeaba3',
|
|
24
|
-
8: '#9c9a92',
|
|
25
|
-
9: '#8e8c83',
|
|
26
|
-
10: '#74726a',
|
|
27
|
-
11: '#3e3d3a',
|
|
28
|
-
12: '#282826'
|
|
16
|
+
deepPurple: createColorScale({
|
|
17
|
+
5: '#936C93',
|
|
18
|
+
6: '#7A587A',
|
|
19
|
+
7: '#6E4D6E',
|
|
20
|
+
8: '#563B56',
|
|
21
|
+
9: '#452F45'
|
|
29
22
|
}),
|
|
30
|
-
|
|
31
|
-
1: '#
|
|
32
|
-
2: '#
|
|
33
|
-
3: '#
|
|
34
|
-
4: '#
|
|
35
|
-
5: '#
|
|
36
|
-
6: '#
|
|
37
|
-
7: '#9180ff',
|
|
38
|
-
8: '#7b66ff',
|
|
39
|
-
9: '#624af7',
|
|
40
|
-
10: '#5139e1',
|
|
41
|
-
11: '#3a26b5',
|
|
42
|
-
12: '#0a0428'
|
|
23
|
+
beige: createColorScale({
|
|
24
|
+
1: '#F7F4EE',
|
|
25
|
+
2: '#F1ECE4',
|
|
26
|
+
3: '#EAE3D6',
|
|
27
|
+
4: '#E5DCCA',
|
|
28
|
+
5: '#DDD0B8',
|
|
29
|
+
6: '#C1B59F'
|
|
43
30
|
}),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
31
|
+
lightning: createColorScale({
|
|
32
|
+
5: '#FFF500',
|
|
33
|
+
7: '#43390A'
|
|
34
|
+
}),
|
|
35
|
+
rainbow: createColorScale({
|
|
36
|
+
pink: '#E4A4F9',
|
|
37
|
+
brick: '#951D12',
|
|
38
|
+
orange: '#DB6E2E',
|
|
39
|
+
gold: '#9A7600',
|
|
40
|
+
sun: '#EFD346',
|
|
41
|
+
'green-pine': '#1C5D47',
|
|
42
|
+
'green-grass': '#4DA00A',
|
|
43
|
+
'green-apple': '#DEF985',
|
|
44
|
+
'blue-electric': '#2850C4',
|
|
45
|
+
'blue-sky': '#B2F0FD'
|
|
46
|
+
}),
|
|
47
|
+
grey: createColorScale({
|
|
48
|
+
0: '#ffffff',
|
|
49
|
+
1: '#ECECEC',
|
|
50
|
+
2: '#CDCED0',
|
|
51
|
+
3: '#A8A8A8',
|
|
52
|
+
5: '#838383',
|
|
53
|
+
7: '#505050',
|
|
54
|
+
9: '#101010'
|
|
57
55
|
}),
|
|
58
56
|
blue: createColorScale({
|
|
59
|
-
1: '#
|
|
60
|
-
2: '#
|
|
61
|
-
|
|
62
|
-
4: '#d4e0ff',
|
|
63
|
-
5: '#baceff',
|
|
64
|
-
6: '#a1bbff',
|
|
65
|
-
7: '#87a9ff',
|
|
66
|
-
8: '#6e96ff',
|
|
67
|
-
9: '#5383ff',
|
|
68
|
-
10: '#4170eb',
|
|
69
|
-
11: '#0e4381',
|
|
70
|
-
12: '#061c36'
|
|
57
|
+
1: '#E9F4FC',
|
|
58
|
+
2: '#BCDFF6',
|
|
59
|
+
6: '#1772AB'
|
|
71
60
|
}),
|
|
72
|
-
|
|
73
|
-
1: '#
|
|
74
|
-
2: '#
|
|
75
|
-
|
|
76
|
-
4: '#f0c7d4',
|
|
77
|
-
5: '#f0afc4',
|
|
78
|
-
6: '#f097b3',
|
|
79
|
-
7: '#f07fa3',
|
|
80
|
-
8: '#d95d84',
|
|
81
|
-
9: '#cf2a60',
|
|
82
|
-
10: '#c12558',
|
|
83
|
-
11: '#61192e',
|
|
84
|
-
12: '#29040f'
|
|
61
|
+
green: createColorScale({
|
|
62
|
+
1: '#ECFEDD',
|
|
63
|
+
2: '#DBFAC1',
|
|
64
|
+
6: '#438D06'
|
|
85
65
|
}),
|
|
86
|
-
|
|
87
|
-
1: '#
|
|
88
|
-
2: '#
|
|
89
|
-
|
|
90
|
-
4: '#ffcfcf',
|
|
91
|
-
5: '#ffb5b5',
|
|
92
|
-
6: '#ff9c9c',
|
|
93
|
-
7: '#f57d7d',
|
|
94
|
-
8: '#eb6565',
|
|
95
|
-
9: '#e55050',
|
|
96
|
-
10: '#da3d3d',
|
|
97
|
-
11: '#8a2b1e',
|
|
98
|
-
12: '#330c07'
|
|
66
|
+
yellow: createColorScale({
|
|
67
|
+
1: '#FDF8E7',
|
|
68
|
+
2: '#FAEBB8',
|
|
69
|
+
6: '#EFC11F'
|
|
99
70
|
}),
|
|
100
|
-
|
|
101
|
-
1: '#
|
|
102
|
-
2: '#
|
|
103
|
-
|
|
104
|
-
4: '#ffefc4',
|
|
105
|
-
5: '#ffe8ab',
|
|
106
|
-
6: '#ffe191',
|
|
107
|
-
7: '#ffda78',
|
|
108
|
-
8: '#ffd35e',
|
|
109
|
-
9: '#fdc32d',
|
|
110
|
-
10: '#f3a40c',
|
|
111
|
-
11: '#9f5600',
|
|
112
|
-
12: '#341c00'
|
|
71
|
+
red: createColorScale({
|
|
72
|
+
1: '#FDE4E3',
|
|
73
|
+
2: '#FAB8B8',
|
|
74
|
+
6: '#F14847'
|
|
113
75
|
}),
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
76
|
+
'beige-alpha': createColorScale({
|
|
77
|
+
'25': '#C1B59F40',
|
|
78
|
+
'40': '#C1B59F66',
|
|
79
|
+
'50': '#C1B59F80'
|
|
80
|
+
}),
|
|
81
|
+
'grey-alpha': createColorScale({
|
|
82
|
+
'25': '#10101040',
|
|
83
|
+
'35': '#10101059',
|
|
84
|
+
'50': '#10101080'
|
|
85
|
+
}),
|
|
86
|
+
'white-alpha': createColorScale({
|
|
87
|
+
'10': '#FFFFFF1A',
|
|
88
|
+
'20': '#FFFFFF33',
|
|
89
|
+
'80': '#FFFFFFCC',
|
|
90
|
+
'90': '#FFFFFFE5'
|
|
127
91
|
})
|
|
128
92
|
};
|
|
129
93
|
var transformColorScalesToTokens = function () {
|
|
@@ -139,89 +103,43 @@ var transformColorScalesToTokens = function () {
|
|
|
139
103
|
});
|
|
140
104
|
}));
|
|
141
105
|
};
|
|
142
|
-
var
|
|
143
|
-
/** @deprecated use violine.9 instead */
|
|
144
|
-
lateOcean: colorScales.violine[9],
|
|
145
|
-
/** @deprecated use violine.8 instead */
|
|
146
|
-
lateOceanLight1: colorScales.violine[8],
|
|
147
|
-
/** @deprecated use violine.6 instead */
|
|
148
|
-
lateOceanLight2: colorScales.violine[6],
|
|
149
|
-
/** @deprecated use lavender.6 instead */
|
|
150
|
-
lateOceanLight3: colorScales.lavender[6],
|
|
151
|
-
/** @deprecated use violine.12 instead */
|
|
152
|
-
lateOceanDark1: colorScales.violine[12],
|
|
153
|
-
/** @deprecated use lavender.5 instead */
|
|
154
|
-
warmEmbrace: colorScales.lavender[5],
|
|
155
|
-
/** @deprecated use lavender.3 instead */
|
|
156
|
-
warmEmbraceLight1: colorScales.lavender[3],
|
|
106
|
+
var deepPurpleColorPalette = _objectSpread(_objectSpread({}, transformColorScalesToTokens()), {}, {
|
|
157
107
|
white: '#FFFFFF',
|
|
158
108
|
black: '#000000',
|
|
159
|
-
|
|
160
|
-
black1000: '#000000',
|
|
161
|
-
/** @deprecated use eggshell.11 instead */
|
|
162
|
-
black800: colorScales.eggshell[11],
|
|
163
|
-
/** @deprecated use eggshell.10 instead */
|
|
164
|
-
black555: colorScales.eggshell[10],
|
|
165
|
-
/** @deprecated use eggshell.7 instead */
|
|
166
|
-
black400: colorScales.eggshell[7],
|
|
167
|
-
/** @deprecated use eggshell.4 instead */
|
|
168
|
-
black200: colorScales.eggshell[4],
|
|
169
|
-
/** @deprecated use eggshell.3 instead */
|
|
170
|
-
black100: colorScales.eggshell[3],
|
|
171
|
-
/** @deprecated use eggshell.2 instead */
|
|
172
|
-
black50: colorScales.eggshell[2],
|
|
173
|
-
/** @deprecated use eggshell.1 instead */
|
|
174
|
-
black25: colorScales.eggshell[1],
|
|
175
|
-
/** @deprecated use green.8 instead */
|
|
176
|
-
viride: colorScales.green[8],
|
|
177
|
-
/** @deprecated use coral.7 instead */
|
|
178
|
-
englishVermillon: colorScales.coral[7],
|
|
179
|
-
/** @deprecated use sun.8 instead */
|
|
180
|
-
goldCrayola: colorScales.sun[8],
|
|
181
|
-
/** @deprecated use blue.8 instead */
|
|
182
|
-
aero: colorScales.blue[8],
|
|
183
|
-
/** @deprecated use eggshell.1 instead */
|
|
184
|
-
seaShell: colorScales.eggshell[1],
|
|
185
|
-
transparent: 'transparent',
|
|
186
|
-
/** @deprecated use violine.4 instead */
|
|
187
|
-
moonPurple: colorScales.violine[4],
|
|
188
|
-
/** @deprecated use violine.2 instead */
|
|
189
|
-
moonPurpleLight1: colorScales.violine[2]
|
|
109
|
+
transparent: 'transparent'
|
|
190
110
|
});
|
|
191
111
|
|
|
192
112
|
var colors = {
|
|
193
|
-
primary:
|
|
194
|
-
primaryLight:
|
|
195
|
-
accent:
|
|
196
|
-
accentLight:
|
|
197
|
-
success:
|
|
198
|
-
correct:
|
|
199
|
-
danger:
|
|
200
|
-
info:
|
|
201
|
-
warning:
|
|
202
|
-
separator:
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
transparent: lateOceanColorPalette.transparent,
|
|
212
|
-
disabled: lateOceanColorPalette['eggshell.2'],
|
|
113
|
+
primary: deepPurpleColorPalette['deepPurple.8'],
|
|
114
|
+
primaryLight: deepPurpleColorPalette['deepPurple.8'],
|
|
115
|
+
accent: deepPurpleColorPalette['beige.1'],
|
|
116
|
+
accentLight: deepPurpleColorPalette['beige.1'],
|
|
117
|
+
success: deepPurpleColorPalette['green.6'],
|
|
118
|
+
correct: deepPurpleColorPalette['green.6'],
|
|
119
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
120
|
+
info: deepPurpleColorPalette['blue.6'],
|
|
121
|
+
warning: deepPurpleColorPalette['yellow.6'],
|
|
122
|
+
separator: deepPurpleColorPalette['beige.3'],
|
|
123
|
+
white: deepPurpleColorPalette['grey.0'],
|
|
124
|
+
black: deepPurpleColorPalette['grey.9'],
|
|
125
|
+
blackLight: deepPurpleColorPalette['grey.5'],
|
|
126
|
+
blackAnthracite: deepPurpleColorPalette['grey.7'],
|
|
127
|
+
uiBackground: deepPurpleColorPalette['beige.1'],
|
|
128
|
+
uiBackgroundLight: deepPurpleColorPalette['grey.0'],
|
|
129
|
+
transparent: deepPurpleColorPalette.transparent,
|
|
130
|
+
disabled: deepPurpleColorPalette['grey.1'],
|
|
213
131
|
overlay: {
|
|
214
|
-
dark: '
|
|
215
|
-
light: '
|
|
132
|
+
dark: deepPurpleColorPalette['grey-alpha.50'],
|
|
133
|
+
light: deepPurpleColorPalette['white-alpha.80']
|
|
216
134
|
}
|
|
217
135
|
};
|
|
218
136
|
|
|
219
137
|
var actionCard = {
|
|
220
|
-
borderRadius:
|
|
138
|
+
borderRadius: 8,
|
|
221
139
|
primary: {
|
|
222
140
|
"default": {
|
|
223
141
|
backgroundColor: colors.uiBackgroundLight,
|
|
224
|
-
borderColor:
|
|
142
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
225
143
|
borderWidth: 1,
|
|
226
144
|
shadow: {
|
|
227
145
|
color: '',
|
|
@@ -233,8 +151,8 @@ var actionCard = {
|
|
|
233
151
|
translateY: 0
|
|
234
152
|
},
|
|
235
153
|
hovered: {
|
|
236
|
-
backgroundColor:
|
|
237
|
-
borderColor:
|
|
154
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
155
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
238
156
|
borderWidth: 1,
|
|
239
157
|
shadow: {
|
|
240
158
|
color: '',
|
|
@@ -246,8 +164,8 @@ var actionCard = {
|
|
|
246
164
|
translateY: 0
|
|
247
165
|
},
|
|
248
166
|
disabled: {
|
|
249
|
-
backgroundColor:
|
|
250
|
-
borderColor:
|
|
167
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
168
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
251
169
|
borderWidth: 1,
|
|
252
170
|
shadow: {
|
|
253
171
|
color: '',
|
|
@@ -259,8 +177,8 @@ var actionCard = {
|
|
|
259
177
|
translateY: 0
|
|
260
178
|
},
|
|
261
179
|
focused: {
|
|
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 @@ var actionCard = {
|
|
|
272
190
|
translateY: 0
|
|
273
191
|
},
|
|
274
192
|
pressed: {
|
|
275
|
-
backgroundColor:
|
|
276
|
-
borderColor:
|
|
193
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
194
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
277
195
|
borderWidth: 1,
|
|
278
196
|
shadow: {
|
|
279
197
|
color: '',
|
|
@@ -288,10 +206,10 @@ var actionCard = {
|
|
|
288
206
|
'primary-border-soft': {
|
|
289
207
|
"default": {
|
|
290
208
|
backgroundColor: colors.uiBackgroundLight,
|
|
291
|
-
borderColor:
|
|
209
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
292
210
|
borderWidth: 1,
|
|
293
211
|
shadow: {
|
|
294
|
-
color:
|
|
212
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
295
213
|
offsetX: 0,
|
|
296
214
|
offsetY: 4,
|
|
297
215
|
opacity: 1,
|
|
@@ -300,11 +218,11 @@ var actionCard = {
|
|
|
300
218
|
translateY: 0
|
|
301
219
|
},
|
|
302
220
|
hovered: {
|
|
303
|
-
backgroundColor:
|
|
304
|
-
borderColor:
|
|
221
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
222
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
305
223
|
borderWidth: 1,
|
|
306
224
|
shadow: {
|
|
307
|
-
color:
|
|
225
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
308
226
|
offsetX: 0,
|
|
309
227
|
offsetY: 4,
|
|
310
228
|
opacity: 1,
|
|
@@ -313,8 +231,8 @@ var actionCard = {
|
|
|
313
231
|
translateY: 0
|
|
314
232
|
},
|
|
315
233
|
disabled: {
|
|
316
|
-
backgroundColor:
|
|
317
|
-
borderColor:
|
|
234
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
235
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
318
236
|
borderWidth: 1,
|
|
319
237
|
shadow: {
|
|
320
238
|
color: '',
|
|
@@ -326,11 +244,11 @@ var actionCard = {
|
|
|
326
244
|
translateY: 0
|
|
327
245
|
},
|
|
328
246
|
focused: {
|
|
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 @@ var actionCard = {
|
|
|
339
257
|
translateY: 0
|
|
340
258
|
},
|
|
341
259
|
pressed: {
|
|
342
|
-
backgroundColor:
|
|
343
|
-
borderColor:
|
|
260
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
261
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
344
262
|
borderWidth: 1,
|
|
345
263
|
shadow: {
|
|
346
264
|
color: '',
|
|
@@ -355,10 +273,10 @@ var actionCard = {
|
|
|
355
273
|
'primary-border-hard': {
|
|
356
274
|
"default": {
|
|
357
275
|
backgroundColor: colors.uiBackgroundLight,
|
|
358
|
-
borderColor:
|
|
276
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
359
277
|
borderWidth: 1,
|
|
360
278
|
shadow: {
|
|
361
|
-
color:
|
|
279
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
362
280
|
offsetX: 0,
|
|
363
281
|
offsetY: 4,
|
|
364
282
|
opacity: 1,
|
|
@@ -367,11 +285,11 @@ var actionCard = {
|
|
|
367
285
|
translateY: 0
|
|
368
286
|
},
|
|
369
287
|
hovered: {
|
|
370
|
-
backgroundColor:
|
|
371
|
-
borderColor:
|
|
288
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
289
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
372
290
|
borderWidth: 1,
|
|
373
291
|
shadow: {
|
|
374
|
-
color:
|
|
292
|
+
color: deepPurpleColorPalette['deepPurple.8'],
|
|
375
293
|
offsetX: 0,
|
|
376
294
|
offsetY: 4,
|
|
377
295
|
opacity: 1,
|
|
@@ -380,8 +298,8 @@ var actionCard = {
|
|
|
380
298
|
translateY: 0
|
|
381
299
|
},
|
|
382
300
|
disabled: {
|
|
383
|
-
backgroundColor:
|
|
384
|
-
borderColor:
|
|
301
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
302
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
385
303
|
borderWidth: 1,
|
|
386
304
|
shadow: {
|
|
387
305
|
color: '',
|
|
@@ -393,11 +311,11 @@ var actionCard = {
|
|
|
393
311
|
translateY: 0
|
|
394
312
|
},
|
|
395
313
|
focused: {
|
|
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 @@ var actionCard = {
|
|
|
406
324
|
translateY: 0
|
|
407
325
|
},
|
|
408
326
|
pressed: {
|
|
409
|
-
backgroundColor:
|
|
410
|
-
borderColor:
|
|
327
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
328
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
411
329
|
borderWidth: 1,
|
|
412
330
|
shadow: {
|
|
413
331
|
color: '',
|
|
@@ -421,8 +339,8 @@ var actionCard = {
|
|
|
421
339
|
},
|
|
422
340
|
secondary: {
|
|
423
341
|
"default": {
|
|
424
|
-
backgroundColor:
|
|
425
|
-
borderColor:
|
|
342
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
343
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
426
344
|
borderWidth: 0,
|
|
427
345
|
shadow: {
|
|
428
346
|
color: '',
|
|
@@ -434,8 +352,8 @@ var actionCard = {
|
|
|
434
352
|
translateY: 0
|
|
435
353
|
},
|
|
436
354
|
disabled: {
|
|
437
|
-
backgroundColor:
|
|
438
|
-
borderColor:
|
|
355
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
356
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
439
357
|
borderWidth: 1,
|
|
440
358
|
shadow: {
|
|
441
359
|
color: '',
|
|
@@ -447,8 +365,8 @@ var actionCard = {
|
|
|
447
365
|
translateY: 0
|
|
448
366
|
},
|
|
449
367
|
hovered: {
|
|
450
|
-
backgroundColor:
|
|
451
|
-
borderColor:
|
|
368
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
369
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
452
370
|
borderWidth: 0,
|
|
453
371
|
shadow: {
|
|
454
372
|
color: '',
|
|
@@ -460,8 +378,8 @@ var actionCard = {
|
|
|
460
378
|
translateY: 0
|
|
461
379
|
},
|
|
462
380
|
focused: {
|
|
463
|
-
backgroundColor:
|
|
464
|
-
borderColor:
|
|
381
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
382
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
465
383
|
borderWidth: 0,
|
|
466
384
|
shadow: {
|
|
467
385
|
color: '',
|
|
@@ -473,8 +391,8 @@ var actionCard = {
|
|
|
473
391
|
translateY: 0
|
|
474
392
|
},
|
|
475
393
|
pressed: {
|
|
476
|
-
backgroundColor:
|
|
477
|
-
borderColor:
|
|
394
|
+
backgroundColor: deepPurpleColorPalette['beige.2'],
|
|
395
|
+
borderColor: deepPurpleColorPalette.transparent,
|
|
478
396
|
borderWidth: 0,
|
|
479
397
|
shadow: {
|
|
480
398
|
color: '',
|
|
@@ -488,11 +406,11 @@ var actionCard = {
|
|
|
488
406
|
},
|
|
489
407
|
highlight: {
|
|
490
408
|
"default": {
|
|
491
|
-
backgroundColor:
|
|
492
|
-
borderColor:
|
|
409
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
410
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
493
411
|
borderWidth: 1,
|
|
494
412
|
shadow: {
|
|
495
|
-
color:
|
|
413
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
496
414
|
offsetX: 0,
|
|
497
415
|
offsetY: 4,
|
|
498
416
|
opacity: 1,
|
|
@@ -501,8 +419,8 @@ var actionCard = {
|
|
|
501
419
|
translateY: 0
|
|
502
420
|
},
|
|
503
421
|
disabled: {
|
|
504
|
-
backgroundColor:
|
|
505
|
-
borderColor:
|
|
422
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
423
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
506
424
|
borderWidth: 1,
|
|
507
425
|
shadow: {
|
|
508
426
|
color: '',
|
|
@@ -514,11 +432,11 @@ var actionCard = {
|
|
|
514
432
|
translateY: 0
|
|
515
433
|
},
|
|
516
434
|
hovered: {
|
|
517
|
-
backgroundColor: hex2rgba(
|
|
518
|
-
borderColor:
|
|
435
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
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,11 +445,11 @@ var actionCard = {
|
|
|
527
445
|
translateY: 0
|
|
528
446
|
},
|
|
529
447
|
focused: {
|
|
530
|
-
backgroundColor: hex2rgba(
|
|
531
|
-
borderColor:
|
|
448
|
+
backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
|
|
449
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
532
450
|
borderWidth: 1,
|
|
533
451
|
shadow: {
|
|
534
|
-
color:
|
|
452
|
+
color: deepPurpleColorPalette['beige.3'],
|
|
535
453
|
offsetX: 0,
|
|
536
454
|
offsetY: 4,
|
|
537
455
|
opacity: 1,
|
|
@@ -540,8 +458,8 @@ var actionCard = {
|
|
|
540
458
|
translateY: 0
|
|
541
459
|
},
|
|
542
460
|
pressed: {
|
|
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
465
|
color: '',
|
|
@@ -559,42 +477,28 @@ var defaultAvatarSize = 40;
|
|
|
559
477
|
var defaultAvatarIconSize = 20;
|
|
560
478
|
var largeAvatarSize = 120;
|
|
561
479
|
var largeAvatarIconSize = 30;
|
|
562
|
-
|
|
563
|
-
// export interface AvatarThemeBackgroundColorVariant {
|
|
564
|
-
// default: string;
|
|
565
|
-
// light: string;
|
|
566
|
-
// dark: string;
|
|
567
|
-
// disabled: string;
|
|
568
|
-
// }
|
|
569
|
-
|
|
570
|
-
// export interface AvatarThemeColorVariant {
|
|
571
|
-
// default: string;
|
|
572
|
-
// light: string;
|
|
573
|
-
// disabled: string;
|
|
574
|
-
// }
|
|
575
|
-
|
|
576
480
|
var avatar = {
|
|
577
|
-
borderRadius:
|
|
481
|
+
borderRadius: 4,
|
|
578
482
|
size: defaultAvatarSize,
|
|
579
483
|
iconSize: defaultAvatarIconSize,
|
|
580
484
|
"default": {
|
|
581
|
-
color:
|
|
582
|
-
backgroundColor:
|
|
485
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
486
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.8']
|
|
583
487
|
},
|
|
584
488
|
light: {
|
|
585
|
-
color:
|
|
586
|
-
backgroundColor:
|
|
489
|
+
color: deepPurpleColorPalette['beige.6'],
|
|
490
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
587
491
|
},
|
|
588
492
|
dark: {
|
|
589
|
-
color:
|
|
590
|
-
backgroundColor:
|
|
493
|
+
color: deepPurpleColorPalette['white-alpha.80'],
|
|
494
|
+
backgroundColor: deepPurpleColorPalette['grey.9']
|
|
591
495
|
},
|
|
592
496
|
disabled: {
|
|
593
|
-
color:
|
|
594
|
-
backgroundColor:
|
|
497
|
+
color: deepPurpleColorPalette['grey.3'],
|
|
498
|
+
backgroundColor: deepPurpleColorPalette['grey.1']
|
|
595
499
|
},
|
|
596
500
|
large: {
|
|
597
|
-
borderRadius:
|
|
501
|
+
borderRadius: 8,
|
|
598
502
|
size: largeAvatarSize,
|
|
599
503
|
iconSize: largeAvatarIconSize
|
|
600
504
|
}
|
|
@@ -607,7 +511,7 @@ var bottomSheet = {
|
|
|
607
511
|
padding: spacing * 4
|
|
608
512
|
},
|
|
609
513
|
handle: {
|
|
610
|
-
backgroundColor:
|
|
514
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
611
515
|
}
|
|
612
516
|
};
|
|
613
517
|
|
|
@@ -675,9 +579,9 @@ var button = {
|
|
|
675
579
|
pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
676
580
|
hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
677
581
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
678
|
-
color:
|
|
679
|
-
hoverColor:
|
|
680
|
-
activeColor:
|
|
582
|
+
color: deepPurpleColorPalette.white,
|
|
583
|
+
hoverColor: deepPurpleColorPalette.white,
|
|
584
|
+
activeColor: deepPurpleColorPalette.white
|
|
681
585
|
}
|
|
682
586
|
},
|
|
683
587
|
primary: {
|
|
@@ -690,11 +594,11 @@ var button = {
|
|
|
690
594
|
ghost: {
|
|
691
595
|
backgroundColor: colors.uiBackgroundLight,
|
|
692
596
|
pressedBackgroundColor: colors.uiBackground,
|
|
693
|
-
hoverBackgroundColor:
|
|
597
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
694
598
|
focusBorderColor: 'rgba(255,255,255, 0.4)',
|
|
695
599
|
color: colors.primary,
|
|
696
|
-
hoverColor:
|
|
697
|
-
activeColor:
|
|
600
|
+
hoverColor: deepPurpleColorPalette['beige.2'],
|
|
601
|
+
activeColor: deepPurpleColorPalette['beige.2']
|
|
698
602
|
}
|
|
699
603
|
},
|
|
700
604
|
dark: {
|
|
@@ -707,19 +611,19 @@ var button = {
|
|
|
707
611
|
},
|
|
708
612
|
danger: {
|
|
709
613
|
"default": {
|
|
710
|
-
backgroundColor:
|
|
711
|
-
pressedBackgroundColor:
|
|
712
|
-
hoverBackgroundColor:
|
|
713
|
-
focusBorderColor:
|
|
614
|
+
backgroundColor: deepPurpleColorPalette['red.1'],
|
|
615
|
+
pressedBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
616
|
+
hoverBackgroundColor: deepPurpleColorPalette['red.2'],
|
|
617
|
+
focusBorderColor: deepPurpleColorPalette['red.2']
|
|
714
618
|
},
|
|
715
619
|
ghost: {
|
|
716
620
|
backgroundColor: colors.uiBackgroundLight,
|
|
717
621
|
pressedBackgroundColor: colors.uiBackground,
|
|
718
|
-
hoverBackgroundColor:
|
|
622
|
+
hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
|
|
719
623
|
focusBorderColor: 'rgba(255, 255, 255, 0.4)',
|
|
720
|
-
color:
|
|
721
|
-
hoverColor:
|
|
722
|
-
activeColor:
|
|
624
|
+
color: deepPurpleColorPalette['red.6'],
|
|
625
|
+
hoverColor: deepPurpleColorPalette['red.6'],
|
|
626
|
+
activeColor: deepPurpleColorPalette['red.6']
|
|
723
627
|
}
|
|
724
628
|
},
|
|
725
629
|
subtle: {
|
|
@@ -760,14 +664,14 @@ var button = {
|
|
|
760
664
|
backgroundColor: colors.disabled,
|
|
761
665
|
pressedBackgroundColor: colors.disabled,
|
|
762
666
|
hoverBackgroundColor: colors.disabled,
|
|
763
|
-
focusBorderColor:
|
|
764
|
-
borderColor:
|
|
667
|
+
focusBorderColor: deepPurpleColorPalette['beige.2'],
|
|
668
|
+
borderColor: deepPurpleColorPalette['beige.2']
|
|
765
669
|
}
|
|
766
670
|
}
|
|
767
671
|
};
|
|
768
672
|
|
|
769
673
|
var buttonBadge = {
|
|
770
|
-
backgroundColor:
|
|
674
|
+
backgroundColor: deepPurpleColorPalette['red.6'],
|
|
771
675
|
dimensions: {
|
|
772
676
|
withBadge: {
|
|
773
677
|
width: 10,
|
|
@@ -796,7 +700,7 @@ var card = {
|
|
|
796
700
|
borderColor: colors.separator
|
|
797
701
|
},
|
|
798
702
|
subtle: {
|
|
799
|
-
backgroundColor:
|
|
703
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
800
704
|
borderColor: colors.separator
|
|
801
705
|
}
|
|
802
706
|
};
|
|
@@ -856,17 +760,17 @@ var choices = {
|
|
|
856
760
|
small: 24
|
|
857
761
|
},
|
|
858
762
|
backgroundColor: {
|
|
859
|
-
"default":
|
|
763
|
+
"default": deepPurpleColorPalette['beige.1'],
|
|
860
764
|
disabled: colors.disabled,
|
|
861
765
|
selected: colors.primary,
|
|
862
|
-
pressed:
|
|
863
|
-
hover:
|
|
864
|
-
hoverWhenSelected:
|
|
766
|
+
pressed: deepPurpleColorPalette['deepPurple.7'],
|
|
767
|
+
hover: deepPurpleColorPalette['beige.2'],
|
|
768
|
+
hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
|
|
865
769
|
},
|
|
866
770
|
disabled: {
|
|
867
771
|
border: {
|
|
868
772
|
width: 2,
|
|
869
|
-
color:
|
|
773
|
+
color: deepPurpleColorPalette['beige.2']
|
|
870
774
|
}
|
|
871
775
|
},
|
|
872
776
|
transition: {
|
|
@@ -931,19 +835,19 @@ var autocomplete = {
|
|
|
931
835
|
backgroundColor: colors.white
|
|
932
836
|
},
|
|
933
837
|
hovered: {
|
|
934
|
-
backgroundColor:
|
|
838
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
935
839
|
},
|
|
936
840
|
focused: {
|
|
937
|
-
backgroundColor:
|
|
841
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
938
842
|
},
|
|
939
843
|
selected: {
|
|
940
|
-
backgroundColor:
|
|
844
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
941
845
|
},
|
|
942
846
|
highlighted: {
|
|
943
|
-
backgroundColor:
|
|
847
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
944
848
|
},
|
|
945
849
|
pressed: {
|
|
946
|
-
backgroundColor:
|
|
850
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
947
851
|
}
|
|
948
852
|
},
|
|
949
853
|
optionsContainer: {
|
|
@@ -1011,37 +915,37 @@ var datePicker = {
|
|
|
1011
915
|
|
|
1012
916
|
var inputStatesStyle = {
|
|
1013
917
|
"default": {
|
|
1014
|
-
backgroundColor:
|
|
1015
|
-
borderColor:
|
|
1016
|
-
color:
|
|
918
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
919
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
920
|
+
color: deepPurpleColorPalette.black
|
|
1017
921
|
},
|
|
1018
922
|
pending: {
|
|
1019
|
-
backgroundColor:
|
|
1020
|
-
borderColor:
|
|
1021
|
-
color:
|
|
923
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
924
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
925
|
+
color: deepPurpleColorPalette.black
|
|
1022
926
|
},
|
|
1023
927
|
valid: {
|
|
1024
|
-
backgroundColor:
|
|
1025
|
-
borderColor:
|
|
1026
|
-
color:
|
|
928
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
929
|
+
borderColor: deepPurpleColorPalette['beige.3'],
|
|
930
|
+
color: deepPurpleColorPalette.black
|
|
1027
931
|
},
|
|
1028
932
|
hover: {
|
|
1029
|
-
backgroundColor:
|
|
1030
|
-
borderColor:
|
|
1031
|
-
color:
|
|
933
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
934
|
+
borderColor: deepPurpleColorPalette['beige.4'],
|
|
935
|
+
color: deepPurpleColorPalette.black
|
|
1032
936
|
},
|
|
1033
937
|
focus: {
|
|
1034
|
-
borderColor:
|
|
1035
|
-
color:
|
|
938
|
+
borderColor: deepPurpleColorPalette['deepPurple.8'],
|
|
939
|
+
color: deepPurpleColorPalette.black
|
|
1036
940
|
},
|
|
1037
941
|
disabled: {
|
|
1038
|
-
backgroundColor:
|
|
1039
|
-
borderColor:
|
|
1040
|
-
color:
|
|
942
|
+
backgroundColor: deepPurpleColorPalette['grey.1'],
|
|
943
|
+
borderColor: deepPurpleColorPalette['grey.1'],
|
|
944
|
+
color: deepPurpleColorPalette['grey.3']
|
|
1041
945
|
},
|
|
1042
946
|
invalid: {
|
|
1043
|
-
borderColor:
|
|
1044
|
-
color:
|
|
947
|
+
borderColor: deepPurpleColorPalette['beige.2'],
|
|
948
|
+
color: deepPurpleColorPalette.black
|
|
1045
949
|
}
|
|
1046
950
|
};
|
|
1047
951
|
var webAnimationDuration = '200ms';
|
|
@@ -1050,11 +954,11 @@ var webAnimationProperties = ['border-color', 'background-color'];
|
|
|
1050
954
|
var input = {
|
|
1051
955
|
minHeight: 40,
|
|
1052
956
|
color: {
|
|
1053
|
-
selection:
|
|
1054
|
-
placeholder:
|
|
957
|
+
selection: deepPurpleColorPalette['deepPurple.8'],
|
|
958
|
+
placeholder: deepPurpleColorPalette['beige.6']
|
|
1055
959
|
},
|
|
1056
960
|
borderWidth: 1,
|
|
1057
|
-
borderRadius:
|
|
961
|
+
borderRadius: 4,
|
|
1058
962
|
icon: {
|
|
1059
963
|
size: 20
|
|
1060
964
|
},
|
|
@@ -1091,7 +995,7 @@ var inputTag = {
|
|
|
1091
995
|
labelColor: colors.uiBackgroundLight
|
|
1092
996
|
},
|
|
1093
997
|
"default": {
|
|
1094
|
-
backgroundColor:
|
|
998
|
+
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1095
999
|
labelColor: colors.black
|
|
1096
1000
|
},
|
|
1097
1001
|
borderRadius: 10,
|
|
@@ -1101,9 +1005,9 @@ var inputTag = {
|
|
|
1101
1005
|
var radio = {
|
|
1102
1006
|
size: 24,
|
|
1103
1007
|
unchecked: {
|
|
1104
|
-
borderWidth:
|
|
1008
|
+
borderWidth: 1,
|
|
1105
1009
|
backgroundColor: colors.uiBackgroundLight,
|
|
1106
|
-
borderColor:
|
|
1010
|
+
borderColor: deepPurpleColorPalette['beige.3']
|
|
1107
1011
|
},
|
|
1108
1012
|
checked: {
|
|
1109
1013
|
backgroundColor: colors.primary,
|
|
@@ -1120,8 +1024,9 @@ var radio = {
|
|
|
1120
1024
|
borderColor: colors.primary
|
|
1121
1025
|
},
|
|
1122
1026
|
disabled: {
|
|
1123
|
-
backgroundColor:
|
|
1124
|
-
borderColor: colors.
|
|
1027
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1028
|
+
borderColor: colors.transparent,
|
|
1029
|
+
innerBackgroundColor: deepPurpleColorPalette['grey.1']
|
|
1125
1030
|
},
|
|
1126
1031
|
transition: {
|
|
1127
1032
|
duration: '200ms',
|
|
@@ -1132,14 +1037,19 @@ var radio = {
|
|
|
1132
1037
|
var radioButtonGroup = {
|
|
1133
1038
|
item: {
|
|
1134
1039
|
minHeight: 40,
|
|
1135
|
-
borderWidth:
|
|
1136
|
-
borderRadius:
|
|
1040
|
+
borderWidth: 1,
|
|
1041
|
+
borderRadius: 4,
|
|
1042
|
+
font: {
|
|
1043
|
+
color: {
|
|
1044
|
+
disabled: deepPurpleColorPalette['grey.3']
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1137
1047
|
borderColor: {
|
|
1138
1048
|
"default": colors.separator,
|
|
1139
1049
|
hover: colors.primary,
|
|
1140
1050
|
pressed: colors.primary,
|
|
1141
1051
|
active: colors.primary,
|
|
1142
|
-
disabled: colors.
|
|
1052
|
+
disabled: colors.disabled
|
|
1143
1053
|
},
|
|
1144
1054
|
backgroundColor: {
|
|
1145
1055
|
"default": colors.uiBackgroundLight,
|
|
@@ -1180,17 +1090,17 @@ var toggle = {
|
|
|
1180
1090
|
medium: 50,
|
|
1181
1091
|
large: 66
|
|
1182
1092
|
},
|
|
1183
|
-
labelColor:
|
|
1093
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1184
1094
|
backgroundColor: {
|
|
1185
|
-
checked:
|
|
1186
|
-
unchecked:
|
|
1095
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1096
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1187
1097
|
},
|
|
1188
1098
|
border: {
|
|
1189
1099
|
color: 'transparent',
|
|
1190
1100
|
width: 1
|
|
1191
1101
|
},
|
|
1192
1102
|
circle: {
|
|
1193
|
-
backgroundColor:
|
|
1103
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1194
1104
|
width: {
|
|
1195
1105
|
medium: 18,
|
|
1196
1106
|
large: 24
|
|
@@ -1218,17 +1128,17 @@ var toggle = {
|
|
|
1218
1128
|
medium: 50,
|
|
1219
1129
|
large: 66
|
|
1220
1130
|
},
|
|
1221
|
-
labelColor:
|
|
1131
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1222
1132
|
backgroundColor: {
|
|
1223
|
-
checked:
|
|
1224
|
-
unchecked:
|
|
1133
|
+
checked: deepPurpleColorPalette['deepPurple.7'],
|
|
1134
|
+
unchecked: deepPurpleColorPalette['beige.4']
|
|
1225
1135
|
},
|
|
1226
1136
|
border: {
|
|
1227
1137
|
color: 'transparent',
|
|
1228
1138
|
width: 1
|
|
1229
1139
|
},
|
|
1230
1140
|
circle: {
|
|
1231
|
-
backgroundColor:
|
|
1141
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1232
1142
|
width: {
|
|
1233
1143
|
medium: 18,
|
|
1234
1144
|
large: 24
|
|
@@ -1256,17 +1166,17 @@ var toggle = {
|
|
|
1256
1166
|
medium: 50,
|
|
1257
1167
|
large: 66
|
|
1258
1168
|
},
|
|
1259
|
-
labelColor:
|
|
1169
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1260
1170
|
backgroundColor: {
|
|
1261
|
-
checked:
|
|
1262
|
-
unchecked:
|
|
1171
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1172
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1263
1173
|
},
|
|
1264
1174
|
border: {
|
|
1265
|
-
color:
|
|
1175
|
+
color: deepPurpleColorPalette.white,
|
|
1266
1176
|
width: 1
|
|
1267
1177
|
},
|
|
1268
1178
|
circle: {
|
|
1269
|
-
backgroundColor:
|
|
1179
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1270
1180
|
width: {
|
|
1271
1181
|
medium: 18,
|
|
1272
1182
|
large: 24
|
|
@@ -1281,7 +1191,7 @@ var toggle = {
|
|
|
1281
1191
|
}
|
|
1282
1192
|
},
|
|
1283
1193
|
wrapperBorder: {
|
|
1284
|
-
color:
|
|
1194
|
+
color: deepPurpleColorPalette.black,
|
|
1285
1195
|
width: 1
|
|
1286
1196
|
}
|
|
1287
1197
|
},
|
|
@@ -1294,17 +1204,17 @@ var toggle = {
|
|
|
1294
1204
|
medium: 50,
|
|
1295
1205
|
large: 66
|
|
1296
1206
|
},
|
|
1297
|
-
labelColor:
|
|
1207
|
+
labelColor: deepPurpleColorPalette.black,
|
|
1298
1208
|
backgroundColor: {
|
|
1299
|
-
checked:
|
|
1300
|
-
unchecked:
|
|
1209
|
+
checked: deepPurpleColorPalette['deepPurple.8'],
|
|
1210
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1301
1211
|
},
|
|
1302
1212
|
border: {
|
|
1303
|
-
color:
|
|
1213
|
+
color: deepPurpleColorPalette.white,
|
|
1304
1214
|
width: 1
|
|
1305
1215
|
},
|
|
1306
1216
|
circle: {
|
|
1307
|
-
backgroundColor:
|
|
1217
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1308
1218
|
width: {
|
|
1309
1219
|
medium: 18,
|
|
1310
1220
|
large: 24
|
|
@@ -1319,7 +1229,7 @@ var toggle = {
|
|
|
1319
1229
|
}
|
|
1320
1230
|
},
|
|
1321
1231
|
wrapperBorder: {
|
|
1322
|
-
color:
|
|
1232
|
+
color: deepPurpleColorPalette.black,
|
|
1323
1233
|
width: 1
|
|
1324
1234
|
}
|
|
1325
1235
|
}
|
|
@@ -1334,17 +1244,17 @@ var toggle = {
|
|
|
1334
1244
|
medium: 50,
|
|
1335
1245
|
large: 66
|
|
1336
1246
|
},
|
|
1337
|
-
labelColor:
|
|
1247
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1338
1248
|
backgroundColor: {
|
|
1339
|
-
checked:
|
|
1340
|
-
unchecked:
|
|
1249
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1250
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1341
1251
|
},
|
|
1342
1252
|
border: {
|
|
1343
1253
|
color: 'transparent',
|
|
1344
1254
|
width: 1
|
|
1345
1255
|
},
|
|
1346
1256
|
circle: {
|
|
1347
|
-
backgroundColor:
|
|
1257
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1348
1258
|
width: {
|
|
1349
1259
|
medium: 18,
|
|
1350
1260
|
large: 24
|
|
@@ -1372,17 +1282,17 @@ var toggle = {
|
|
|
1372
1282
|
medium: 50,
|
|
1373
1283
|
large: 66
|
|
1374
1284
|
},
|
|
1375
|
-
labelColor:
|
|
1285
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1376
1286
|
backgroundColor: {
|
|
1377
|
-
checked:
|
|
1378
|
-
unchecked:
|
|
1287
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1288
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1379
1289
|
},
|
|
1380
1290
|
border: {
|
|
1381
1291
|
color: 'transparent',
|
|
1382
1292
|
width: 1
|
|
1383
1293
|
},
|
|
1384
1294
|
circle: {
|
|
1385
|
-
backgroundColor:
|
|
1295
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1386
1296
|
width: {
|
|
1387
1297
|
medium: 18,
|
|
1388
1298
|
large: 24
|
|
@@ -1410,17 +1320,17 @@ var toggle = {
|
|
|
1410
1320
|
medium: 50,
|
|
1411
1321
|
large: 66
|
|
1412
1322
|
},
|
|
1413
|
-
labelColor:
|
|
1323
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1414
1324
|
backgroundColor: {
|
|
1415
|
-
checked:
|
|
1416
|
-
unchecked:
|
|
1325
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1326
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1417
1327
|
},
|
|
1418
1328
|
border: {
|
|
1419
1329
|
color: 'transparent',
|
|
1420
1330
|
width: 1
|
|
1421
1331
|
},
|
|
1422
1332
|
circle: {
|
|
1423
|
-
backgroundColor:
|
|
1333
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1424
1334
|
width: {
|
|
1425
1335
|
medium: 18,
|
|
1426
1336
|
large: 24
|
|
@@ -1435,7 +1345,7 @@ var toggle = {
|
|
|
1435
1345
|
}
|
|
1436
1346
|
},
|
|
1437
1347
|
wrapperBorder: {
|
|
1438
|
-
color:
|
|
1348
|
+
color: deepPurpleColorPalette.black,
|
|
1439
1349
|
width: 1
|
|
1440
1350
|
}
|
|
1441
1351
|
},
|
|
@@ -1448,17 +1358,17 @@ var toggle = {
|
|
|
1448
1358
|
medium: 50,
|
|
1449
1359
|
large: 66
|
|
1450
1360
|
},
|
|
1451
|
-
labelColor:
|
|
1361
|
+
labelColor: deepPurpleColorPalette['beige.2'],
|
|
1452
1362
|
backgroundColor: {
|
|
1453
|
-
checked:
|
|
1454
|
-
unchecked:
|
|
1363
|
+
checked: deepPurpleColorPalette['grey.1'],
|
|
1364
|
+
unchecked: deepPurpleColorPalette['grey.1']
|
|
1455
1365
|
},
|
|
1456
1366
|
border: {
|
|
1457
1367
|
color: 'transparent',
|
|
1458
1368
|
width: 1
|
|
1459
1369
|
},
|
|
1460
1370
|
circle: {
|
|
1461
|
-
backgroundColor:
|
|
1371
|
+
backgroundColor: deepPurpleColorPalette['grey.3'],
|
|
1462
1372
|
width: {
|
|
1463
1373
|
medium: 18,
|
|
1464
1374
|
large: 24
|
|
@@ -1473,7 +1383,7 @@ var toggle = {
|
|
|
1473
1383
|
}
|
|
1474
1384
|
},
|
|
1475
1385
|
wrapperBorder: {
|
|
1476
|
-
color:
|
|
1386
|
+
color: deepPurpleColorPalette.black,
|
|
1477
1387
|
width: 1
|
|
1478
1388
|
}
|
|
1479
1389
|
}
|
|
@@ -1490,17 +1400,17 @@ var toggle = {
|
|
|
1490
1400
|
medium: 50,
|
|
1491
1401
|
large: 66
|
|
1492
1402
|
},
|
|
1493
|
-
labelColor:
|
|
1403
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1494
1404
|
backgroundColor: {
|
|
1495
|
-
checked:
|
|
1496
|
-
unchecked:
|
|
1405
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1406
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1497
1407
|
},
|
|
1498
1408
|
border: {
|
|
1499
1409
|
color: 'transparent',
|
|
1500
1410
|
width: 1
|
|
1501
1411
|
},
|
|
1502
1412
|
circle: {
|
|
1503
|
-
backgroundColor:
|
|
1413
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1504
1414
|
width: {
|
|
1505
1415
|
medium: 18,
|
|
1506
1416
|
large: 24
|
|
@@ -1528,17 +1438,17 @@ var toggle = {
|
|
|
1528
1438
|
medium: 50,
|
|
1529
1439
|
large: 66
|
|
1530
1440
|
},
|
|
1531
|
-
labelColor:
|
|
1441
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1532
1442
|
backgroundColor: {
|
|
1533
|
-
checked:
|
|
1534
|
-
unchecked:
|
|
1443
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1444
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1535
1445
|
},
|
|
1536
1446
|
border: {
|
|
1537
1447
|
color: 'transparent',
|
|
1538
1448
|
width: 1
|
|
1539
1449
|
},
|
|
1540
1450
|
circle: {
|
|
1541
|
-
backgroundColor:
|
|
1451
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1542
1452
|
width: {
|
|
1543
1453
|
medium: 18,
|
|
1544
1454
|
large: 24
|
|
@@ -1566,17 +1476,17 @@ var toggle = {
|
|
|
1566
1476
|
medium: 50,
|
|
1567
1477
|
large: 66
|
|
1568
1478
|
},
|
|
1569
|
-
labelColor:
|
|
1479
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1570
1480
|
backgroundColor: {
|
|
1571
|
-
checked:
|
|
1572
|
-
unchecked:
|
|
1481
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1482
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1573
1483
|
},
|
|
1574
1484
|
border: {
|
|
1575
|
-
color:
|
|
1485
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1576
1486
|
width: 1
|
|
1577
1487
|
},
|
|
1578
1488
|
circle: {
|
|
1579
|
-
backgroundColor:
|
|
1489
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1580
1490
|
width: {
|
|
1581
1491
|
medium: 18,
|
|
1582
1492
|
large: 24
|
|
@@ -1591,7 +1501,7 @@ var toggle = {
|
|
|
1591
1501
|
}
|
|
1592
1502
|
},
|
|
1593
1503
|
wrapperBorder: {
|
|
1594
|
-
color:
|
|
1504
|
+
color: deepPurpleColorPalette.white,
|
|
1595
1505
|
width: 1
|
|
1596
1506
|
}
|
|
1597
1507
|
},
|
|
@@ -1604,17 +1514,17 @@ var toggle = {
|
|
|
1604
1514
|
medium: 50,
|
|
1605
1515
|
large: 66
|
|
1606
1516
|
},
|
|
1607
|
-
labelColor:
|
|
1517
|
+
labelColor: deepPurpleColorPalette.white,
|
|
1608
1518
|
backgroundColor: {
|
|
1609
|
-
checked:
|
|
1610
|
-
unchecked:
|
|
1519
|
+
checked: deepPurpleColorPalette['deepPurple.9'],
|
|
1520
|
+
unchecked: deepPurpleColorPalette['beige.3']
|
|
1611
1521
|
},
|
|
1612
1522
|
border: {
|
|
1613
|
-
color:
|
|
1523
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1614
1524
|
width: 1
|
|
1615
1525
|
},
|
|
1616
1526
|
circle: {
|
|
1617
|
-
backgroundColor:
|
|
1527
|
+
backgroundColor: deepPurpleColorPalette.white,
|
|
1618
1528
|
width: {
|
|
1619
1529
|
medium: 18,
|
|
1620
1530
|
large: 24
|
|
@@ -1629,7 +1539,7 @@ var toggle = {
|
|
|
1629
1539
|
}
|
|
1630
1540
|
},
|
|
1631
1541
|
wrapperBorder: {
|
|
1632
|
-
color:
|
|
1542
|
+
color: deepPurpleColorPalette.white,
|
|
1633
1543
|
width: 1
|
|
1634
1544
|
}
|
|
1635
1545
|
}
|
|
@@ -1644,17 +1554,17 @@ var toggle = {
|
|
|
1644
1554
|
medium: 50,
|
|
1645
1555
|
large: 66
|
|
1646
1556
|
},
|
|
1647
|
-
labelColor:
|
|
1557
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1648
1558
|
backgroundColor: {
|
|
1649
|
-
checked:
|
|
1650
|
-
unchecked:
|
|
1559
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1560
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1651
1561
|
},
|
|
1652
1562
|
border: {
|
|
1653
1563
|
color: 'transparent',
|
|
1654
1564
|
width: 1
|
|
1655
1565
|
},
|
|
1656
1566
|
circle: {
|
|
1657
|
-
backgroundColor:
|
|
1567
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1658
1568
|
width: {
|
|
1659
1569
|
medium: 18,
|
|
1660
1570
|
large: 24
|
|
@@ -1682,17 +1592,17 @@ var toggle = {
|
|
|
1682
1592
|
medium: 50,
|
|
1683
1593
|
large: 66
|
|
1684
1594
|
},
|
|
1685
|
-
labelColor:
|
|
1595
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1686
1596
|
backgroundColor: {
|
|
1687
|
-
checked:
|
|
1688
|
-
unchecked:
|
|
1597
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1598
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1689
1599
|
},
|
|
1690
1600
|
border: {
|
|
1691
1601
|
color: 'transparent',
|
|
1692
1602
|
width: 1
|
|
1693
1603
|
},
|
|
1694
1604
|
circle: {
|
|
1695
|
-
backgroundColor:
|
|
1605
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1696
1606
|
width: {
|
|
1697
1607
|
medium: 18,
|
|
1698
1608
|
large: 24
|
|
@@ -1720,17 +1630,17 @@ var toggle = {
|
|
|
1720
1630
|
medium: 50,
|
|
1721
1631
|
large: 66
|
|
1722
1632
|
},
|
|
1723
|
-
labelColor:
|
|
1633
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1724
1634
|
backgroundColor: {
|
|
1725
|
-
checked:
|
|
1726
|
-
unchecked:
|
|
1635
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1636
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1727
1637
|
},
|
|
1728
1638
|
border: {
|
|
1729
|
-
color:
|
|
1639
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1730
1640
|
width: 1
|
|
1731
1641
|
},
|
|
1732
1642
|
circle: {
|
|
1733
|
-
backgroundColor:
|
|
1643
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1734
1644
|
width: {
|
|
1735
1645
|
medium: 18,
|
|
1736
1646
|
large: 24
|
|
@@ -1745,7 +1655,7 @@ var toggle = {
|
|
|
1745
1655
|
}
|
|
1746
1656
|
},
|
|
1747
1657
|
wrapperBorder: {
|
|
1748
|
-
color:
|
|
1658
|
+
color: deepPurpleColorPalette.white,
|
|
1749
1659
|
width: 1
|
|
1750
1660
|
}
|
|
1751
1661
|
},
|
|
@@ -1758,17 +1668,17 @@ var toggle = {
|
|
|
1758
1668
|
medium: 50,
|
|
1759
1669
|
large: 66
|
|
1760
1670
|
},
|
|
1761
|
-
labelColor:
|
|
1671
|
+
labelColor: deepPurpleColorPalette['beige.5'],
|
|
1762
1672
|
backgroundColor: {
|
|
1763
|
-
checked:
|
|
1764
|
-
unchecked:
|
|
1673
|
+
checked: deepPurpleColorPalette['beige.5'],
|
|
1674
|
+
unchecked: deepPurpleColorPalette['beige.5']
|
|
1765
1675
|
},
|
|
1766
1676
|
border: {
|
|
1767
|
-
color:
|
|
1677
|
+
color: deepPurpleColorPalette['deepPurple.7'],
|
|
1768
1678
|
width: 1
|
|
1769
1679
|
},
|
|
1770
1680
|
circle: {
|
|
1771
|
-
backgroundColor:
|
|
1681
|
+
backgroundColor: deepPurpleColorPalette['deepPurple.7'],
|
|
1772
1682
|
width: {
|
|
1773
1683
|
medium: 18,
|
|
1774
1684
|
large: 24
|
|
@@ -1783,7 +1693,7 @@ var toggle = {
|
|
|
1783
1693
|
}
|
|
1784
1694
|
},
|
|
1785
1695
|
wrapperBorder: {
|
|
1786
|
-
color:
|
|
1696
|
+
color: deepPurpleColorPalette.white,
|
|
1787
1697
|
width: 1
|
|
1788
1698
|
}
|
|
1789
1699
|
}
|
|
@@ -1845,50 +1755,50 @@ var highlight = {
|
|
|
1845
1755
|
},
|
|
1846
1756
|
primary: {
|
|
1847
1757
|
"default": {
|
|
1848
|
-
backgroundColor:
|
|
1758
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1849
1759
|
},
|
|
1850
1760
|
hover: {
|
|
1851
|
-
backgroundColor:
|
|
1761
|
+
backgroundColor: deepPurpleColorPalette['beige.4']
|
|
1852
1762
|
}
|
|
1853
1763
|
},
|
|
1854
1764
|
secondary: {
|
|
1855
1765
|
"default": {
|
|
1856
|
-
backgroundColor:
|
|
1766
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1857
1767
|
},
|
|
1858
1768
|
hover: {
|
|
1859
|
-
backgroundColor:
|
|
1769
|
+
backgroundColor: deepPurpleColorPalette['beige.3']
|
|
1860
1770
|
}
|
|
1861
1771
|
},
|
|
1862
1772
|
ghost: {
|
|
1863
1773
|
"default": {
|
|
1864
|
-
backgroundColor:
|
|
1774
|
+
backgroundColor: deepPurpleColorPalette.white
|
|
1865
1775
|
},
|
|
1866
1776
|
hover: {
|
|
1867
|
-
backgroundColor:
|
|
1777
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1868
1778
|
}
|
|
1869
1779
|
},
|
|
1870
1780
|
dark: {
|
|
1871
1781
|
"default": {
|
|
1872
|
-
backgroundColor:
|
|
1782
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
1873
1783
|
},
|
|
1874
1784
|
hover: {
|
|
1875
|
-
backgroundColor:
|
|
1785
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
1876
1786
|
}
|
|
1877
1787
|
},
|
|
1878
1788
|
success: {
|
|
1879
1789
|
"default": {
|
|
1880
|
-
backgroundColor:
|
|
1790
|
+
backgroundColor: deepPurpleColorPalette['green.1']
|
|
1881
1791
|
},
|
|
1882
1792
|
hover: {
|
|
1883
|
-
backgroundColor:
|
|
1793
|
+
backgroundColor: deepPurpleColorPalette['green.2']
|
|
1884
1794
|
}
|
|
1885
1795
|
},
|
|
1886
1796
|
warning: {
|
|
1887
1797
|
"default": {
|
|
1888
|
-
backgroundColor:
|
|
1798
|
+
backgroundColor: deepPurpleColorPalette['yellow.1']
|
|
1889
1799
|
},
|
|
1890
1800
|
hover: {
|
|
1891
|
-
backgroundColor:
|
|
1801
|
+
backgroundColor: deepPurpleColorPalette['yellow.2']
|
|
1892
1802
|
}
|
|
1893
1803
|
},
|
|
1894
1804
|
padding: {
|
|
@@ -1928,14 +1838,6 @@ var icon = {
|
|
|
1928
1838
|
header4: createTypographyIconSizeConfig(18, 24),
|
|
1929
1839
|
// also known as xxsmall
|
|
1930
1840
|
header5: createTypographyIconSizeConfig(18, 18),
|
|
1931
|
-
'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
|
|
1932
|
-
'header-impact-xl': createTypographyIconSizeConfig(48, 48),
|
|
1933
|
-
'header-impact-l': createTypographyIconSizeConfig(40, 40),
|
|
1934
|
-
'header-impact-m': createTypographyIconSizeConfig(32, 32),
|
|
1935
|
-
'header-impact-s': createTypographyIconSizeConfig(24, 24),
|
|
1936
|
-
'header-impact-xs': createTypographyIconSizeConfig(18, 18),
|
|
1937
|
-
'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
|
|
1938
|
-
'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
|
|
1939
1841
|
'body-large': createTypographyIconSizeConfig(18, 24),
|
|
1940
1842
|
'body-medium': createTypographyIconSizeConfig(18, 18),
|
|
1941
1843
|
body: createTypographyIconSizeConfig(16, 16),
|
|
@@ -1980,7 +1882,7 @@ var iconButton = {
|
|
|
1980
1882
|
pressedBackgroundColor: button["default"].ghost.pressedBackgroundColor
|
|
1981
1883
|
},
|
|
1982
1884
|
primary: {
|
|
1983
|
-
pressedBackgroundColor:
|
|
1885
|
+
pressedBackgroundColor: deepPurpleColorPalette['beige.1']
|
|
1984
1886
|
},
|
|
1985
1887
|
'primary-plain': {
|
|
1986
1888
|
pressedBackgroundColor: colors.primaryLight,
|
|
@@ -2055,155 +1957,198 @@ var pageLoader = {
|
|
|
2055
1957
|
}
|
|
2056
1958
|
};
|
|
2057
1959
|
|
|
2058
|
-
var calcLineHeight = function (fontSize, lineHeightMultiplier) {
|
|
2059
|
-
return Math.round(fontSize * lineHeightMultiplier);
|
|
2060
|
-
};
|
|
2061
|
-
/** @deprecated legacy typography type config is deprecated. */
|
|
2062
|
-
var createLegacyTypographyTypeConfig = function (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize) {
|
|
2063
|
-
var mediumAndWideFontSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : baseAndSmallFontSize;
|
|
2064
|
-
var lineHeightMultiplierMediumAndWide = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : lineHeightMultiplierBaseAndSmall;
|
|
2065
|
-
return {
|
|
2066
|
-
baseAndSmall: {
|
|
2067
|
-
fontSize: baseAndSmallFontSize,
|
|
2068
|
-
lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
|
|
2069
|
-
},
|
|
2070
|
-
mediumAndWide: {
|
|
2071
|
-
fontSize: mediumAndWideFontSize,
|
|
2072
|
-
lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
|
|
2073
|
-
}
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
|
-
var createTypographyConfig = function (fontSize, lineHeightMultiplier) {
|
|
2077
|
-
var config = {
|
|
2078
|
-
fontSize: fontSize,
|
|
2079
|
-
lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
|
|
2080
|
-
};
|
|
2081
|
-
return {
|
|
2082
|
-
baseAndSmall: config,
|
|
2083
|
-
mediumAndWide: config
|
|
2084
|
-
};
|
|
2085
|
-
};
|
|
2086
1960
|
var typography = {
|
|
2087
1961
|
colors: {
|
|
2088
1962
|
black: colors.black,
|
|
2089
1963
|
'black-anthracite': colors.blackAnthracite,
|
|
2090
|
-
'black-disabled':
|
|
2091
|
-
'black-light':
|
|
1964
|
+
'black-disabled': deepPurpleColorPalette['grey.3'],
|
|
1965
|
+
'black-light': deepPurpleColorPalette['grey.5'],
|
|
2092
1966
|
white: colors.white,
|
|
2093
1967
|
'white-light': colors.white,
|
|
2094
1968
|
primary: colors.primary,
|
|
2095
1969
|
'primary-light': colors.primaryLight,
|
|
2096
1970
|
accent: colors.accent,
|
|
2097
1971
|
success: colors.success,
|
|
2098
|
-
danger:
|
|
1972
|
+
danger: deepPurpleColorPalette['red.6'],
|
|
2099
1973
|
warning: colors.warning
|
|
2100
1974
|
},
|
|
2101
1975
|
types: {
|
|
2102
1976
|
headings: {
|
|
2103
1977
|
fontFamily: {
|
|
2104
1978
|
"native": {
|
|
2105
|
-
regular: '
|
|
2106
|
-
|
|
1979
|
+
regular: 'GTStandardRegular',
|
|
1980
|
+
semibold: 'GTStandardSemibold',
|
|
1981
|
+
bold: 'GTStandardBold'
|
|
2107
1982
|
},
|
|
2108
1983
|
web: {
|
|
2109
|
-
regular: '
|
|
2110
|
-
|
|
1984
|
+
regular: 'GTStandard',
|
|
1985
|
+
semibold: 'GTStandard',
|
|
1986
|
+
bold: 'GTStandard'
|
|
2111
1987
|
}
|
|
2112
1988
|
},
|
|
2113
1989
|
fontWeight: {
|
|
2114
|
-
regular:
|
|
1990
|
+
regular: 500,
|
|
1991
|
+
semibold: 600,
|
|
2115
1992
|
bold: 700
|
|
2116
1993
|
},
|
|
2117
1994
|
fontStyle: 'normal',
|
|
2118
1995
|
configs: {
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
'heading-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
1996
|
+
'heading-xxl': {
|
|
1997
|
+
fontSize: 56,
|
|
1998
|
+
lineHeight: 64,
|
|
1999
|
+
allowedFontWeights: ['semibold']
|
|
2000
|
+
},
|
|
2001
|
+
'heading-xl': {
|
|
2002
|
+
fontSize: 48,
|
|
2003
|
+
lineHeight: 56,
|
|
2004
|
+
allowedFontWeights: ['semibold']
|
|
2005
|
+
},
|
|
2006
|
+
'heading-l': {
|
|
2007
|
+
fontSize: 40,
|
|
2008
|
+
lineHeight: 48,
|
|
2009
|
+
allowedFontWeights: ['semibold']
|
|
2010
|
+
},
|
|
2011
|
+
'heading-m': {
|
|
2012
|
+
fontSize: 28,
|
|
2013
|
+
lineHeight: 32,
|
|
2014
|
+
allowedFontWeights: ['semibold']
|
|
2015
|
+
},
|
|
2016
|
+
'heading-s': {
|
|
2017
|
+
fontSize: 18,
|
|
2018
|
+
lineHeight: 20,
|
|
2019
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2020
|
+
},
|
|
2021
|
+
'heading-xs': {
|
|
2022
|
+
fontSize: 16,
|
|
2023
|
+
lineHeight: 18,
|
|
2024
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2025
|
+
}
|
|
2133
2026
|
}
|
|
2134
2027
|
},
|
|
2135
|
-
|
|
2028
|
+
bodies: {
|
|
2136
2029
|
fontFamily: {
|
|
2137
2030
|
"native": {
|
|
2138
|
-
regular: '
|
|
2139
|
-
bold: '
|
|
2031
|
+
regular: 'GTStandardRegular',
|
|
2032
|
+
bold: 'GTStandardBold'
|
|
2140
2033
|
},
|
|
2141
2034
|
web: {
|
|
2142
|
-
regular: '
|
|
2143
|
-
bold: '
|
|
2035
|
+
regular: 'GTStandard',
|
|
2036
|
+
bold: 'GTStandard'
|
|
2144
2037
|
}
|
|
2145
2038
|
},
|
|
2146
|
-
fontWeight:
|
|
2147
|
-
|
|
2039
|
+
fontWeight: {
|
|
2040
|
+
regular: 500,
|
|
2041
|
+
bold: 700
|
|
2042
|
+
},
|
|
2043
|
+
fontStyle: {
|
|
2044
|
+
regular: 'normal',
|
|
2045
|
+
bold: 'normal'
|
|
2046
|
+
},
|
|
2148
2047
|
configs: {
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
'
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
'
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
'
|
|
2165
|
-
|
|
2166
|
-
|
|
2048
|
+
'body-xl': {
|
|
2049
|
+
fontSize: 24,
|
|
2050
|
+
lineHeight: 32,
|
|
2051
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2052
|
+
},
|
|
2053
|
+
'body-l': {
|
|
2054
|
+
fontSize: 18,
|
|
2055
|
+
lineHeight: 26,
|
|
2056
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2057
|
+
},
|
|
2058
|
+
'body-m': {
|
|
2059
|
+
fontSize: 16,
|
|
2060
|
+
lineHeight: 24,
|
|
2061
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2062
|
+
},
|
|
2063
|
+
'body-s': {
|
|
2064
|
+
fontSize: 14,
|
|
2065
|
+
lineHeight: 20,
|
|
2066
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2067
|
+
},
|
|
2068
|
+
'body-xs': {
|
|
2069
|
+
fontSize: 12,
|
|
2070
|
+
lineHeight: 16,
|
|
2071
|
+
allowedFontWeights: ['regular', 'bold']
|
|
2072
|
+
}
|
|
2167
2073
|
}
|
|
2168
2074
|
},
|
|
2169
|
-
|
|
2075
|
+
labels: {
|
|
2170
2076
|
fontFamily: {
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
bold: 'Moderat'
|
|
2077
|
+
"native": {
|
|
2078
|
+
semibold: 'GTStandardSemibold'
|
|
2174
2079
|
},
|
|
2080
|
+
web: {
|
|
2081
|
+
semibold: 'GTStandard'
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
fontWeight: {
|
|
2085
|
+
semibold: 600
|
|
2086
|
+
},
|
|
2087
|
+
fontStyle: 'normal',
|
|
2088
|
+
configs: {
|
|
2089
|
+
'label-large': {
|
|
2090
|
+
fontSize: 16,
|
|
2091
|
+
lineHeight: 24,
|
|
2092
|
+
allowedFontWeights: ['semibold']
|
|
2093
|
+
},
|
|
2094
|
+
'label-medium': {
|
|
2095
|
+
fontSize: 14,
|
|
2096
|
+
lineHeight: 20,
|
|
2097
|
+
allowedFontWeights: ['semibold']
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
},
|
|
2101
|
+
contentCaps: {
|
|
2102
|
+
fontFamily: {
|
|
2175
2103
|
"native": {
|
|
2176
|
-
|
|
2177
|
-
|
|
2104
|
+
bold: 'GTStandardNarrowBold'
|
|
2105
|
+
},
|
|
2106
|
+
web: {
|
|
2107
|
+
bold: 'GTStandardNarrow'
|
|
2178
2108
|
}
|
|
2179
2109
|
},
|
|
2180
2110
|
fontWeight: {
|
|
2181
|
-
regular: 400,
|
|
2182
2111
|
bold: 700
|
|
2183
2112
|
},
|
|
2184
|
-
fontStyle:
|
|
2185
|
-
regular: 'normal',
|
|
2186
|
-
bold: 'normal'
|
|
2187
|
-
},
|
|
2113
|
+
fontStyle: 'normal',
|
|
2188
2114
|
configs: {
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
'
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
'
|
|
2200
|
-
|
|
2115
|
+
'content-caps-xxxl': {
|
|
2116
|
+
fontSize: 40,
|
|
2117
|
+
lineHeight: 40,
|
|
2118
|
+
allowedFontWeights: ['bold']
|
|
2119
|
+
},
|
|
2120
|
+
'content-caps-xxl': {
|
|
2121
|
+
fontSize: 32,
|
|
2122
|
+
lineHeight: 40,
|
|
2123
|
+
allowedFontWeights: ['bold']
|
|
2124
|
+
},
|
|
2125
|
+
'content-caps-xl': {
|
|
2126
|
+
fontSize: 24,
|
|
2127
|
+
lineHeight: 28,
|
|
2128
|
+
allowedFontWeights: ['bold']
|
|
2129
|
+
},
|
|
2130
|
+
'content-caps-l': {
|
|
2131
|
+
fontSize: 18,
|
|
2132
|
+
lineHeight: 20,
|
|
2133
|
+
allowedFontWeights: ['bold']
|
|
2134
|
+
},
|
|
2135
|
+
'content-caps-m': {
|
|
2136
|
+
fontSize: 16,
|
|
2137
|
+
lineHeight: 18,
|
|
2138
|
+
allowedFontWeights: ['bold']
|
|
2139
|
+
},
|
|
2140
|
+
'content-caps-s': {
|
|
2141
|
+
fontSize: 14,
|
|
2142
|
+
lineHeight: 16,
|
|
2143
|
+
allowedFontWeights: ['bold']
|
|
2144
|
+
},
|
|
2145
|
+
'content-caps-xs': {
|
|
2146
|
+
fontSize: 12,
|
|
2147
|
+
lineHeight: 14,
|
|
2148
|
+
allowedFontWeights: ['bold']
|
|
2149
|
+
}
|
|
2201
2150
|
}
|
|
2202
2151
|
}
|
|
2203
|
-
},
|
|
2204
|
-
link: {
|
|
2205
|
-
/** @deprecated not used in kitt anymore, use Typography instead */
|
|
2206
|
-
disabledColor: colors.blackDisabled
|
|
2207
2152
|
}
|
|
2208
2153
|
};
|
|
2209
2154
|
|
|
@@ -2212,7 +2157,7 @@ var picker = {
|
|
|
2212
2157
|
ios: {
|
|
2213
2158
|
"default": _objectSpread(_objectSpread({
|
|
2214
2159
|
fontFamily: typography.types.bodies.fontFamily["native"].regular
|
|
2215
|
-
}, typography.types.bodies.configs
|
|
2160
|
+
}, typography.types.bodies.configs['body-m']), {}, {
|
|
2216
2161
|
fontSize: 16,
|
|
2217
2162
|
color: typography.colors['black-light'],
|
|
2218
2163
|
// 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)
|
|
@@ -2245,19 +2190,19 @@ var picker = {
|
|
|
2245
2190
|
backgroundColor: colors.transparent
|
|
2246
2191
|
},
|
|
2247
2192
|
hovered: {
|
|
2248
|
-
backgroundColor:
|
|
2193
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2249
2194
|
},
|
|
2250
2195
|
focused: {
|
|
2251
|
-
backgroundColor:
|
|
2196
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2252
2197
|
},
|
|
2253
2198
|
selected: {
|
|
2254
|
-
backgroundColor:
|
|
2199
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2255
2200
|
},
|
|
2256
2201
|
highlighted: {
|
|
2257
|
-
backgroundColor:
|
|
2202
|
+
backgroundColor: deepPurpleColorPalette['beige.1']
|
|
2258
2203
|
},
|
|
2259
2204
|
pressed: {
|
|
2260
|
-
backgroundColor:
|
|
2205
|
+
backgroundColor: deepPurpleColorPalette['beige.2']
|
|
2261
2206
|
}
|
|
2262
2207
|
}
|
|
2263
2208
|
},
|
|
@@ -2341,8 +2286,8 @@ var shadows = {
|
|
|
2341
2286
|
}
|
|
2342
2287
|
};
|
|
2343
2288
|
|
|
2344
|
-
var skeletonBackgroundColor =
|
|
2345
|
-
var skeletonFlareColor =
|
|
2289
|
+
var skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
|
|
2290
|
+
var skeletonFlareColor = deepPurpleColorPalette['beige.3'];
|
|
2346
2291
|
var skeleton = {
|
|
2347
2292
|
backgroundColor: skeletonBackgroundColor,
|
|
2348
2293
|
flareColor: skeletonFlareColor,
|
|
@@ -2365,20 +2310,6 @@ var skeleton = {
|
|
|
2365
2310
|
|
|
2366
2311
|
var tag = {
|
|
2367
2312
|
borderRadius: 16,
|
|
2368
|
-
variant: {
|
|
2369
|
-
contrast: {
|
|
2370
|
-
borderWidth: 0
|
|
2371
|
-
},
|
|
2372
|
-
fill: {
|
|
2373
|
-
borderWidth: 0
|
|
2374
|
-
},
|
|
2375
|
-
outline: {
|
|
2376
|
-
borderWidth: 1
|
|
2377
|
-
},
|
|
2378
|
-
subtle: {
|
|
2379
|
-
borderWidth: 0
|
|
2380
|
-
}
|
|
2381
|
-
},
|
|
2382
2313
|
icon: {
|
|
2383
2314
|
small: 16,
|
|
2384
2315
|
medium: 16,
|
|
@@ -2454,14 +2385,14 @@ var verticalSteps = {
|
|
|
2454
2385
|
},
|
|
2455
2386
|
done: {
|
|
2456
2387
|
icon: {
|
|
2457
|
-
backgroundColor:
|
|
2458
|
-
textColor: colors.
|
|
2388
|
+
backgroundColor: colors.primary,
|
|
2389
|
+
textColor: colors.white
|
|
2459
2390
|
}
|
|
2460
2391
|
},
|
|
2461
2392
|
"default": {
|
|
2462
2393
|
icon: {
|
|
2463
2394
|
backgroundColor: colors.disabled,
|
|
2464
|
-
textColor:
|
|
2395
|
+
textColor: deepPurpleColorPalette['grey.3']
|
|
2465
2396
|
}
|
|
2466
2397
|
}
|
|
2467
2398
|
};
|
|
@@ -2497,7 +2428,7 @@ var theme = {
|
|
|
2497
2428
|
},
|
|
2498
2429
|
colors: colors,
|
|
2499
2430
|
palettes: {
|
|
2500
|
-
|
|
2431
|
+
deepPurple: deepPurpleColorPalette
|
|
2501
2432
|
},
|
|
2502
2433
|
avatar: avatar,
|
|
2503
2434
|
breakpoints: breakpoints,
|