@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.
Files changed (82) hide show
  1. package/CHANGELOG.md +18 -3
  2. package/dist/definitions/Actions/Actions.d.ts +1 -1
  3. package/dist/definitions/SegmentedProgressBar/SegmentedProgressBar.d.ts.map +1 -1
  4. package/dist/definitions/Tag/Tag.d.ts +2 -7
  5. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  6. package/dist/definitions/Toast/Toast.utils.d.ts +1 -1
  7. package/dist/definitions/Toast/Toast.utils.d.ts.map +1 -1
  8. package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -1
  9. package/dist/definitions/forms/Radio/InnerCircle.d.ts +2 -1
  10. package/dist/definitions/forms/Radio/InnerCircle.d.ts.map +1 -1
  11. package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts +1 -1
  12. package/dist/definitions/forms/RadioButtonGroup/utils/getCurrentTextColor.d.ts.map +1 -1
  13. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  14. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +161 -362
  15. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  16. package/dist/definitions/story-components/StoryTitle.d.ts.map +1 -1
  17. package/dist/definitions/themes/default.d.ts +215 -213
  18. package/dist/definitions/themes/default.d.ts.map +1 -1
  19. package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
  20. package/dist/definitions/themes/late-ocean/checkbox.d.ts +8 -8
  21. package/dist/definitions/themes/late-ocean/colors.d.ts +14 -16
  22. package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
  23. package/dist/definitions/themes/late-ocean/forms.d.ts +8 -8
  24. package/dist/definitions/themes/late-ocean/icon.d.ts +0 -8
  25. package/dist/definitions/themes/late-ocean/icon.d.ts.map +1 -1
  26. package/dist/definitions/themes/late-ocean/radio.d.ts +1 -0
  27. package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -1
  28. package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts +5 -0
  29. package/dist/definitions/themes/late-ocean/radioButtonGroup.d.ts.map +1 -1
  30. package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -2
  31. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
  32. package/dist/definitions/themes/late-ocean/tag.d.ts +0 -4
  33. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
  34. package/dist/definitions/themes/late-ocean/typography.d.ts +140 -70
  35. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
  36. package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts +79 -0
  37. package/dist/definitions/themes/palettes/deepPurpleColorPalette.d.ts.map +1 -0
  38. package/dist/definitions/typography/Typography.d.ts +59 -980
  39. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  40. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
  41. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  42. package/dist/definitions/typography/utils/getTypographyFamily.d.ts +1 -1
  43. package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
  44. package/dist/index-metro.es.android.js +719 -849
  45. package/dist/index-metro.es.android.js.map +1 -1
  46. package/dist/index-metro.es.ios.js +719 -849
  47. package/dist/index-metro.es.ios.js.map +1 -1
  48. package/dist/index-node-22.17.cjs.js +716 -846
  49. package/dist/index-node-22.17.cjs.js.map +1 -1
  50. package/dist/index-node-22.17.cjs.web.css +1 -1
  51. package/dist/index-node-22.17.cjs.web.js +713 -843
  52. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  53. package/dist/index-node-22.17.es.mjs +716 -846
  54. package/dist/index-node-22.17.es.mjs.map +1 -1
  55. package/dist/index-node-22.17.es.web.css +1 -1
  56. package/dist/index-node-22.17.es.web.mjs +713 -843
  57. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  58. package/dist/index.es.js +736 -874
  59. package/dist/index.es.js.map +1 -1
  60. package/dist/index.es.web.js +733 -871
  61. package/dist/index.es.web.js.map +1 -1
  62. package/dist/linaria-themes-metro.es.android.js +469 -532
  63. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  64. package/dist/linaria-themes-metro.es.ios.js +469 -532
  65. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  66. package/dist/linaria-themes-node-22.17.cjs.js +469 -532
  67. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  68. package/dist/linaria-themes-node-22.17.cjs.web.js +469 -532
  69. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  70. package/dist/linaria-themes-node-22.17.es.mjs +469 -532
  71. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  72. package/dist/linaria-themes-node-22.17.es.web.mjs +469 -532
  73. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  74. package/dist/linaria-themes.es.js +469 -538
  75. package/dist/linaria-themes.es.js.map +1 -1
  76. package/dist/linaria-themes.es.web.js +469 -538
  77. package/dist/linaria-themes.es.web.js.map +1 -1
  78. package/dist/styles.css +1 -1
  79. package/dist/tsbuildinfo +1 -1
  80. package/package.json +25 -25
  81. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +0 -260
  82. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +0 -1
@@ -41,117 +41,81 @@ const hex2rgba = (hex, alpha = 1) => {
41
41
 
42
42
  const createColorScale = colorScale => colorScale;
43
43
  const colorScales = {
44
- eggshell: createColorScale({
45
- 1: '#faf9f8',
46
- 2: '#f4f3ef',
47
- 3: '#F0EEE9',
48
- 4: '#dedad2',
49
- 5: '#d1cdc5',
50
- 6: '#bab8ae',
51
- 7: '#aeaba3',
52
- 8: '#9c9a92',
53
- 9: '#8e8c83',
54
- 10: '#74726a',
55
- 11: '#3e3d3a',
56
- 12: '#282826'
44
+ deepPurple: createColorScale({
45
+ 5: '#936C93',
46
+ 6: '#7A587A',
47
+ 7: '#6E4D6E',
48
+ 8: '#563B56',
49
+ 9: '#452F45'
57
50
  }),
58
- violine: createColorScale({
59
- 1: '#f8f7ff',
60
- 2: '#f2f0ff',
61
- 3: '#ebe8ff',
62
- 4: '#d5cfff',
63
- 5: '#bfb5ff',
64
- 6: '#a99cff',
65
- 7: '#9180ff',
66
- 8: '#7b66ff',
67
- 9: '#624af7',
68
- 10: '#5139e1',
69
- 11: '#3a26b5',
70
- 12: '#0a0428'
51
+ beige: createColorScale({
52
+ 1: '#F7F4EE',
53
+ 2: '#F1ECE4',
54
+ 3: '#EAE3D6',
55
+ 4: '#E5DCCA',
56
+ 5: '#DDD0B8',
57
+ 6: '#C1B59F'
71
58
  }),
72
- lavender: createColorScale({
73
- 1: '#fdf7ff',
74
- 2: '#fcf2ff',
75
- 3: '#FAEBFF',
76
- 4: '#f8e3ff',
77
- 5: '#f4d6ff',
78
- 6: '#efc2ff',
79
- 7: '#d298ff',
80
- 8: '#b97aff',
81
- 9: '#ac5ff9',
82
- 10: '#9d4ced',
83
- 11: '#6b347e',
84
- 12: '#290a34'
59
+ lightning: createColorScale({
60
+ 5: '#FFF500',
61
+ 7: '#43390A'
62
+ }),
63
+ rainbow: createColorScale({
64
+ pink: '#E4A4F9',
65
+ brick: '#951D12',
66
+ orange: '#DB6E2E',
67
+ gold: '#9A7600',
68
+ sun: '#EFD346',
69
+ 'green-pine': '#1C5D47',
70
+ 'green-grass': '#4DA00A',
71
+ 'green-apple': '#DEF985',
72
+ 'blue-electric': '#2850C4',
73
+ 'blue-sky': '#B2F0FD'
74
+ }),
75
+ grey: createColorScale({
76
+ 0: '#ffffff',
77
+ 1: '#ECECEC',
78
+ 2: '#CDCED0',
79
+ 3: '#A8A8A8',
80
+ 5: '#838383',
81
+ 7: '#505050',
82
+ 9: '#101010'
85
83
  }),
86
84
  blue: createColorScale({
87
- 1: '#f7faff',
88
- 2: '#f0f5ff',
89
- 3: '#e8f0ff',
90
- 4: '#d4e0ff',
91
- 5: '#baceff',
92
- 6: '#a1bbff',
93
- 7: '#87a9ff',
94
- 8: '#6e96ff',
95
- 9: '#5383ff',
96
- 10: '#4170eb',
97
- 11: '#0e4381',
98
- 12: '#061c36'
85
+ 1: '#E9F4FC',
86
+ 2: '#BCDFF6',
87
+ 6: '#1772AB'
99
88
  }),
100
- raspberry: createColorScale({
101
- 1: '#fff7fa',
102
- 2: '#fff0f5',
103
- 3: '#ffe8ef',
104
- 4: '#f0c7d4',
105
- 5: '#f0afc4',
106
- 6: '#f097b3',
107
- 7: '#f07fa3',
108
- 8: '#d95d84',
109
- 9: '#cf2a60',
110
- 10: '#c12558',
111
- 11: '#61192e',
112
- 12: '#29040f'
89
+ green: createColorScale({
90
+ 1: '#ECFEDD',
91
+ 2: '#DBFAC1',
92
+ 6: '#438D06'
113
93
  }),
114
- coral: createColorScale({
115
- 1: '#fff7f7',
116
- 2: '#fff0f0',
117
- 3: '#ffe8e8',
118
- 4: '#ffcfcf',
119
- 5: '#ffb5b5',
120
- 6: '#ff9c9c',
121
- 7: '#f57d7d',
122
- 8: '#eb6565',
123
- 9: '#e55050',
124
- 10: '#da3d3d',
125
- 11: '#8a2b1e',
126
- 12: '#330c07'
94
+ yellow: createColorScale({
95
+ 1: '#FDF8E7',
96
+ 2: '#FAEBB8',
97
+ 6: '#EFC11F'
127
98
  }),
128
- sun: createColorScale({
129
- 1: '#fffdf7',
130
- 2: '#fffbf0',
131
- 3: '#fff6de',
132
- 4: '#ffefc4',
133
- 5: '#ffe8ab',
134
- 6: '#ffe191',
135
- 7: '#ffda78',
136
- 8: '#ffd35e',
137
- 9: '#fdc32d',
138
- 10: '#f3a40c',
139
- 11: '#9f5600',
140
- 12: '#341c00'
99
+ red: createColorScale({
100
+ 1: '#FDE4E3',
101
+ 2: '#FAB8B8',
102
+ 6: '#F14847'
141
103
  }),
142
- green: createColorScale({
143
- 1: '#f9fff9',
144
- 2: '#e9ffeb',
145
- 3: '#d3fbd7',
146
- 4: '#bffbc5',
147
- 5: '#96f4b0',
148
- 6: '#7fefac',
149
- 7: '#21e8a3',
150
- 8: '#08d48e',
151
- 9: '#00c381',
152
- 10: '#00ac72',
153
- 11: '#0e8159',
154
- 12: '#03291c'
104
+ 'beige-alpha': createColorScale({
105
+ '25': '#C1B59F40',
106
+ '40': '#C1B59F66',
107
+ '50': '#C1B59F80'
108
+ }),
109
+ 'grey-alpha': createColorScale({
110
+ '25': '#10101040',
111
+ '35': '#10101059',
112
+ '50': '#10101080'
113
+ }),
114
+ 'white-alpha': createColorScale({
115
+ '10': '#FFFFFF1A',
116
+ '20': '#FFFFFF33',
117
+ '80': '#FFFFFFCC',
118
+ '90': '#FFFFFFE5'
155
119
  })
156
120
  };
157
121
  const transformColorScalesToTokens = () => {
@@ -161,90 +125,44 @@ const transformColorScalesToTokens = () => {
161
125
  });
162
126
  }));
163
127
  };
164
- const lateOceanColorPalette = {
128
+ const deepPurpleColorPalette = {
165
129
  ...transformColorScalesToTokens(),
166
- /** @deprecated use violine.9 instead */
167
- lateOcean: colorScales.violine[9],
168
- /** @deprecated use violine.8 instead */
169
- lateOceanLight1: colorScales.violine[8],
170
- /** @deprecated use violine.6 instead */
171
- lateOceanLight2: colorScales.violine[6],
172
- /** @deprecated use lavender.6 instead */
173
- lateOceanLight3: colorScales.lavender[6],
174
- /** @deprecated use violine.12 instead */
175
- lateOceanDark1: colorScales.violine[12],
176
- /** @deprecated use lavender.5 instead */
177
- warmEmbrace: colorScales.lavender[5],
178
- /** @deprecated use lavender.3 instead */
179
- warmEmbraceLight1: colorScales.lavender[3],
180
130
  white: '#FFFFFF',
181
131
  black: '#000000',
182
- /** @deprecated use black instead */
183
- black1000: '#000000',
184
- /** @deprecated use eggshell.11 instead */
185
- black800: colorScales.eggshell[11],
186
- /** @deprecated use eggshell.10 instead */
187
- black555: colorScales.eggshell[10],
188
- /** @deprecated use eggshell.7 instead */
189
- black400: colorScales.eggshell[7],
190
- /** @deprecated use eggshell.4 instead */
191
- black200: colorScales.eggshell[4],
192
- /** @deprecated use eggshell.3 instead */
193
- black100: colorScales.eggshell[3],
194
- /** @deprecated use eggshell.2 instead */
195
- black50: colorScales.eggshell[2],
196
- /** @deprecated use eggshell.1 instead */
197
- black25: colorScales.eggshell[1],
198
- /** @deprecated use green.8 instead */
199
- viride: colorScales.green[8],
200
- /** @deprecated use coral.7 instead */
201
- englishVermillon: colorScales.coral[7],
202
- /** @deprecated use sun.8 instead */
203
- goldCrayola: colorScales.sun[8],
204
- /** @deprecated use blue.8 instead */
205
- aero: colorScales.blue[8],
206
- /** @deprecated use eggshell.1 instead */
207
- seaShell: colorScales.eggshell[1],
208
- transparent: 'transparent',
209
- /** @deprecated use violine.4 instead */
210
- moonPurple: colorScales.violine[4],
211
- /** @deprecated use violine.2 instead */
212
- moonPurpleLight1: colorScales.violine[2]
132
+ transparent: 'transparent'
213
133
  };
214
134
 
215
135
  const colors = {
216
- primary: lateOceanColorPalette['violine.9'],
217
- primaryLight: lateOceanColorPalette['violine.8'],
218
- accent: lateOceanColorPalette['lavender.5'],
219
- accentLight: lateOceanColorPalette['lavender.3'],
220
- success: lateOceanColorPalette['green.8'],
221
- correct: lateOceanColorPalette['green.8'],
222
- danger: lateOceanColorPalette['coral.8'],
223
- info: lateOceanColorPalette['blue.8'],
224
- warning: lateOceanColorPalette['sun.8'],
225
- separator: lateOceanColorPalette['eggshell.3'],
226
- hover: lateOceanColorPalette['eggshell.3'],
227
- white: lateOceanColorPalette.white,
228
- black: lateOceanColorPalette.black,
229
- blackDisabled: lateOceanColorPalette['eggshell.7'],
230
- blackLight: lateOceanColorPalette['eggshell.10'],
231
- blackAnthracite: lateOceanColorPalette['eggshell.11'],
232
- uiBackground: lateOceanColorPalette['eggshell.1'],
233
- uiBackgroundLight: lateOceanColorPalette.white,
234
- transparent: lateOceanColorPalette.transparent,
235
- disabled: lateOceanColorPalette['eggshell.2'],
136
+ primary: deepPurpleColorPalette['deepPurple.8'],
137
+ primaryLight: deepPurpleColorPalette['deepPurple.8'],
138
+ accent: deepPurpleColorPalette['beige.1'],
139
+ accentLight: deepPurpleColorPalette['beige.1'],
140
+ success: deepPurpleColorPalette['green.6'],
141
+ correct: deepPurpleColorPalette['green.6'],
142
+ danger: deepPurpleColorPalette['red.6'],
143
+ info: deepPurpleColorPalette['blue.6'],
144
+ warning: deepPurpleColorPalette['yellow.6'],
145
+ separator: deepPurpleColorPalette['beige.3'],
146
+ white: deepPurpleColorPalette['grey.0'],
147
+ black: deepPurpleColorPalette['grey.9'],
148
+ blackLight: deepPurpleColorPalette['grey.5'],
149
+ blackAnthracite: deepPurpleColorPalette['grey.7'],
150
+ uiBackground: deepPurpleColorPalette['beige.1'],
151
+ uiBackgroundLight: deepPurpleColorPalette['grey.0'],
152
+ transparent: deepPurpleColorPalette.transparent,
153
+ disabled: deepPurpleColorPalette['grey.1'],
236
154
  overlay: {
237
- dark: 'rgba(41, 48, 51, 0.25)',
238
- light: 'rgba(255, 255, 255, 0.90)'
155
+ dark: deepPurpleColorPalette['grey-alpha.50'],
156
+ light: deepPurpleColorPalette['white-alpha.80']
239
157
  }
240
158
  };
241
159
 
242
160
  const actionCard = {
243
- borderRadius: 20,
161
+ borderRadius: 8,
244
162
  primary: {
245
163
  default: {
246
164
  backgroundColor: colors.uiBackgroundLight,
247
- borderColor: lateOceanColorPalette['eggshell.3'],
165
+ borderColor: deepPurpleColorPalette['beige.2'],
248
166
  borderWidth: 1,
249
167
  shadow: {
250
168
  color: '',
@@ -256,8 +174,8 @@ const actionCard = {
256
174
  translateY: 0
257
175
  },
258
176
  hovered: {
259
- backgroundColor: lateOceanColorPalette['eggshell.2'],
260
- borderColor: lateOceanColorPalette['eggshell.3'],
177
+ backgroundColor: deepPurpleColorPalette['beige.1'],
178
+ borderColor: deepPurpleColorPalette['beige.2'],
261
179
  borderWidth: 1,
262
180
  shadow: {
263
181
  color: '',
@@ -269,8 +187,8 @@ const actionCard = {
269
187
  translateY: 0
270
188
  },
271
189
  disabled: {
272
- backgroundColor: lateOceanColorPalette['eggshell.2'],
273
- borderColor: lateOceanColorPalette['eggshell.3'],
190
+ backgroundColor: deepPurpleColorPalette['grey.1'],
191
+ borderColor: deepPurpleColorPalette['grey.1'],
274
192
  borderWidth: 1,
275
193
  shadow: {
276
194
  color: '',
@@ -282,8 +200,8 @@ const actionCard = {
282
200
  translateY: 0
283
201
  },
284
202
  focused: {
285
- backgroundColor: lateOceanColorPalette['eggshell.2'],
286
- borderColor: lateOceanColorPalette['eggshell.3'],
203
+ backgroundColor: deepPurpleColorPalette['beige.1'],
204
+ borderColor: deepPurpleColorPalette['beige.2'],
287
205
  borderWidth: 1,
288
206
  shadow: {
289
207
  color: '',
@@ -295,8 +213,8 @@ const actionCard = {
295
213
  translateY: 0
296
214
  },
297
215
  pressed: {
298
- backgroundColor: lateOceanColorPalette['eggshell.2'],
299
- borderColor: lateOceanColorPalette['eggshell.3'],
216
+ backgroundColor: deepPurpleColorPalette['beige.1'],
217
+ borderColor: deepPurpleColorPalette['beige.2'],
300
218
  borderWidth: 1,
301
219
  shadow: {
302
220
  color: '',
@@ -311,10 +229,10 @@ const actionCard = {
311
229
  'primary-border-soft': {
312
230
  default: {
313
231
  backgroundColor: colors.uiBackgroundLight,
314
- borderColor: lateOceanColorPalette['violine.4'],
232
+ borderColor: deepPurpleColorPalette['beige.3'],
315
233
  borderWidth: 1,
316
234
  shadow: {
317
- color: lateOceanColorPalette['violine.4'],
235
+ color: deepPurpleColorPalette['beige.3'],
318
236
  offsetX: 0,
319
237
  offsetY: 4,
320
238
  opacity: 1,
@@ -323,11 +241,11 @@ const actionCard = {
323
241
  translateY: 0
324
242
  },
325
243
  hovered: {
326
- backgroundColor: lateOceanColorPalette['eggshell.2'],
327
- borderColor: lateOceanColorPalette['violine.4'],
244
+ backgroundColor: deepPurpleColorPalette['beige.1'],
245
+ borderColor: deepPurpleColorPalette['beige.3'],
328
246
  borderWidth: 1,
329
247
  shadow: {
330
- color: lateOceanColorPalette['violine.4'],
248
+ color: deepPurpleColorPalette['beige.3'],
331
249
  offsetX: 0,
332
250
  offsetY: 4,
333
251
  opacity: 1,
@@ -336,8 +254,8 @@ const actionCard = {
336
254
  translateY: 0
337
255
  },
338
256
  disabled: {
339
- backgroundColor: lateOceanColorPalette['eggshell.2'],
340
- borderColor: lateOceanColorPalette['eggshell.3'],
257
+ backgroundColor: deepPurpleColorPalette['grey.1'],
258
+ borderColor: deepPurpleColorPalette['grey.1'],
341
259
  borderWidth: 1,
342
260
  shadow: {
343
261
  color: '',
@@ -349,11 +267,11 @@ const actionCard = {
349
267
  translateY: 0
350
268
  },
351
269
  focused: {
352
- backgroundColor: lateOceanColorPalette['eggshell.2'],
353
- borderColor: lateOceanColorPalette['violine.4'],
270
+ backgroundColor: deepPurpleColorPalette['beige.1'],
271
+ borderColor: deepPurpleColorPalette['beige.3'],
354
272
  borderWidth: 1,
355
273
  shadow: {
356
- color: lateOceanColorPalette['violine.4'],
274
+ color: deepPurpleColorPalette['beige.3'],
357
275
  offsetX: 0,
358
276
  offsetY: 4,
359
277
  opacity: 1,
@@ -362,8 +280,8 @@ const actionCard = {
362
280
  translateY: 0
363
281
  },
364
282
  pressed: {
365
- backgroundColor: lateOceanColorPalette['eggshell.2'],
366
- borderColor: lateOceanColorPalette['violine.4'],
283
+ backgroundColor: deepPurpleColorPalette['beige.1'],
284
+ borderColor: deepPurpleColorPalette['beige.3'],
367
285
  borderWidth: 1,
368
286
  shadow: {
369
287
  color: '',
@@ -378,10 +296,10 @@ const actionCard = {
378
296
  'primary-border-hard': {
379
297
  default: {
380
298
  backgroundColor: colors.uiBackgroundLight,
381
- borderColor: lateOceanColorPalette['violine.9'],
299
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
382
300
  borderWidth: 1,
383
301
  shadow: {
384
- color: lateOceanColorPalette['violine.9'],
302
+ color: deepPurpleColorPalette['deepPurple.8'],
385
303
  offsetX: 0,
386
304
  offsetY: 4,
387
305
  opacity: 1,
@@ -390,11 +308,11 @@ const actionCard = {
390
308
  translateY: 0
391
309
  },
392
310
  hovered: {
393
- backgroundColor: lateOceanColorPalette['eggshell.2'],
394
- borderColor: lateOceanColorPalette['violine.9'],
311
+ backgroundColor: deepPurpleColorPalette['beige.1'],
312
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
395
313
  borderWidth: 1,
396
314
  shadow: {
397
- color: lateOceanColorPalette['violine.9'],
315
+ color: deepPurpleColorPalette['deepPurple.8'],
398
316
  offsetX: 0,
399
317
  offsetY: 4,
400
318
  opacity: 1,
@@ -403,8 +321,8 @@ const actionCard = {
403
321
  translateY: 0
404
322
  },
405
323
  disabled: {
406
- backgroundColor: lateOceanColorPalette['eggshell.2'],
407
- borderColor: lateOceanColorPalette['eggshell.3'],
324
+ backgroundColor: deepPurpleColorPalette['grey.1'],
325
+ borderColor: deepPurpleColorPalette['grey.1'],
408
326
  borderWidth: 1,
409
327
  shadow: {
410
328
  color: '',
@@ -416,11 +334,11 @@ const actionCard = {
416
334
  translateY: 0
417
335
  },
418
336
  focused: {
419
- backgroundColor: lateOceanColorPalette['eggshell.2'],
420
- borderColor: lateOceanColorPalette['violine.9'],
337
+ backgroundColor: deepPurpleColorPalette['beige.1'],
338
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
421
339
  borderWidth: 1,
422
340
  shadow: {
423
- color: lateOceanColorPalette['violine.9'],
341
+ color: deepPurpleColorPalette['deepPurple.8'],
424
342
  offsetX: 0,
425
343
  offsetY: 4,
426
344
  opacity: 1,
@@ -429,8 +347,8 @@ const actionCard = {
429
347
  translateY: 0
430
348
  },
431
349
  pressed: {
432
- backgroundColor: lateOceanColorPalette['eggshell.2'],
433
- borderColor: lateOceanColorPalette['violine.9'],
350
+ backgroundColor: deepPurpleColorPalette['beige.1'],
351
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
434
352
  borderWidth: 1,
435
353
  shadow: {
436
354
  color: '',
@@ -444,8 +362,8 @@ const actionCard = {
444
362
  },
445
363
  secondary: {
446
364
  default: {
447
- backgroundColor: lateOceanColorPalette['eggshell.2'],
448
- borderColor: lateOceanColorPalette.transparent,
365
+ backgroundColor: deepPurpleColorPalette['beige.1'],
366
+ borderColor: deepPurpleColorPalette.transparent,
449
367
  borderWidth: 0,
450
368
  shadow: {
451
369
  color: '',
@@ -457,8 +375,8 @@ const actionCard = {
457
375
  translateY: 0
458
376
  },
459
377
  disabled: {
460
- backgroundColor: lateOceanColorPalette['eggshell.2'],
461
- borderColor: lateOceanColorPalette['eggshell.3'],
378
+ backgroundColor: deepPurpleColorPalette['grey.1'],
379
+ borderColor: deepPurpleColorPalette['grey.1'],
462
380
  borderWidth: 1,
463
381
  shadow: {
464
382
  color: '',
@@ -470,8 +388,8 @@ const actionCard = {
470
388
  translateY: 0
471
389
  },
472
390
  hovered: {
473
- backgroundColor: lateOceanColorPalette['eggshell.3'],
474
- borderColor: lateOceanColorPalette.transparent,
391
+ backgroundColor: deepPurpleColorPalette['beige.2'],
392
+ borderColor: deepPurpleColorPalette.transparent,
475
393
  borderWidth: 0,
476
394
  shadow: {
477
395
  color: '',
@@ -483,8 +401,8 @@ const actionCard = {
483
401
  translateY: 0
484
402
  },
485
403
  focused: {
486
- backgroundColor: lateOceanColorPalette['eggshell.3'],
487
- borderColor: lateOceanColorPalette.transparent,
404
+ backgroundColor: deepPurpleColorPalette['beige.2'],
405
+ borderColor: deepPurpleColorPalette.transparent,
488
406
  borderWidth: 0,
489
407
  shadow: {
490
408
  color: '',
@@ -496,8 +414,8 @@ const actionCard = {
496
414
  translateY: 0
497
415
  },
498
416
  pressed: {
499
- backgroundColor: lateOceanColorPalette['eggshell.3'],
500
- borderColor: lateOceanColorPalette.transparent,
417
+ backgroundColor: deepPurpleColorPalette['beige.2'],
418
+ borderColor: deepPurpleColorPalette.transparent,
501
419
  borderWidth: 0,
502
420
  shadow: {
503
421
  color: '',
@@ -511,11 +429,11 @@ const actionCard = {
511
429
  },
512
430
  highlight: {
513
431
  default: {
514
- backgroundColor: lateOceanColorPalette['violine.2'],
515
- borderColor: lateOceanColorPalette['violine.4'],
432
+ backgroundColor: deepPurpleColorPalette['beige.1'],
433
+ borderColor: deepPurpleColorPalette['beige.3'],
516
434
  borderWidth: 1,
517
435
  shadow: {
518
- color: lateOceanColorPalette['violine.4'],
436
+ color: deepPurpleColorPalette['beige.3'],
519
437
  offsetX: 0,
520
438
  offsetY: 4,
521
439
  opacity: 1,
@@ -524,8 +442,8 @@ const actionCard = {
524
442
  translateY: 0
525
443
  },
526
444
  disabled: {
527
- backgroundColor: lateOceanColorPalette['eggshell.2'],
528
- borderColor: lateOceanColorPalette['eggshell.3'],
445
+ backgroundColor: deepPurpleColorPalette['grey.1'],
446
+ borderColor: deepPurpleColorPalette['grey.1'],
529
447
  borderWidth: 1,
530
448
  shadow: {
531
449
  color: '',
@@ -537,11 +455,11 @@ const actionCard = {
537
455
  translateY: 0
538
456
  },
539
457
  hovered: {
540
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
541
- borderColor: lateOceanColorPalette['violine.4'],
458
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
459
+ borderColor: deepPurpleColorPalette['beige.3'],
542
460
  borderWidth: 1,
543
461
  shadow: {
544
- color: lateOceanColorPalette['violine.4'],
462
+ color: deepPurpleColorPalette['beige.3'],
545
463
  offsetX: 0,
546
464
  offsetY: 4,
547
465
  opacity: 1,
@@ -550,11 +468,11 @@ const actionCard = {
550
468
  translateY: 0
551
469
  },
552
470
  focused: {
553
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
554
- borderColor: lateOceanColorPalette['violine.4'],
471
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
472
+ borderColor: deepPurpleColorPalette['beige.3'],
555
473
  borderWidth: 1,
556
474
  shadow: {
557
- color: lateOceanColorPalette['violine.4'],
475
+ color: deepPurpleColorPalette['beige.3'],
558
476
  offsetX: 0,
559
477
  offsetY: 4,
560
478
  opacity: 1,
@@ -563,8 +481,8 @@ const actionCard = {
563
481
  translateY: 0
564
482
  },
565
483
  pressed: {
566
- backgroundColor: hex2rgba(lateOceanColorPalette['violine.2'], 0.6),
567
- borderColor: lateOceanColorPalette['violine.4'],
484
+ backgroundColor: hex2rgba(deepPurpleColorPalette['beige.1'], 0.6),
485
+ borderColor: deepPurpleColorPalette['beige.3'],
568
486
  borderWidth: 1,
569
487
  shadow: {
570
488
  color: '',
@@ -582,42 +500,28 @@ const defaultAvatarSize = 40;
582
500
  const defaultAvatarIconSize = 20;
583
501
  const largeAvatarSize = 120;
584
502
  const largeAvatarIconSize = 30;
585
-
586
- // export interface AvatarThemeBackgroundColorVariant {
587
- // default: string;
588
- // light: string;
589
- // dark: string;
590
- // disabled: string;
591
- // }
592
-
593
- // export interface AvatarThemeColorVariant {
594
- // default: string;
595
- // light: string;
596
- // disabled: string;
597
- // }
598
-
599
503
  const avatar = {
600
- borderRadius: 10,
504
+ borderRadius: 4,
601
505
  size: defaultAvatarSize,
602
506
  iconSize: defaultAvatarIconSize,
603
507
  default: {
604
- color: lateOceanColorPalette.white,
605
- backgroundColor: colors.primary
508
+ color: deepPurpleColorPalette['white-alpha.80'],
509
+ backgroundColor: deepPurpleColorPalette['deepPurple.8']
606
510
  },
607
511
  light: {
608
- color: lateOceanColorPalette.black,
609
- backgroundColor: lateOceanColorPalette['eggshell.3']
512
+ color: deepPurpleColorPalette['beige.6'],
513
+ backgroundColor: deepPurpleColorPalette['beige.1']
610
514
  },
611
515
  dark: {
612
- color: lateOceanColorPalette.white,
613
- backgroundColor: lateOceanColorPalette['eggshell.12']
516
+ color: deepPurpleColorPalette['white-alpha.80'],
517
+ backgroundColor: deepPurpleColorPalette['grey.9']
614
518
  },
615
519
  disabled: {
616
- color: lateOceanColorPalette['eggshell.5'],
617
- backgroundColor: lateOceanColorPalette['eggshell.3']
520
+ color: deepPurpleColorPalette['grey.3'],
521
+ backgroundColor: deepPurpleColorPalette['grey.1']
618
522
  },
619
523
  large: {
620
- borderRadius: 30,
524
+ borderRadius: 8,
621
525
  size: largeAvatarSize,
622
526
  iconSize: largeAvatarIconSize
623
527
  }
@@ -630,7 +534,7 @@ const bottomSheet = {
630
534
  padding: spacing * 4
631
535
  },
632
536
  handle: {
633
- backgroundColor: lateOceanColorPalette.black200
537
+ backgroundColor: deepPurpleColorPalette['beige.3']
634
538
  }
635
539
  };
636
540
 
@@ -698,9 +602,9 @@ const button = {
698
602
  pressedBackgroundColor: 'rgba(255, 255, 255, 0.05)',
699
603
  hoverBackgroundColor: 'rgba(255, 255, 255, 0.05)',
700
604
  focusBorderColor: 'rgba(255, 255, 255, 0.4)',
701
- color: lateOceanColorPalette.white,
702
- hoverColor: lateOceanColorPalette.white,
703
- activeColor: lateOceanColorPalette.white
605
+ color: deepPurpleColorPalette.white,
606
+ hoverColor: deepPurpleColorPalette.white,
607
+ activeColor: deepPurpleColorPalette.white
704
608
  }
705
609
  },
706
610
  primary: {
@@ -713,11 +617,11 @@ const button = {
713
617
  ghost: {
714
618
  backgroundColor: colors.uiBackgroundLight,
715
619
  pressedBackgroundColor: colors.uiBackground,
716
- hoverBackgroundColor: colors.hover,
620
+ hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
717
621
  focusBorderColor: 'rgba(255,255,255, 0.4)',
718
622
  color: colors.primary,
719
- hoverColor: colors.hover,
720
- activeColor: colors.hover
623
+ hoverColor: deepPurpleColorPalette['beige.2'],
624
+ activeColor: deepPurpleColorPalette['beige.2']
721
625
  }
722
626
  },
723
627
  dark: {
@@ -730,19 +634,19 @@ const button = {
730
634
  },
731
635
  danger: {
732
636
  default: {
733
- backgroundColor: lateOceanColorPalette['coral.3'],
734
- pressedBackgroundColor: lateOceanColorPalette['coral.4'],
735
- hoverBackgroundColor: lateOceanColorPalette['coral.4'],
736
- focusBorderColor: lateOceanColorPalette['coral.4']
637
+ backgroundColor: deepPurpleColorPalette['red.1'],
638
+ pressedBackgroundColor: deepPurpleColorPalette['red.2'],
639
+ hoverBackgroundColor: deepPurpleColorPalette['red.2'],
640
+ focusBorderColor: deepPurpleColorPalette['red.2']
737
641
  },
738
642
  ghost: {
739
643
  backgroundColor: colors.uiBackgroundLight,
740
644
  pressedBackgroundColor: colors.uiBackground,
741
- hoverBackgroundColor: colors.hover,
645
+ hoverBackgroundColor: deepPurpleColorPalette['beige.2'],
742
646
  focusBorderColor: 'rgba(255, 255, 255, 0.4)',
743
- color: lateOceanColorPalette['coral.9'],
744
- hoverColor: lateOceanColorPalette['coral.9'],
745
- activeColor: lateOceanColorPalette['coral.9']
647
+ color: deepPurpleColorPalette['red.6'],
648
+ hoverColor: deepPurpleColorPalette['red.6'],
649
+ activeColor: deepPurpleColorPalette['red.6']
746
650
  }
747
651
  },
748
652
  subtle: {
@@ -783,14 +687,14 @@ const button = {
783
687
  backgroundColor: colors.disabled,
784
688
  pressedBackgroundColor: colors.disabled,
785
689
  hoverBackgroundColor: colors.disabled,
786
- focusBorderColor: lateOceanColorPalette.black100,
787
- borderColor: lateOceanColorPalette.black100
690
+ focusBorderColor: deepPurpleColorPalette['beige.2'],
691
+ borderColor: deepPurpleColorPalette['beige.2']
788
692
  }
789
693
  }
790
694
  };
791
695
 
792
696
  const buttonBadge = {
793
- backgroundColor: lateOceanColorPalette['coral.10'],
697
+ backgroundColor: deepPurpleColorPalette['red.6'],
794
698
  dimensions: {
795
699
  withBadge: {
796
700
  width: 10,
@@ -819,7 +723,7 @@ const card = {
819
723
  borderColor: colors.separator
820
724
  },
821
725
  subtle: {
822
- backgroundColor: lateOceanColorPalette.black50,
726
+ backgroundColor: deepPurpleColorPalette['beige.1'],
823
727
  borderColor: colors.separator
824
728
  }
825
729
  };
@@ -879,17 +783,17 @@ const choices = {
879
783
  small: 24
880
784
  },
881
785
  backgroundColor: {
882
- default: lateOceanColorPalette.black50,
786
+ default: deepPurpleColorPalette['beige.1'],
883
787
  disabled: colors.disabled,
884
788
  selected: colors.primary,
885
- pressed: lateOceanColorPalette.lateOceanLight1,
886
- hover: lateOceanColorPalette.black100,
887
- hoverWhenSelected: lateOceanColorPalette.lateOceanLight1
789
+ pressed: deepPurpleColorPalette['deepPurple.7'],
790
+ hover: deepPurpleColorPalette['beige.2'],
791
+ hoverWhenSelected: deepPurpleColorPalette['deepPurple.7']
888
792
  },
889
793
  disabled: {
890
794
  border: {
891
795
  width: 2,
892
- color: lateOceanColorPalette.black100
796
+ color: deepPurpleColorPalette['beige.2']
893
797
  }
894
798
  },
895
799
  transition: {
@@ -954,19 +858,19 @@ const autocomplete = {
954
858
  backgroundColor: colors.white
955
859
  },
956
860
  hovered: {
957
- backgroundColor: lateOceanColorPalette.black50
861
+ backgroundColor: deepPurpleColorPalette['beige.1']
958
862
  },
959
863
  focused: {
960
- backgroundColor: lateOceanColorPalette.black50
864
+ backgroundColor: deepPurpleColorPalette['beige.1']
961
865
  },
962
866
  selected: {
963
- backgroundColor: lateOceanColorPalette.black50
867
+ backgroundColor: deepPurpleColorPalette['beige.1']
964
868
  },
965
869
  highlighted: {
966
- backgroundColor: lateOceanColorPalette.black50
870
+ backgroundColor: deepPurpleColorPalette['beige.1']
967
871
  },
968
872
  pressed: {
969
- backgroundColor: lateOceanColorPalette.black100
873
+ backgroundColor: deepPurpleColorPalette['beige.1']
970
874
  }
971
875
  },
972
876
  optionsContainer: {
@@ -1034,37 +938,37 @@ const datePicker = {
1034
938
 
1035
939
  const inputStatesStyle = {
1036
940
  default: {
1037
- backgroundColor: lateOceanColorPalette.white,
1038
- borderColor: lateOceanColorPalette['eggshell.4'],
1039
- color: lateOceanColorPalette.black
941
+ backgroundColor: deepPurpleColorPalette.white,
942
+ borderColor: deepPurpleColorPalette['beige.3'],
943
+ color: deepPurpleColorPalette.black
1040
944
  },
1041
945
  pending: {
1042
- backgroundColor: lateOceanColorPalette.white,
1043
- borderColor: lateOceanColorPalette['eggshell.3'],
1044
- color: lateOceanColorPalette.black
946
+ backgroundColor: deepPurpleColorPalette.white,
947
+ borderColor: deepPurpleColorPalette['beige.2'],
948
+ color: deepPurpleColorPalette.black
1045
949
  },
1046
950
  valid: {
1047
- backgroundColor: lateOceanColorPalette.white,
1048
- borderColor: lateOceanColorPalette['eggshell.4'],
1049
- color: lateOceanColorPalette.black
951
+ backgroundColor: deepPurpleColorPalette.white,
952
+ borderColor: deepPurpleColorPalette['beige.3'],
953
+ color: deepPurpleColorPalette.black
1050
954
  },
1051
955
  hover: {
1052
- backgroundColor: lateOceanColorPalette['eggshell.1'],
1053
- borderColor: lateOceanColorPalette['eggshell.5'],
1054
- color: lateOceanColorPalette.black
956
+ backgroundColor: deepPurpleColorPalette['beige.1'],
957
+ borderColor: deepPurpleColorPalette['beige.4'],
958
+ color: deepPurpleColorPalette.black
1055
959
  },
1056
960
  focus: {
1057
- borderColor: lateOceanColorPalette['violine.9'],
1058
- color: lateOceanColorPalette.black
961
+ borderColor: deepPurpleColorPalette['deepPurple.8'],
962
+ color: deepPurpleColorPalette.black
1059
963
  },
1060
964
  disabled: {
1061
- backgroundColor: lateOceanColorPalette['eggshell.2'],
1062
- borderColor: lateOceanColorPalette['eggshell.4'],
1063
- color: lateOceanColorPalette['eggshell.6']
965
+ backgroundColor: deepPurpleColorPalette['grey.1'],
966
+ borderColor: deepPurpleColorPalette['grey.1'],
967
+ color: deepPurpleColorPalette['grey.3']
1064
968
  },
1065
969
  invalid: {
1066
- borderColor: lateOceanColorPalette['eggshell.3'],
1067
- color: lateOceanColorPalette.black
970
+ borderColor: deepPurpleColorPalette['beige.2'],
971
+ color: deepPurpleColorPalette.black
1068
972
  }
1069
973
  };
1070
974
  const webAnimationDuration = '200ms';
@@ -1073,11 +977,11 @@ const webAnimationProperties = ['border-color', 'background-color'];
1073
977
  const input = {
1074
978
  minHeight: 40,
1075
979
  color: {
1076
- selection: lateOceanColorPalette['violine.9'],
1077
- placeholder: lateOceanColorPalette['eggshell.9']
980
+ selection: deepPurpleColorPalette['deepPurple.8'],
981
+ placeholder: deepPurpleColorPalette['beige.6']
1078
982
  },
1079
983
  borderWidth: 1,
1080
- borderRadius: 8,
984
+ borderRadius: 4,
1081
985
  icon: {
1082
986
  size: 20
1083
987
  },
@@ -1114,7 +1018,7 @@ const inputTag = {
1114
1018
  labelColor: colors.uiBackgroundLight
1115
1019
  },
1116
1020
  default: {
1117
- backgroundColor: lateOceanColorPalette.black50,
1021
+ backgroundColor: deepPurpleColorPalette['beige.1'],
1118
1022
  labelColor: colors.black
1119
1023
  },
1120
1024
  borderRadius: 10,
@@ -1124,9 +1028,9 @@ const inputTag = {
1124
1028
  const radio = {
1125
1029
  size: 24,
1126
1030
  unchecked: {
1127
- borderWidth: 2,
1031
+ borderWidth: 1,
1128
1032
  backgroundColor: colors.uiBackgroundLight,
1129
- borderColor: lateOceanColorPalette.black200
1033
+ borderColor: deepPurpleColorPalette['beige.3']
1130
1034
  },
1131
1035
  checked: {
1132
1036
  backgroundColor: colors.primary,
@@ -1143,8 +1047,9 @@ const radio = {
1143
1047
  borderColor: colors.primary
1144
1048
  },
1145
1049
  disabled: {
1146
- backgroundColor: colors.disabled,
1147
- borderColor: colors.separator
1050
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1051
+ borderColor: colors.transparent,
1052
+ innerBackgroundColor: deepPurpleColorPalette['grey.1']
1148
1053
  },
1149
1054
  transition: {
1150
1055
  duration: '200ms',
@@ -1155,14 +1060,19 @@ const radio = {
1155
1060
  const radioButtonGroup = {
1156
1061
  item: {
1157
1062
  minHeight: 40,
1158
- borderWidth: 2,
1159
- borderRadius: 20,
1063
+ borderWidth: 1,
1064
+ borderRadius: 4,
1065
+ font: {
1066
+ color: {
1067
+ disabled: deepPurpleColorPalette['grey.3']
1068
+ }
1069
+ },
1160
1070
  borderColor: {
1161
1071
  default: colors.separator,
1162
1072
  hover: colors.primary,
1163
1073
  pressed: colors.primary,
1164
1074
  active: colors.primary,
1165
- disabled: colors.separator
1075
+ disabled: colors.disabled
1166
1076
  },
1167
1077
  backgroundColor: {
1168
1078
  default: colors.uiBackgroundLight,
@@ -1203,17 +1113,17 @@ const toggle = {
1203
1113
  medium: 50,
1204
1114
  large: 66
1205
1115
  },
1206
- labelColor: lateOceanColorPalette.black,
1116
+ labelColor: deepPurpleColorPalette.black,
1207
1117
  backgroundColor: {
1208
- checked: lateOceanColorPalette['violine.9'],
1209
- unchecked: lateOceanColorPalette['eggshell.4']
1118
+ checked: deepPurpleColorPalette['deepPurple.8'],
1119
+ unchecked: deepPurpleColorPalette['beige.3']
1210
1120
  },
1211
1121
  border: {
1212
1122
  color: 'transparent',
1213
1123
  width: 1
1214
1124
  },
1215
1125
  circle: {
1216
- backgroundColor: lateOceanColorPalette.white,
1126
+ backgroundColor: deepPurpleColorPalette.white,
1217
1127
  width: {
1218
1128
  medium: 18,
1219
1129
  large: 24
@@ -1241,17 +1151,17 @@ const toggle = {
1241
1151
  medium: 50,
1242
1152
  large: 66
1243
1153
  },
1244
- labelColor: lateOceanColorPalette.black,
1154
+ labelColor: deepPurpleColorPalette.black,
1245
1155
  backgroundColor: {
1246
- checked: lateOceanColorPalette['violine.8'],
1247
- unchecked: lateOceanColorPalette['eggshell.7']
1156
+ checked: deepPurpleColorPalette['deepPurple.7'],
1157
+ unchecked: deepPurpleColorPalette['beige.4']
1248
1158
  },
1249
1159
  border: {
1250
1160
  color: 'transparent',
1251
1161
  width: 1
1252
1162
  },
1253
1163
  circle: {
1254
- backgroundColor: lateOceanColorPalette.white,
1164
+ backgroundColor: deepPurpleColorPalette.white,
1255
1165
  width: {
1256
1166
  medium: 18,
1257
1167
  large: 24
@@ -1279,17 +1189,17 @@ const toggle = {
1279
1189
  medium: 50,
1280
1190
  large: 66
1281
1191
  },
1282
- labelColor: lateOceanColorPalette.black,
1192
+ labelColor: deepPurpleColorPalette.black,
1283
1193
  backgroundColor: {
1284
- checked: lateOceanColorPalette['violine.9'],
1285
- unchecked: lateOceanColorPalette['eggshell.4']
1194
+ checked: deepPurpleColorPalette['deepPurple.8'],
1195
+ unchecked: deepPurpleColorPalette['beige.3']
1286
1196
  },
1287
1197
  border: {
1288
- color: lateOceanColorPalette.white,
1198
+ color: deepPurpleColorPalette.white,
1289
1199
  width: 1
1290
1200
  },
1291
1201
  circle: {
1292
- backgroundColor: lateOceanColorPalette.white,
1202
+ backgroundColor: deepPurpleColorPalette.white,
1293
1203
  width: {
1294
1204
  medium: 18,
1295
1205
  large: 24
@@ -1304,7 +1214,7 @@ const toggle = {
1304
1214
  }
1305
1215
  },
1306
1216
  wrapperBorder: {
1307
- color: lateOceanColorPalette.black,
1217
+ color: deepPurpleColorPalette.black,
1308
1218
  width: 1
1309
1219
  }
1310
1220
  },
@@ -1317,17 +1227,17 @@ const toggle = {
1317
1227
  medium: 50,
1318
1228
  large: 66
1319
1229
  },
1320
- labelColor: lateOceanColorPalette.black,
1230
+ labelColor: deepPurpleColorPalette.black,
1321
1231
  backgroundColor: {
1322
- checked: lateOceanColorPalette['violine.9'],
1323
- unchecked: lateOceanColorPalette['eggshell.4']
1232
+ checked: deepPurpleColorPalette['deepPurple.8'],
1233
+ unchecked: deepPurpleColorPalette['beige.3']
1324
1234
  },
1325
1235
  border: {
1326
- color: lateOceanColorPalette.white,
1236
+ color: deepPurpleColorPalette.white,
1327
1237
  width: 1
1328
1238
  },
1329
1239
  circle: {
1330
- backgroundColor: lateOceanColorPalette.white,
1240
+ backgroundColor: deepPurpleColorPalette.white,
1331
1241
  width: {
1332
1242
  medium: 18,
1333
1243
  large: 24
@@ -1342,7 +1252,7 @@ const toggle = {
1342
1252
  }
1343
1253
  },
1344
1254
  wrapperBorder: {
1345
- color: lateOceanColorPalette.black,
1255
+ color: deepPurpleColorPalette.black,
1346
1256
  width: 1
1347
1257
  }
1348
1258
  }
@@ -1357,17 +1267,17 @@ const toggle = {
1357
1267
  medium: 50,
1358
1268
  large: 66
1359
1269
  },
1360
- labelColor: lateOceanColorPalette['eggshell.3'],
1270
+ labelColor: deepPurpleColorPalette['beige.2'],
1361
1271
  backgroundColor: {
1362
- checked: lateOceanColorPalette['eggshell.3'],
1363
- unchecked: lateOceanColorPalette['eggshell.3']
1272
+ checked: deepPurpleColorPalette['grey.1'],
1273
+ unchecked: deepPurpleColorPalette['grey.1']
1364
1274
  },
1365
1275
  border: {
1366
1276
  color: 'transparent',
1367
1277
  width: 1
1368
1278
  },
1369
1279
  circle: {
1370
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1280
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1371
1281
  width: {
1372
1282
  medium: 18,
1373
1283
  large: 24
@@ -1395,17 +1305,17 @@ const toggle = {
1395
1305
  medium: 50,
1396
1306
  large: 66
1397
1307
  },
1398
- labelColor: lateOceanColorPalette['eggshell.3'],
1308
+ labelColor: deepPurpleColorPalette['beige.2'],
1399
1309
  backgroundColor: {
1400
- checked: lateOceanColorPalette['eggshell.3'],
1401
- unchecked: lateOceanColorPalette['eggshell.3']
1310
+ checked: deepPurpleColorPalette['grey.1'],
1311
+ unchecked: deepPurpleColorPalette['grey.1']
1402
1312
  },
1403
1313
  border: {
1404
1314
  color: 'transparent',
1405
1315
  width: 1
1406
1316
  },
1407
1317
  circle: {
1408
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1318
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1409
1319
  width: {
1410
1320
  medium: 18,
1411
1321
  large: 24
@@ -1433,17 +1343,17 @@ const toggle = {
1433
1343
  medium: 50,
1434
1344
  large: 66
1435
1345
  },
1436
- labelColor: lateOceanColorPalette['eggshell.3'],
1346
+ labelColor: deepPurpleColorPalette['beige.2'],
1437
1347
  backgroundColor: {
1438
- checked: lateOceanColorPalette['eggshell.3'],
1439
- unchecked: lateOceanColorPalette['eggshell.3']
1348
+ checked: deepPurpleColorPalette['grey.1'],
1349
+ unchecked: deepPurpleColorPalette['grey.1']
1440
1350
  },
1441
1351
  border: {
1442
1352
  color: 'transparent',
1443
1353
  width: 1
1444
1354
  },
1445
1355
  circle: {
1446
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1356
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1447
1357
  width: {
1448
1358
  medium: 18,
1449
1359
  large: 24
@@ -1458,7 +1368,7 @@ const toggle = {
1458
1368
  }
1459
1369
  },
1460
1370
  wrapperBorder: {
1461
- color: lateOceanColorPalette.black,
1371
+ color: deepPurpleColorPalette.black,
1462
1372
  width: 1
1463
1373
  }
1464
1374
  },
@@ -1471,17 +1381,17 @@ const toggle = {
1471
1381
  medium: 50,
1472
1382
  large: 66
1473
1383
  },
1474
- labelColor: lateOceanColorPalette['eggshell.3'],
1384
+ labelColor: deepPurpleColorPalette['beige.2'],
1475
1385
  backgroundColor: {
1476
- checked: lateOceanColorPalette['eggshell.3'],
1477
- unchecked: lateOceanColorPalette['eggshell.3']
1386
+ checked: deepPurpleColorPalette['grey.1'],
1387
+ unchecked: deepPurpleColorPalette['grey.1']
1478
1388
  },
1479
1389
  border: {
1480
1390
  color: 'transparent',
1481
1391
  width: 1
1482
1392
  },
1483
1393
  circle: {
1484
- backgroundColor: lateOceanColorPalette['eggshell.5'],
1394
+ backgroundColor: deepPurpleColorPalette['grey.3'],
1485
1395
  width: {
1486
1396
  medium: 18,
1487
1397
  large: 24
@@ -1496,7 +1406,7 @@ const toggle = {
1496
1406
  }
1497
1407
  },
1498
1408
  wrapperBorder: {
1499
- color: lateOceanColorPalette.black,
1409
+ color: deepPurpleColorPalette.black,
1500
1410
  width: 1
1501
1411
  }
1502
1412
  }
@@ -1513,17 +1423,17 @@ const toggle = {
1513
1423
  medium: 50,
1514
1424
  large: 66
1515
1425
  },
1516
- labelColor: lateOceanColorPalette.white,
1426
+ labelColor: deepPurpleColorPalette.white,
1517
1427
  backgroundColor: {
1518
- checked: lateOceanColorPalette['violine.12'],
1519
- unchecked: lateOceanColorPalette['violine.4']
1428
+ checked: deepPurpleColorPalette['deepPurple.9'],
1429
+ unchecked: deepPurpleColorPalette['beige.3']
1520
1430
  },
1521
1431
  border: {
1522
1432
  color: 'transparent',
1523
1433
  width: 1
1524
1434
  },
1525
1435
  circle: {
1526
- backgroundColor: lateOceanColorPalette.white,
1436
+ backgroundColor: deepPurpleColorPalette.white,
1527
1437
  width: {
1528
1438
  medium: 18,
1529
1439
  large: 24
@@ -1551,17 +1461,17 @@ const toggle = {
1551
1461
  medium: 50,
1552
1462
  large: 66
1553
1463
  },
1554
- labelColor: lateOceanColorPalette.white,
1464
+ labelColor: deepPurpleColorPalette.white,
1555
1465
  backgroundColor: {
1556
- checked: lateOceanColorPalette['violine.12'],
1557
- unchecked: lateOceanColorPalette['violine.4']
1466
+ checked: deepPurpleColorPalette['deepPurple.9'],
1467
+ unchecked: deepPurpleColorPalette['beige.3']
1558
1468
  },
1559
1469
  border: {
1560
1470
  color: 'transparent',
1561
1471
  width: 1
1562
1472
  },
1563
1473
  circle: {
1564
- backgroundColor: lateOceanColorPalette.white,
1474
+ backgroundColor: deepPurpleColorPalette.white,
1565
1475
  width: {
1566
1476
  medium: 18,
1567
1477
  large: 24
@@ -1589,17 +1499,17 @@ const toggle = {
1589
1499
  medium: 50,
1590
1500
  large: 66
1591
1501
  },
1592
- labelColor: lateOceanColorPalette.white,
1502
+ labelColor: deepPurpleColorPalette.white,
1593
1503
  backgroundColor: {
1594
- checked: lateOceanColorPalette['violine.12'],
1595
- unchecked: lateOceanColorPalette['violine.4']
1504
+ checked: deepPurpleColorPalette['deepPurple.9'],
1505
+ unchecked: deepPurpleColorPalette['beige.3']
1596
1506
  },
1597
1507
  border: {
1598
- color: lateOceanColorPalette['violine.8'],
1508
+ color: deepPurpleColorPalette['deepPurple.7'],
1599
1509
  width: 1
1600
1510
  },
1601
1511
  circle: {
1602
- backgroundColor: lateOceanColorPalette.white,
1512
+ backgroundColor: deepPurpleColorPalette.white,
1603
1513
  width: {
1604
1514
  medium: 18,
1605
1515
  large: 24
@@ -1614,7 +1524,7 @@ const toggle = {
1614
1524
  }
1615
1525
  },
1616
1526
  wrapperBorder: {
1617
- color: lateOceanColorPalette.white,
1527
+ color: deepPurpleColorPalette.white,
1618
1528
  width: 1
1619
1529
  }
1620
1530
  },
@@ -1627,17 +1537,17 @@ const toggle = {
1627
1537
  medium: 50,
1628
1538
  large: 66
1629
1539
  },
1630
- labelColor: lateOceanColorPalette.white,
1540
+ labelColor: deepPurpleColorPalette.white,
1631
1541
  backgroundColor: {
1632
- checked: lateOceanColorPalette['violine.12'],
1633
- unchecked: lateOceanColorPalette['violine.4']
1542
+ checked: deepPurpleColorPalette['deepPurple.9'],
1543
+ unchecked: deepPurpleColorPalette['beige.3']
1634
1544
  },
1635
1545
  border: {
1636
- color: lateOceanColorPalette['violine.8'],
1546
+ color: deepPurpleColorPalette['deepPurple.7'],
1637
1547
  width: 1
1638
1548
  },
1639
1549
  circle: {
1640
- backgroundColor: lateOceanColorPalette.white,
1550
+ backgroundColor: deepPurpleColorPalette.white,
1641
1551
  width: {
1642
1552
  medium: 18,
1643
1553
  large: 24
@@ -1652,7 +1562,7 @@ const toggle = {
1652
1562
  }
1653
1563
  },
1654
1564
  wrapperBorder: {
1655
- color: lateOceanColorPalette.white,
1565
+ color: deepPurpleColorPalette.white,
1656
1566
  width: 1
1657
1567
  }
1658
1568
  }
@@ -1667,17 +1577,17 @@ const toggle = {
1667
1577
  medium: 50,
1668
1578
  large: 66
1669
1579
  },
1670
- labelColor: lateOceanColorPalette['violine.6'],
1580
+ labelColor: deepPurpleColorPalette['beige.5'],
1671
1581
  backgroundColor: {
1672
- checked: lateOceanColorPalette['violine.6'],
1673
- unchecked: lateOceanColorPalette['violine.6']
1582
+ checked: deepPurpleColorPalette['beige.5'],
1583
+ unchecked: deepPurpleColorPalette['beige.5']
1674
1584
  },
1675
1585
  border: {
1676
1586
  color: 'transparent',
1677
1587
  width: 1
1678
1588
  },
1679
1589
  circle: {
1680
- backgroundColor: lateOceanColorPalette['violine.8'],
1590
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1681
1591
  width: {
1682
1592
  medium: 18,
1683
1593
  large: 24
@@ -1705,17 +1615,17 @@ const toggle = {
1705
1615
  medium: 50,
1706
1616
  large: 66
1707
1617
  },
1708
- labelColor: lateOceanColorPalette['violine.6'],
1618
+ labelColor: deepPurpleColorPalette['beige.5'],
1709
1619
  backgroundColor: {
1710
- checked: lateOceanColorPalette['violine.6'],
1711
- unchecked: lateOceanColorPalette['violine.6']
1620
+ checked: deepPurpleColorPalette['beige.5'],
1621
+ unchecked: deepPurpleColorPalette['beige.5']
1712
1622
  },
1713
1623
  border: {
1714
1624
  color: 'transparent',
1715
1625
  width: 1
1716
1626
  },
1717
1627
  circle: {
1718
- backgroundColor: lateOceanColorPalette['violine.8'],
1628
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1719
1629
  width: {
1720
1630
  medium: 18,
1721
1631
  large: 24
@@ -1743,17 +1653,17 @@ const toggle = {
1743
1653
  medium: 50,
1744
1654
  large: 66
1745
1655
  },
1746
- labelColor: lateOceanColorPalette['violine.6'],
1656
+ labelColor: deepPurpleColorPalette['beige.5'],
1747
1657
  backgroundColor: {
1748
- checked: lateOceanColorPalette['violine.6'],
1749
- unchecked: lateOceanColorPalette['violine.6']
1658
+ checked: deepPurpleColorPalette['beige.5'],
1659
+ unchecked: deepPurpleColorPalette['beige.5']
1750
1660
  },
1751
1661
  border: {
1752
- color: lateOceanColorPalette['violine.8'],
1662
+ color: deepPurpleColorPalette['deepPurple.7'],
1753
1663
  width: 1
1754
1664
  },
1755
1665
  circle: {
1756
- backgroundColor: lateOceanColorPalette['violine.8'],
1666
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1757
1667
  width: {
1758
1668
  medium: 18,
1759
1669
  large: 24
@@ -1768,7 +1678,7 @@ const toggle = {
1768
1678
  }
1769
1679
  },
1770
1680
  wrapperBorder: {
1771
- color: lateOceanColorPalette.white,
1681
+ color: deepPurpleColorPalette.white,
1772
1682
  width: 1
1773
1683
  }
1774
1684
  },
@@ -1781,17 +1691,17 @@ const toggle = {
1781
1691
  medium: 50,
1782
1692
  large: 66
1783
1693
  },
1784
- labelColor: lateOceanColorPalette['violine.6'],
1694
+ labelColor: deepPurpleColorPalette['beige.5'],
1785
1695
  backgroundColor: {
1786
- checked: lateOceanColorPalette['violine.6'],
1787
- unchecked: lateOceanColorPalette['violine.6']
1696
+ checked: deepPurpleColorPalette['beige.5'],
1697
+ unchecked: deepPurpleColorPalette['beige.5']
1788
1698
  },
1789
1699
  border: {
1790
- color: lateOceanColorPalette['violine.8'],
1700
+ color: deepPurpleColorPalette['deepPurple.7'],
1791
1701
  width: 1
1792
1702
  },
1793
1703
  circle: {
1794
- backgroundColor: lateOceanColorPalette['violine.8'],
1704
+ backgroundColor: deepPurpleColorPalette['deepPurple.7'],
1795
1705
  width: {
1796
1706
  medium: 18,
1797
1707
  large: 24
@@ -1806,7 +1716,7 @@ const toggle = {
1806
1716
  }
1807
1717
  },
1808
1718
  wrapperBorder: {
1809
- color: lateOceanColorPalette.white,
1719
+ color: deepPurpleColorPalette.white,
1810
1720
  width: 1
1811
1721
  }
1812
1722
  }
@@ -1868,50 +1778,50 @@ const highlight = {
1868
1778
  },
1869
1779
  primary: {
1870
1780
  default: {
1871
- backgroundColor: lateOceanColorPalette['lavender.3']
1781
+ backgroundColor: deepPurpleColorPalette['beige.2']
1872
1782
  },
1873
1783
  hover: {
1874
- backgroundColor: lateOceanColorPalette['lavender.5']
1784
+ backgroundColor: deepPurpleColorPalette['beige.4']
1875
1785
  }
1876
1786
  },
1877
1787
  secondary: {
1878
1788
  default: {
1879
- backgroundColor: lateOceanColorPalette['violine.2']
1789
+ backgroundColor: deepPurpleColorPalette['beige.1']
1880
1790
  },
1881
1791
  hover: {
1882
- backgroundColor: lateOceanColorPalette['violine.4']
1792
+ backgroundColor: deepPurpleColorPalette['beige.3']
1883
1793
  }
1884
1794
  },
1885
1795
  ghost: {
1886
1796
  default: {
1887
- backgroundColor: lateOceanColorPalette.white
1797
+ backgroundColor: deepPurpleColorPalette.white
1888
1798
  },
1889
1799
  hover: {
1890
- backgroundColor: lateOceanColorPalette['eggshell.2']
1800
+ backgroundColor: deepPurpleColorPalette['beige.1']
1891
1801
  }
1892
1802
  },
1893
1803
  dark: {
1894
1804
  default: {
1895
- backgroundColor: lateOceanColorPalette['eggshell.3']
1805
+ backgroundColor: deepPurpleColorPalette['beige.2']
1896
1806
  },
1897
1807
  hover: {
1898
- backgroundColor: lateOceanColorPalette['eggshell.2']
1808
+ backgroundColor: deepPurpleColorPalette['beige.1']
1899
1809
  }
1900
1810
  },
1901
1811
  success: {
1902
1812
  default: {
1903
- backgroundColor: lateOceanColorPalette['green.3']
1813
+ backgroundColor: deepPurpleColorPalette['green.1']
1904
1814
  },
1905
1815
  hover: {
1906
- backgroundColor: lateOceanColorPalette['green.5']
1816
+ backgroundColor: deepPurpleColorPalette['green.2']
1907
1817
  }
1908
1818
  },
1909
1819
  warning: {
1910
1820
  default: {
1911
- backgroundColor: lateOceanColorPalette['sun.3']
1821
+ backgroundColor: deepPurpleColorPalette['yellow.1']
1912
1822
  },
1913
1823
  hover: {
1914
- backgroundColor: lateOceanColorPalette['sun.5']
1824
+ backgroundColor: deepPurpleColorPalette['yellow.2']
1915
1825
  }
1916
1826
  },
1917
1827
  padding: {
@@ -1951,14 +1861,6 @@ const icon = {
1951
1861
  header4: createTypographyIconSizeConfig(18, 24),
1952
1862
  // also known as xxsmall
1953
1863
  header5: createTypographyIconSizeConfig(18, 18),
1954
- 'header-impact-xxl': createTypographyIconSizeConfig(56, 56),
1955
- 'header-impact-xl': createTypographyIconSizeConfig(48, 48),
1956
- 'header-impact-l': createTypographyIconSizeConfig(40, 40),
1957
- 'header-impact-m': createTypographyIconSizeConfig(32, 32),
1958
- 'header-impact-s': createTypographyIconSizeConfig(24, 24),
1959
- 'header-impact-xs': createTypographyIconSizeConfig(18, 18),
1960
- 'header-impact-xxs': createTypographyIconSizeConfig(16, 16),
1961
- 'header-impact-xxxs': createTypographyIconSizeConfig(14, 14),
1962
1864
  'body-large': createTypographyIconSizeConfig(18, 24),
1963
1865
  'body-medium': createTypographyIconSizeConfig(18, 18),
1964
1866
  body: createTypographyIconSizeConfig(16, 16),
@@ -2003,7 +1905,7 @@ const iconButton = {
2003
1905
  pressedBackgroundColor: button.default.ghost.pressedBackgroundColor
2004
1906
  },
2005
1907
  primary: {
2006
- pressedBackgroundColor: lateOceanColorPalette.moonPurpleLight1
1908
+ pressedBackgroundColor: deepPurpleColorPalette['beige.1']
2007
1909
  },
2008
1910
  'primary-plain': {
2009
1911
  pressedBackgroundColor: colors.primaryLight,
@@ -2078,149 +1980,198 @@ const pageLoader = {
2078
1980
  }
2079
1981
  };
2080
1982
 
2081
- const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
2082
- /** @deprecated legacy typography type config is deprecated. */
2083
- const createLegacyTypographyTypeConfig = (lineHeightMultiplierBaseAndSmall, baseAndSmallFontSize, mediumAndWideFontSize = baseAndSmallFontSize, lineHeightMultiplierMediumAndWide = lineHeightMultiplierBaseAndSmall) => ({
2084
- baseAndSmall: {
2085
- fontSize: baseAndSmallFontSize,
2086
- lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplierBaseAndSmall)
2087
- },
2088
- mediumAndWide: {
2089
- fontSize: mediumAndWideFontSize,
2090
- lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplierMediumAndWide)
2091
- }
2092
- });
2093
- const createTypographyConfig = (fontSize, lineHeightMultiplier) => {
2094
- const config = {
2095
- fontSize,
2096
- lineHeight: calcLineHeight(fontSize, lineHeightMultiplier)
2097
- };
2098
- return {
2099
- baseAndSmall: config,
2100
- mediumAndWide: config
2101
- };
2102
- };
2103
1983
  const typography = {
2104
1984
  colors: {
2105
1985
  black: colors.black,
2106
1986
  'black-anthracite': colors.blackAnthracite,
2107
- 'black-disabled': lateOceanColorPalette.black400,
2108
- 'black-light': lateOceanColorPalette.black555,
1987
+ 'black-disabled': deepPurpleColorPalette['grey.3'],
1988
+ 'black-light': deepPurpleColorPalette['grey.5'],
2109
1989
  white: colors.white,
2110
1990
  'white-light': colors.white,
2111
1991
  primary: colors.primary,
2112
1992
  'primary-light': colors.primaryLight,
2113
1993
  accent: colors.accent,
2114
1994
  success: colors.success,
2115
- danger: lateOceanColorPalette['coral.9'],
1995
+ danger: deepPurpleColorPalette['red.6'],
2116
1996
  warning: colors.warning
2117
1997
  },
2118
1998
  types: {
2119
1999
  headings: {
2120
2000
  fontFamily: {
2121
2001
  native: {
2122
- regular: 'Moderat-Bold',
2123
- bold: 'Moderat-Bold'
2002
+ regular: 'GTStandardRegular',
2003
+ semibold: 'GTStandardSemibold',
2004
+ bold: 'GTStandardBold'
2124
2005
  },
2125
2006
  web: {
2126
- regular: 'Moderat',
2127
- bold: 'Moderat'
2007
+ regular: 'GTStandard',
2008
+ semibold: 'GTStandard',
2009
+ bold: 'GTStandard'
2128
2010
  }
2129
2011
  },
2130
2012
  fontWeight: {
2131
- regular: 400,
2013
+ regular: 500,
2014
+ semibold: 600,
2132
2015
  bold: 700
2133
2016
  },
2134
2017
  fontStyle: 'normal',
2135
2018
  configs: {
2136
- /* legacy */
2137
- header1: createLegacyTypographyTypeConfig(1.1, 40, 56),
2138
- header2: createLegacyTypographyTypeConfig(1.15, 32, 48, 1.1),
2139
- header3: createLegacyTypographyTypeConfig(1.15, 24, 40, 1.1),
2140
- header4: createLegacyTypographyTypeConfig(1.15, 18, 24, 1.2),
2141
- header5: createLegacyTypographyTypeConfig(1.15, 18, 18),
2142
- /* latest */
2143
- 'heading-xxl': createTypographyConfig(56, 1.1),
2144
- 'heading-xl': createTypographyConfig(48, 1.1),
2145
- 'heading-l': createTypographyConfig(40, 1.1),
2146
- 'heading-m': createTypographyConfig(32, 1.15),
2147
- 'heading-s': createTypographyConfig(24, 1.15),
2148
- 'heading-xs': createTypographyConfig(18, 1.15),
2149
- 'heading-xxs': createTypographyConfig(16, 1.15)
2019
+ 'heading-xxl': {
2020
+ fontSize: 56,
2021
+ lineHeight: 64,
2022
+ allowedFontWeights: ['semibold']
2023
+ },
2024
+ 'heading-xl': {
2025
+ fontSize: 48,
2026
+ lineHeight: 56,
2027
+ allowedFontWeights: ['semibold']
2028
+ },
2029
+ 'heading-l': {
2030
+ fontSize: 40,
2031
+ lineHeight: 48,
2032
+ allowedFontWeights: ['semibold']
2033
+ },
2034
+ 'heading-m': {
2035
+ fontSize: 28,
2036
+ lineHeight: 32,
2037
+ allowedFontWeights: ['semibold']
2038
+ },
2039
+ 'heading-s': {
2040
+ fontSize: 18,
2041
+ lineHeight: 20,
2042
+ allowedFontWeights: ['regular', 'bold']
2043
+ },
2044
+ 'heading-xs': {
2045
+ fontSize: 16,
2046
+ lineHeight: 18,
2047
+ allowedFontWeights: ['regular', 'bold']
2048
+ }
2150
2049
  }
2151
2050
  },
2152
- 'headings-impact': {
2051
+ bodies: {
2153
2052
  fontFamily: {
2154
2053
  native: {
2155
- regular: 'Transducer-Black',
2156
- bold: 'Transducer-Black'
2054
+ regular: 'GTStandardRegular',
2055
+ bold: 'GTStandardBold'
2157
2056
  },
2158
2057
  web: {
2159
- regular: 'TransducerBlack',
2160
- bold: 'TransducerBlack'
2058
+ regular: 'GTStandard',
2059
+ bold: 'GTStandard'
2161
2060
  }
2162
2061
  },
2163
- fontWeight: 600,
2164
- fontStyle: 'normal',
2062
+ fontWeight: {
2063
+ regular: 500,
2064
+ bold: 700
2065
+ },
2066
+ fontStyle: {
2067
+ regular: 'normal',
2068
+ bold: 'normal'
2069
+ },
2165
2070
  configs: {
2166
- /* legacy */
2167
- 'header-impact-xxl': createLegacyTypographyTypeConfig(1.1, 56, 56),
2168
- 'header-impact-xl': createLegacyTypographyTypeConfig(1.1, 48, 48),
2169
- 'header-impact-l': createLegacyTypographyTypeConfig(1.1, 40, 40),
2170
- 'header-impact-m': createLegacyTypographyTypeConfig(1.1, 32, 32),
2171
- 'header-impact-s': createLegacyTypographyTypeConfig(1.1, 24, 24),
2172
- 'header-impact-xs': createLegacyTypographyTypeConfig(1.1, 18, 18),
2173
- 'header-impact-xxs': createLegacyTypographyTypeConfig(1.1, 16, 16),
2174
- 'header-impact-xxxs': createLegacyTypographyTypeConfig(1.1, 14, 14),
2175
- /* latest */
2176
- 'heading-impact-xxl': createTypographyConfig(56, 1.1),
2177
- 'heading-impact-xl': createTypographyConfig(48, 1.1),
2178
- 'heading-impact-l': createTypographyConfig(40, 1.1),
2179
- 'heading-impact-m': createTypographyConfig(32, 1.1),
2180
- 'heading-impact-s': createTypographyConfig(24, 1.1),
2181
- 'heading-impact-xs': createTypographyConfig(18, 1.1),
2182
- 'heading-impact-xxs': createTypographyConfig(16, 1.1),
2183
- 'heading-impact-xxxs': createTypographyConfig(14, 1.1)
2071
+ 'body-xl': {
2072
+ fontSize: 24,
2073
+ lineHeight: 32,
2074
+ allowedFontWeights: ['regular', 'bold']
2075
+ },
2076
+ 'body-l': {
2077
+ fontSize: 18,
2078
+ lineHeight: 26,
2079
+ allowedFontWeights: ['regular', 'bold']
2080
+ },
2081
+ 'body-m': {
2082
+ fontSize: 16,
2083
+ lineHeight: 24,
2084
+ allowedFontWeights: ['regular', 'bold']
2085
+ },
2086
+ 'body-s': {
2087
+ fontSize: 14,
2088
+ lineHeight: 20,
2089
+ allowedFontWeights: ['regular', 'bold']
2090
+ },
2091
+ 'body-xs': {
2092
+ fontSize: 12,
2093
+ lineHeight: 16,
2094
+ allowedFontWeights: ['regular', 'bold']
2095
+ }
2184
2096
  }
2185
2097
  },
2186
- bodies: {
2098
+ labels: {
2187
2099
  fontFamily: {
2188
- web: {
2189
- regular: 'Moderat',
2190
- bold: 'Moderat'
2100
+ native: {
2101
+ semibold: 'GTStandardSemibold'
2191
2102
  },
2103
+ web: {
2104
+ semibold: 'GTStandard'
2105
+ }
2106
+ },
2107
+ fontWeight: {
2108
+ semibold: 600
2109
+ },
2110
+ fontStyle: 'normal',
2111
+ configs: {
2112
+ 'label-large': {
2113
+ fontSize: 16,
2114
+ lineHeight: 24,
2115
+ allowedFontWeights: ['semibold']
2116
+ },
2117
+ 'label-medium': {
2118
+ fontSize: 14,
2119
+ lineHeight: 20,
2120
+ allowedFontWeights: ['semibold']
2121
+ }
2122
+ }
2123
+ },
2124
+ contentCaps: {
2125
+ fontFamily: {
2192
2126
  native: {
2193
- regular: 'Moderat-Regular',
2194
- bold: 'Moderat-Bold'
2127
+ bold: 'GTStandardNarrowBold'
2128
+ },
2129
+ web: {
2130
+ bold: 'GTStandardNarrow'
2195
2131
  }
2196
2132
  },
2197
2133
  fontWeight: {
2198
- regular: 400,
2199
2134
  bold: 700
2200
2135
  },
2201
- fontStyle: {
2202
- regular: 'normal',
2203
- bold: 'normal'
2204
- },
2136
+ fontStyle: 'normal',
2205
2137
  configs: {
2206
- /* legacy */
2207
- 'body-large': createLegacyTypographyTypeConfig(1.3, 18, 24),
2208
- 'body-medium': createLegacyTypographyTypeConfig(1.3, 18, 18),
2209
- body: createLegacyTypographyTypeConfig(1.3, 16, 16),
2210
- 'body-small': createLegacyTypographyTypeConfig(1.15, 14, 14),
2211
- 'body-xsmall': createLegacyTypographyTypeConfig(1.15, 12, 12),
2212
- /* latest */
2213
- 'body-xl': createTypographyConfig(24, 1.3),
2214
- 'body-l': createTypographyConfig(18, 1.3),
2215
- 'body-m': createTypographyConfig(16, 1.3),
2216
- 'body-s': createTypographyConfig(14, 1.15),
2217
- 'body-xs': createTypographyConfig(12, 1.15)
2138
+ 'content-caps-xxxl': {
2139
+ fontSize: 40,
2140
+ lineHeight: 40,
2141
+ allowedFontWeights: ['bold']
2142
+ },
2143
+ 'content-caps-xxl': {
2144
+ fontSize: 32,
2145
+ lineHeight: 40,
2146
+ allowedFontWeights: ['bold']
2147
+ },
2148
+ 'content-caps-xl': {
2149
+ fontSize: 24,
2150
+ lineHeight: 28,
2151
+ allowedFontWeights: ['bold']
2152
+ },
2153
+ 'content-caps-l': {
2154
+ fontSize: 18,
2155
+ lineHeight: 20,
2156
+ allowedFontWeights: ['bold']
2157
+ },
2158
+ 'content-caps-m': {
2159
+ fontSize: 16,
2160
+ lineHeight: 18,
2161
+ allowedFontWeights: ['bold']
2162
+ },
2163
+ 'content-caps-s': {
2164
+ fontSize: 14,
2165
+ lineHeight: 16,
2166
+ allowedFontWeights: ['bold']
2167
+ },
2168
+ 'content-caps-xs': {
2169
+ fontSize: 12,
2170
+ lineHeight: 14,
2171
+ allowedFontWeights: ['bold']
2172
+ }
2218
2173
  }
2219
2174
  }
2220
- },
2221
- link: {
2222
- /** @deprecated not used in kitt anymore, use Typography instead */
2223
- disabledColor: colors.blackDisabled
2224
2175
  }
2225
2176
  };
2226
2177
 
@@ -2229,7 +2180,7 @@ const picker = {
2229
2180
  ios: {
2230
2181
  default: {
2231
2182
  fontFamily: typography.types.bodies.fontFamily.native.regular,
2232
- ...typography.types.bodies.configs.body.baseAndSmall,
2183
+ ...typography.types.bodies.configs['body-m'],
2233
2184
  fontSize: 16,
2234
2185
  color: typography.colors['black-light'],
2235
2186
  // 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)
@@ -2262,19 +2213,19 @@ const picker = {
2262
2213
  backgroundColor: colors.transparent
2263
2214
  },
2264
2215
  hovered: {
2265
- backgroundColor: lateOceanColorPalette.black50
2216
+ backgroundColor: deepPurpleColorPalette['beige.1']
2266
2217
  },
2267
2218
  focused: {
2268
- backgroundColor: lateOceanColorPalette.black50
2219
+ backgroundColor: deepPurpleColorPalette['beige.1']
2269
2220
  },
2270
2221
  selected: {
2271
- backgroundColor: lateOceanColorPalette.black50
2222
+ backgroundColor: deepPurpleColorPalette['beige.1']
2272
2223
  },
2273
2224
  highlighted: {
2274
- backgroundColor: lateOceanColorPalette.black50
2225
+ backgroundColor: deepPurpleColorPalette['beige.1']
2275
2226
  },
2276
2227
  pressed: {
2277
- backgroundColor: lateOceanColorPalette.black100
2228
+ backgroundColor: deepPurpleColorPalette['beige.2']
2278
2229
  }
2279
2230
  }
2280
2231
  },
@@ -2358,8 +2309,8 @@ const shadows = {
2358
2309
  }
2359
2310
  };
2360
2311
 
2361
- const skeletonBackgroundColor = lateOceanColorPalette.black100;
2362
- const skeletonFlareColor = lateOceanColorPalette.black200;
2312
+ const skeletonBackgroundColor = deepPurpleColorPalette['beige.2'];
2313
+ const skeletonFlareColor = deepPurpleColorPalette['beige.3'];
2363
2314
  const skeleton = {
2364
2315
  backgroundColor: skeletonBackgroundColor,
2365
2316
  flareColor: skeletonFlareColor,
@@ -2382,20 +2333,6 @@ const skeleton = {
2382
2333
 
2383
2334
  const tag = {
2384
2335
  borderRadius: 16,
2385
- variant: {
2386
- contrast: {
2387
- borderWidth: 0
2388
- },
2389
- fill: {
2390
- borderWidth: 0
2391
- },
2392
- outline: {
2393
- borderWidth: 1
2394
- },
2395
- subtle: {
2396
- borderWidth: 0
2397
- }
2398
- },
2399
2336
  icon: {
2400
2337
  small: 16,
2401
2338
  medium: 16,
@@ -2471,14 +2408,14 @@ const verticalSteps = {
2471
2408
  },
2472
2409
  done: {
2473
2410
  icon: {
2474
- backgroundColor: lateOceanColorPalette.moonPurple,
2475
- textColor: colors.primary
2411
+ backgroundColor: colors.primary,
2412
+ textColor: colors.white
2476
2413
  }
2477
2414
  },
2478
2415
  default: {
2479
2416
  icon: {
2480
2417
  backgroundColor: colors.disabled,
2481
- textColor: colors.blackDisabled
2418
+ textColor: deepPurpleColorPalette['grey.3']
2482
2419
  }
2483
2420
  }
2484
2421
  };
@@ -2512,7 +2449,7 @@ const theme = {
2512
2449
  getSpacing: multiplier => spacing * multiplier,
2513
2450
  colors,
2514
2451
  palettes: {
2515
- lateOcean: lateOceanColorPalette
2452
+ deepPurple: deepPurpleColorPalette
2516
2453
  },
2517
2454
  avatar,
2518
2455
  breakpoints,
@@ -2929,11 +2866,13 @@ function getTypographyColorValue(colorName) {
2929
2866
  return colorName;
2930
2867
  }
2931
2868
 
2932
- const isTypeHeadings = type => type.startsWith('header') || type.startsWith('heading');
2933
- const isTypeHeadingsImpact = type => type.startsWith('heading-impact') || type.startsWith('header-impact');
2869
+ const isTypeHeadings = type => type.startsWith('heading');
2870
+ const isTypeLabels = type => type.startsWith('label');
2871
+ const isTypeContentCaps = type => type.startsWith('content-caps');
2934
2872
  const getTypographyFamily = type => {
2935
- if (isTypeHeadingsImpact(type)) return 'headings-impact';
2936
2873
  if (isTypeHeadings(type)) return 'headings';
2874
+ if (isTypeLabels(type)) return 'labels';
2875
+ if (isTypeContentCaps(type)) return 'contentCaps';
2937
2876
  return 'bodies';
2938
2877
  };
2939
2878
  const getTypographyFamilyWithAncestorValue = (type, typographyFamilyInContext) => {
@@ -2955,9 +2894,6 @@ const TypographyDefaultColorContext = /*#__PURE__*/createContext(undefined);
2955
2894
  function useTypographyDefaultColor() {
2956
2895
  return useContext(TypographyDefaultColorContext);
2957
2896
  }
2958
- function getTypographyTypeConfigKeyFromTypeName(breakpointName) {
2959
- return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
2960
- }
2961
2897
 
2962
2898
  // TODO[native-base@>=3.4.19] this currently does not work. Retest when updating native-base.
2963
2899
  // & {
@@ -2974,11 +2910,88 @@ function createNativeBaseFontSize(type) {
2974
2910
  [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(typeName => {
2975
2911
  const value = typeWithMediumForced[typeName];
2976
2912
  if (value) {
2977
- fontSizeForNativeBase[typeName] = `${getTypographyTypeConfigKeyFromTypeName(typeName)}.${value}`;
2913
+ fontSizeForNativeBase[typeName] = value;
2978
2914
  }
2979
2915
  });
2980
2916
  return fontSizeForNativeBase;
2981
2917
  }
2918
+ function ThrowErrorIfInvalidVariant(variant, value, fontWeight) {
2919
+ if (process.env.NODE_ENV !== 'production' && variant && variant !== fontWeight) {
2920
+ throw new Error(`Invalid variant "${variant}" for value "${value}" only "${fontWeight}" is allowed.`);
2921
+ }
2922
+ }
2923
+ function getTypographyWeights(typographyFamily) {
2924
+ const boldTypoTypes = new Set();
2925
+ const semiboldTypoTypes = new Set();
2926
+ const regularTypoTypes = new Set();
2927
+ const typographyConfig = typography.types[typographyFamily].configs;
2928
+ Object.keys(typographyConfig).forEach(typographyType => {
2929
+ const {
2930
+ allowedFontWeights
2931
+ } = typographyConfig[typographyType];
2932
+ if (allowedFontWeights.includes('bold')) {
2933
+ boldTypoTypes.add(typographyType);
2934
+ }
2935
+ if (allowedFontWeights.includes('semibold')) {
2936
+ semiboldTypoTypes.add(typographyType);
2937
+ }
2938
+ if (allowedFontWeights.includes('regular')) {
2939
+ regularTypoTypes.add(typographyType);
2940
+ }
2941
+ });
2942
+ return {
2943
+ boldTypoTypes,
2944
+ semiboldTypoTypes,
2945
+ regularTypoTypes
2946
+ };
2947
+ }
2948
+ function getUniversalFontWeight(type, variant, typographyFamily) {
2949
+ const {
2950
+ boldTypoTypes,
2951
+ semiboldTypoTypes,
2952
+ regularTypoTypes
2953
+ } = getTypographyWeights(typographyFamily || 'bodies');
2954
+ const webFontWeight = {};
2955
+ const nativeFontFamily = {};
2956
+ const breakpoints = [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE];
2957
+ breakpoints.forEach(typeName => {
2958
+ const value = type[typeName];
2959
+ if (!value) return;
2960
+ const inBold = boldTypoTypes.has(value);
2961
+ const inSemi = semiboldTypoTypes.has(value);
2962
+ const inRegular = regularTypoTypes.has(value);
2963
+ const presenceCount = [inBold, inSemi, inRegular].filter(Boolean).length;
2964
+ let resolvedVariant;
2965
+ if (presenceCount > 1) {
2966
+ // if present in multiple weight
2967
+
2968
+ if (process.env.NODE_ENV !== 'production' && variant && !(variant === 'bold' && inBold || variant === 'semibold' && inSemi || variant === 'regular' && inRegular)) {
2969
+ throw new Error(`Invalid variant "${variant}" for value "${value}". Only ${inBold ? '"bold"' : ' '}${inSemi ? '"semibold"' : ' '}${inRegular ? '"regular"' : ' '}" is allowed.`);
2970
+ }
2971
+
2972
+ // always fallback on regular if no variant specified
2973
+ resolvedVariant = variant || 'regular';
2974
+ } else if (inBold) {
2975
+ // bold
2976
+ ThrowErrorIfInvalidVariant(variant, value, 'bold');
2977
+ resolvedVariant = 'bold';
2978
+ } else if (inSemi) {
2979
+ // semibold
2980
+ ThrowErrorIfInvalidVariant(variant, value, 'semibold');
2981
+ resolvedVariant = 'semibold';
2982
+ } else {
2983
+ // regular
2984
+ ThrowErrorIfInvalidVariant(variant, value, 'regular');
2985
+ resolvedVariant = 'regular';
2986
+ }
2987
+ webFontWeight[typeName] = resolvedVariant;
2988
+ nativeFontFamily[typeName] = `${typographyFamily}.${resolvedVariant}`;
2989
+ });
2990
+ return {
2991
+ webFontWeight,
2992
+ nativeFontFamily
2993
+ };
2994
+ }
2982
2995
  function Typography({
2983
2996
  accessibilityRole,
2984
2997
  base: legacyBase,
@@ -2995,21 +3008,26 @@ function Typography({
2995
3008
  },
2996
3009
  variant,
2997
3010
  color,
3011
+ underline,
2998
3012
  ...otherProps
2999
3013
  }) {
3000
3014
  const sx = useSx();
3001
3015
  const typographyFamilyInContext = useContext(TypographyFamilyContext);
3002
3016
  const defaultColor = useTypographyDefaultColor();
3003
3017
  const hasTypographyAncestor = typographyFamilyInContext !== null;
3004
- const baseOrDefaultToBody = hasTypographyAncestor ? type.base : type.base ?? 'body';
3018
+ const baseOrDefaultToBody = hasTypographyAncestor ? type.base : type.base ?? 'body-m';
3005
3019
  const typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
3006
-
3007
- // force bold for headings, default to regular for bodies
3008
- const nonNullableVariant = variant ?? (typographyFamily === 'headings' || typographyFamily === 'headings-impact' ? 'bold' : 'regular');
3009
3020
  const fontSizeForNativeBase = createNativeBaseFontSize({
3010
3021
  ...type,
3011
3022
  base: baseOrDefaultToBody
3012
3023
  });
3024
+ const {
3025
+ webFontWeight,
3026
+ nativeFontFamily
3027
+ } = getUniversalFontWeight({
3028
+ ...type,
3029
+ base: baseOrDefaultToBody
3030
+ }, variant, typographyFamily);
3013
3031
  const currentColor = !color && !hasTypographyAncestor ? defaultColor : color;
3014
3032
  const currentColorValue = getTypographyColorValue(currentColor);
3015
3033
  const colorStyles = sx({
@@ -3027,10 +3045,17 @@ function Typography({
3027
3045
  accessibilityRole: accessibilityRole || undefined,
3028
3046
  fontSize: fontSizeForNativeBase,
3029
3047
  lineHeight: hasTypographyAncestor ? undefined : fontSizeForNativeBase,
3030
- fontWeight: `${typographyFamily}.${nonNullableVariant}`,
3031
- fontFamily: `${typographyFamily}.${nonNullableVariant}`,
3048
+ fontWeight: webFontWeight,
3049
+ fontFamily: nativeFontFamily,
3050
+ borderBottomWidth: underline ? 1 : undefined,
3051
+ borderBottomColor: underline ? currentColorValue : undefined,
3052
+ textTransform: typographyFamily === 'contentCaps' ? 'uppercase' : undefined,
3032
3053
  ...colorStyles,
3033
- ...otherProps
3054
+ ...otherProps,
3055
+ // The property text-underline-offset is not on native.
3056
+ // To add an underline with an offset, we use a custom borderBottomWidth and color.
3057
+ // and we set underline to undefined to avoid a double underline
3058
+ underline: undefined
3034
3059
  });
3035
3060
  const content = baseOrDefaultToBody ? /*#__PURE__*/jsx(TypographyFamilyContext.Provider, {
3036
3061
  value: typographyFamily,
@@ -3080,17 +3105,6 @@ Typography.Header4 = createHeading(4);
3080
3105
  Typography.Header5 = createHeading(5);
3081
3106
  Typography.Header6 = createHeading(6);
3082
3107
 
3083
- /** @deprecated use Typography.Header1 */
3084
- Typography.h1 = createHeading(1, 'header1');
3085
- /** @deprecated use Typography.Header2 */
3086
- Typography.h2 = createHeading(2, 'header2');
3087
- /** @deprecated use Typography.Header3 */
3088
- Typography.h3 = createHeading(3, 'header3');
3089
- /** @deprecated use Typography.Header4 */
3090
- Typography.h4 = createHeading(4, 'header4');
3091
- /** @deprecated use Typography.Header6 */
3092
- Typography.h5 = createHeading(5, 'header5');
3093
-
3094
3108
  function ButtonBadge({
3095
3109
  withBadge,
3096
3110
  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
@@ -3814,7 +3828,7 @@ function AvatarContent({
3814
3828
  };
3815
3829
  if (firstname && lastname) {
3816
3830
  return /*#__PURE__*/jsx(Typography.Text, {
3817
- base: sizeVariant === 'large' ? 'body-large' : 'body-small',
3831
+ base: sizeVariant === 'large' ? 'body-l' : 'body-s',
3818
3832
  variant: sizeVariant === 'large' ? 'bold' : 'regular',
3819
3833
  color: getFontColor(),
3820
3834
  children: getInitials(firstname, lastname)
@@ -5086,7 +5100,7 @@ const InputText = /*#__PURE__*/forwardRef(({
5086
5100
  }, ref) => {
5087
5101
  const theme = useTheme();
5088
5102
  const fontSizeForNativeBase = createNativeBaseFontSize({
5089
- base: 'body'
5103
+ base: 'body-m'
5090
5104
  });
5091
5105
  const shouldHandleSingleLineOnIOS = Platform.OS === 'ios' && !multiline;
5092
5106
  return /*#__PURE__*/jsxs(InputTextContainer, {
@@ -6137,7 +6151,7 @@ function ModalTitle({
6137
6151
  }) {
6138
6152
  return /*#__PURE__*/jsx(CardModal.Header, {
6139
6153
  children: /*#__PURE__*/jsx(Typography.Text, {
6140
- base: "body",
6154
+ base: "body-m",
6141
6155
  variant: "bold",
6142
6156
  children: children
6143
6157
  })
@@ -6451,7 +6465,7 @@ function BottomSheetActionsItem({
6451
6465
  withPadding: true,
6452
6466
  children: /*#__PURE__*/jsx(Typography.Text, {
6453
6467
  variant: "bold",
6454
- base: "body",
6468
+ base: "body-m",
6455
6469
  children: title
6456
6470
  })
6457
6471
  })
@@ -7011,7 +7025,7 @@ function InputFeedback({
7011
7025
  children
7012
7026
  }) {
7013
7027
  return /*#__PURE__*/jsx(Typography.Text, {
7014
- base: "body-small",
7028
+ base: "body-s",
7015
7029
  color: getColorFromState(state),
7016
7030
  testID: testID,
7017
7031
  children: children
@@ -7172,7 +7186,7 @@ function InputTag({
7172
7186
  color: "black"
7173
7187
  })
7174
7188
  }) : null, /*#__PURE__*/jsx(Typography.Text, {
7175
- base: "body-small",
7189
+ base: "body-s",
7176
7190
  color: "black",
7177
7191
  children: children
7178
7192
  })]
@@ -7186,7 +7200,7 @@ function Label({
7186
7200
  }) {
7187
7201
  const isWeb = Platform.OS === 'web';
7188
7202
  return /*#__PURE__*/jsx(Typography.Text, {
7189
- base: "body",
7203
+ base: "body-m",
7190
7204
  id: isWeb ? undefined : id,
7191
7205
  children: isWeb ? /*#__PURE__*/jsx("label", {
7192
7206
  id: id,
@@ -7197,7 +7211,8 @@ function Label({
7197
7211
  }
7198
7212
 
7199
7213
  function InnerCircle({
7200
- isChecked
7214
+ isChecked,
7215
+ isDisabled
7201
7216
  }) {
7202
7217
  const theme = useTheme();
7203
7218
  const sharedTransform = [{
@@ -7207,7 +7222,7 @@ function InnerCircle({
7207
7222
  width: "kitt.forms.radio.innerCircle.size",
7208
7223
  height: "kitt.forms.radio.innerCircle.size",
7209
7224
  borderRadius: "kitt.forms.radio.innerCircle.borderRadius",
7210
- backgroundColor: "kitt.forms.radio.innerCircle.backgroundColor",
7225
+ backgroundColor: isDisabled ? 'kitt.forms.radio.disabled.innerBackgroundColor' : 'kitt.forms.radio.innerCircle.backgroundColor',
7211
7226
  _web: {
7212
7227
  style: {
7213
7228
  transform: `scale(${isChecked ? 1 : 0}))`,
@@ -7342,12 +7357,13 @@ function Radio({
7342
7357
  isFocused: isFocused,
7343
7358
  isPressed: isPressed,
7344
7359
  children: /*#__PURE__*/jsx(InnerCircle, {
7345
- isChecked: checked
7360
+ isChecked: checked,
7361
+ isDisabled: disabled
7346
7362
  })
7347
7363
  }), children ? /*#__PURE__*/jsx(Typography.SetDefaultColor, {
7348
7364
  value: disabled ? 'black-light' : 'black',
7349
7365
  children: /*#__PURE__*/jsx(Typography.Text, {
7350
- base: "body",
7366
+ base: "body-m",
7351
7367
  children: children
7352
7368
  })
7353
7369
  }) : null]
@@ -7469,7 +7485,7 @@ function getCurrentTextColor({
7469
7485
  isHovered,
7470
7486
  isFocused
7471
7487
  }) {
7472
- if (isDisabled) return 'black-light';
7488
+ if (isDisabled) return 'kitt.forms.radioButtonGroup.font.disabled.color';
7473
7489
  if (isSelected) return 'white';
7474
7490
  if (isPressed) return 'white';
7475
7491
  if (isFocused) return 'white';
@@ -7641,7 +7657,7 @@ const TextArea = /*#__PURE__*/forwardRef(({
7641
7657
  marginTop: "kitt.1",
7642
7658
  children: [helper ? /*#__PURE__*/jsx(Typography.Text, {
7643
7659
  base: "body-s",
7644
- color: lateOceanColorPalette['eggshell.10'],
7660
+ color: deepPurpleColorPalette['grey.5'],
7645
7661
  children: helper
7646
7662
  }) : null, shouldDisplayLimit ? /*#__PURE__*/jsx(Animated.View, {
7647
7663
  style: limitContainerAnimatedStyle,
@@ -7651,14 +7667,14 @@ const TextArea = /*#__PURE__*/forwardRef(({
7651
7667
  children: [/*#__PURE__*/jsxs(Typography.Text, {
7652
7668
  base: "body-xs",
7653
7669
  variant: "bold",
7654
- color: lateOceanColorPalette['eggshell.10'],
7670
+ color: deepPurpleColorPalette['grey.5'],
7655
7671
  children: [props.value?.length || 0, "/", limit]
7656
7672
  }), /*#__PURE__*/jsx(Animated.View, {
7657
7673
  style: checkIconAnimatedStyle,
7658
7674
  children: /*#__PURE__*/jsx(TypographyIcon, {
7659
7675
  icon: /*#__PURE__*/jsx(CheckCircleFillIcon, {}),
7660
7676
  size: 13,
7661
- color: lateOceanColorPalette['eggshell.10']
7677
+ color: deepPurpleColorPalette['grey.5']
7662
7678
  })
7663
7679
  })]
7664
7680
  })
@@ -7766,7 +7782,7 @@ function ToggleAnimated({
7766
7782
  }
7767
7783
 
7768
7784
  const getLabelTypographyType = size => {
7769
- return size === 'medium' ? 'body' : 'body-medium';
7785
+ return size === 'medium' ? 'body-m' : 'body-l';
7770
7786
  };
7771
7787
  function Toggle({
7772
7788
  isDisabled = false,
@@ -8333,7 +8349,7 @@ function Highlight({
8333
8349
  marginBottom: highlightStyle[size].marginBottom,
8334
8350
  children: /*#__PURE__*/jsx(Typography.Text, {
8335
8351
  variant: "bold",
8336
- base: "body",
8352
+ base: "body-m",
8337
8353
  ellipsizeMode: "clip",
8338
8354
  children: title
8339
8355
  })
@@ -8369,7 +8385,7 @@ function Highlight({
8369
8385
  width: "100%",
8370
8386
  children: /*#__PURE__*/jsx(Typography.Text, {
8371
8387
  variant: "bold",
8372
- base: "body",
8388
+ base: "body-m",
8373
8389
  ellipsizeMode: "clip",
8374
8390
  children: title
8375
8391
  })
@@ -8672,8 +8688,8 @@ function InfoCard({
8672
8688
  flexShrink: 1,
8673
8689
  flexBasis: "auto",
8674
8690
  children: /*#__PURE__*/jsx(Typography.Text, {
8675
- base: "body-small",
8676
- medium: "body",
8691
+ base: "body-s",
8692
+ medium: "body-m",
8677
8693
  style: {
8678
8694
  userSelect: 'none'
8679
8695
  },
@@ -8999,7 +9015,7 @@ function BaseMessage({
8999
9015
  flexGrow: 1,
9000
9016
  flexShrink: 1,
9001
9017
  textAlign: centeredText ? 'center' : 'left',
9002
- base: "body",
9018
+ base: "body-m",
9003
9019
  color: color,
9004
9020
  children: children
9005
9021
  })]
@@ -9282,6 +9298,11 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9282
9298
  item: {
9283
9299
  borderColor: theme.forms.radioButtonGroup.item.borderColor,
9284
9300
  backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor
9301
+ },
9302
+ font: {
9303
+ disabled: {
9304
+ color: theme.forms.radioButtonGroup.item.font.color.disabled
9305
+ }
9285
9306
  }
9286
9307
  },
9287
9308
  checkbox: {
@@ -9596,7 +9617,8 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9596
9617
  },
9597
9618
  disabled: {
9598
9619
  backgroundColor: theme.forms.radio.disabled.backgroundColor,
9599
- borderColor: theme.forms.radio.disabled.borderColor
9620
+ borderColor: theme.forms.radio.disabled.borderColor,
9621
+ innerBackgroundColor: theme.forms.radio.disabled.innerBackgroundColor
9600
9622
  },
9601
9623
  default: {
9602
9624
  backgroundColor: theme.forms.radio.unchecked.backgroundColor,
@@ -10151,22 +10173,6 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10151
10173
  },
10152
10174
  listItem: {
10153
10175
  borderWidth: theme.listItem.borderWidth
10154
- },
10155
- tag: {
10156
- variant: {
10157
- subtle: {
10158
- borderWidth: theme.tag.variant.subtle.borderWidth
10159
- },
10160
- fill: {
10161
- borderWidth: theme.tag.variant.fill.borderWidth
10162
- },
10163
- outline: {
10164
- borderWidth: theme.tag.variant.outline.borderWidth
10165
- },
10166
- contrast: {
10167
- borderWidth: theme.tag.variant.contrast.borderWidth
10168
- }
10169
- }
10170
10176
  }
10171
10177
  },
10172
10178
  app: appTheme?.borderWidths
@@ -10793,196 +10799,71 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10793
10799
  ...appBreakpoints
10794
10800
  },
10795
10801
  fontSizes: {
10796
- baseAndSmall: {
10797
- /* legacy */
10798
- header1: `${theme.typography.types.headings.configs.header1.baseAndSmall.fontSize}px`,
10799
- header2: `${theme.typography.types.headings.configs.header2.baseAndSmall.fontSize}px`,
10800
- header3: `${theme.typography.types.headings.configs.header3.baseAndSmall.fontSize}px`,
10801
- header4: `${theme.typography.types.headings.configs.header4.baseAndSmall.fontSize}px`,
10802
- header5: `${theme.typography.types.headings.configs.header5.baseAndSmall.fontSize}px`,
10803
- 'body-large': `${theme.typography.types.bodies.configs['body-large'].baseAndSmall.fontSize}px`,
10804
- 'body-medium': `${theme.typography.types.bodies.configs['body-medium'].baseAndSmall.fontSize}px`,
10805
- body: `${theme.typography.types.bodies.configs.body.baseAndSmall.fontSize}px`,
10806
- 'body-small': `${theme.typography.types.bodies.configs['body-small'].baseAndSmall.fontSize}px`,
10807
- 'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.fontSize}px`,
10808
- 'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.fontSize}px`,
10809
- 'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.fontSize}px`,
10810
- 'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.fontSize}px`,
10811
- 'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.fontSize}px`,
10812
- 'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.fontSize}px`,
10813
- 'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.fontSize}px`,
10814
- 'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.fontSize}px`,
10815
- 'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.fontSize}px`,
10816
- /* latest */
10817
- 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.fontSize}px`,
10818
- 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.fontSize}px`,
10819
- 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.fontSize}px`,
10820
- 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.fontSize}px`,
10821
- 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.fontSize}px`,
10822
- 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.fontSize}px`,
10823
- 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.fontSize}px`,
10824
- 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.fontSize}px`,
10825
- 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.fontSize}px`,
10826
- 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.fontSize}px`,
10827
- 'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.fontSize}px`,
10828
- 'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.fontSize}px`,
10829
- 'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.fontSize}px`,
10830
- 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.fontSize}px`,
10831
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.fontSize}px`,
10832
- 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.fontSize}px`,
10833
- 'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.fontSize}px`,
10834
- 'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.fontSize}px`,
10835
- 'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.fontSize}px`,
10836
- 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.fontSize}px`
10837
- },
10838
- mediumAndWide: {
10839
- /* legacy */
10840
- header1: `${theme.typography.types.headings.configs.header1.mediumAndWide.fontSize}px`,
10841
- header2: `${theme.typography.types.headings.configs.header2.mediumAndWide.fontSize}px`,
10842
- header3: `${theme.typography.types.headings.configs.header3.mediumAndWide.fontSize}px`,
10843
- header4: `${theme.typography.types.headings.configs.header4.mediumAndWide.fontSize}px`,
10844
- header5: `${theme.typography.types.headings.configs.header5.mediumAndWide.fontSize}px`,
10845
- 'body-large': `${theme.typography.types.bodies.configs['body-large'].mediumAndWide.fontSize}px`,
10846
- 'body-medium': `${theme.typography.types.bodies.configs['body-medium'].mediumAndWide.fontSize}px`,
10847
- body: `${theme.typography.types.bodies.configs.body.mediumAndWide.fontSize}px`,
10848
- 'body-small': `${theme.typography.types.bodies.configs['body-small'].mediumAndWide.fontSize}px`,
10849
- 'body-xsmall': `${theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.fontSize}px`,
10850
- 'header-impact-xxl': `${theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.fontSize}px`,
10851
- 'header-impact-xl': `${theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.fontSize}px`,
10852
- 'header-impact-l': `${theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.fontSize}px`,
10853
- 'header-impact-m': `${theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.fontSize}px`,
10854
- 'header-impact-s': `${theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.fontSize}px`,
10855
- 'header-impact-xs': `${theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.fontSize}px`,
10856
- 'header-impact-xxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.fontSize}px`,
10857
- 'header-impact-xxxs': `${theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.fontSize}px`,
10858
- /* latest */
10859
- 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.fontSize}px`,
10860
- 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.fontSize}px`,
10861
- 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.fontSize}px`,
10862
- 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.fontSize}px`,
10863
- 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.fontSize}px`,
10864
- 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.fontSize}px`,
10865
- 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.fontSize}px`,
10866
- 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.fontSize}px`,
10867
- 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.fontSize}px`,
10868
- 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.fontSize}px`,
10869
- 'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.fontSize}px`,
10870
- 'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.fontSize}px`,
10871
- 'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.fontSize}px`,
10872
- 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.fontSize}px`,
10873
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.fontSize}px`,
10874
- 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.fontSize}px`,
10875
- 'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.fontSize}px`,
10876
- 'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.fontSize}px`,
10877
- 'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.fontSize}px`,
10878
- 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.fontSize}px`
10879
- }
10802
+ 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].fontSize}px`,
10803
+ 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].fontSize}px`,
10804
+ 'heading-l': `${theme.typography.types.headings.configs['heading-l'].fontSize}px`,
10805
+ 'heading-m': `${theme.typography.types.headings.configs['heading-m'].fontSize}px`,
10806
+ 'heading-s': `${theme.typography.types.headings.configs['heading-s'].fontSize}px`,
10807
+ 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].fontSize}px`,
10808
+ 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].fontSize}px`,
10809
+ 'body-l': `${theme.typography.types.bodies.configs['body-l'].fontSize}px`,
10810
+ 'body-m': `${theme.typography.types.bodies.configs['body-m'].fontSize}px`,
10811
+ 'body-s': `${theme.typography.types.bodies.configs['body-s'].fontSize}px`,
10812
+ 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].fontSize}px`,
10813
+ 'label-large': `${theme.typography.types.labels.configs['label-large'].fontSize}px`,
10814
+ 'label-medium': `${theme.typography.types.labels.configs['label-medium'].fontSize}px`,
10815
+ 'content-caps-xxxl': `${theme.typography.types.contentCaps.configs['content-caps-xxxl'].fontSize}px`,
10816
+ 'content-caps-xxl': `${theme.typography.types.contentCaps.configs['content-caps-xxl'].fontSize}px`,
10817
+ 'content-caps-xl': `${theme.typography.types.contentCaps.configs['content-caps-xl'].fontSize}px`,
10818
+ 'content-caps-l': `${theme.typography.types.contentCaps.configs['content-caps-l'].fontSize}px`,
10819
+ 'content-caps-m': `${theme.typography.types.contentCaps.configs['content-caps-m'].fontSize}px`,
10820
+ 'content-caps-s': `${theme.typography.types.contentCaps.configs['content-caps-s'].fontSize}px`,
10821
+ 'content-caps-xs': `${theme.typography.types.contentCaps.configs['content-caps-xs'].fontSize}px`
10880
10822
  },
10881
10823
  lineHeights: {
10882
- baseAndSmall: {
10883
- /* legacy */
10884
- header1: theme.typography.types.headings.configs.header1.baseAndSmall.lineHeight,
10885
- header2: theme.typography.types.headings.configs.header2.baseAndSmall.lineHeight,
10886
- header3: theme.typography.types.headings.configs.header3.baseAndSmall.lineHeight,
10887
- header4: theme.typography.types.headings.configs.header4.baseAndSmall.lineHeight,
10888
- header5: theme.typography.types.headings.configs.header5.baseAndSmall.lineHeight,
10889
- 'body-large': theme.typography.types.bodies.configs['body-large'].baseAndSmall.lineHeight,
10890
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].baseAndSmall.lineHeight,
10891
- body: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight,
10892
- 'body-small': theme.typography.types.bodies.configs['body-small'].baseAndSmall.lineHeight,
10893
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].baseAndSmall.lineHeight,
10894
- 'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].baseAndSmall.lineHeight,
10895
- 'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].baseAndSmall.lineHeight,
10896
- 'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].baseAndSmall.lineHeight,
10897
- 'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].baseAndSmall.lineHeight,
10898
- 'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].baseAndSmall.lineHeight,
10899
- 'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].baseAndSmall.lineHeight,
10900
- 'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].baseAndSmall.lineHeight,
10901
- 'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].baseAndSmall.lineHeight,
10902
- /* latest */
10903
- 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].baseAndSmall.lineHeight}px`,
10904
- 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].baseAndSmall.lineHeight}px`,
10905
- 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].baseAndSmall.lineHeight}px`,
10906
- 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].baseAndSmall.lineHeight}px`,
10907
- 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].baseAndSmall.lineHeight}px`,
10908
- 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].baseAndSmall.lineHeight}px`,
10909
- 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].baseAndSmall.lineHeight}px`,
10910
- 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].baseAndSmall.lineHeight}px`,
10911
- 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].baseAndSmall.lineHeight}px`,
10912
- 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].baseAndSmall.lineHeight}px`,
10913
- 'heading-l': `${theme.typography.types.headings.configs['heading-l'].baseAndSmall.lineHeight}px`,
10914
- 'heading-m': `${theme.typography.types.headings.configs['heading-m'].baseAndSmall.lineHeight}px`,
10915
- 'heading-s': `${theme.typography.types.headings.configs['heading-s'].baseAndSmall.lineHeight}px`,
10916
- 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].baseAndSmall.lineHeight}px`,
10917
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].baseAndSmall.lineHeight}px`,
10918
- 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].baseAndSmall.lineHeight}px`,
10919
- 'body-l': `${theme.typography.types.bodies.configs['body-l'].baseAndSmall.lineHeight}px`,
10920
- 'body-m': `${theme.typography.types.bodies.configs['body-m'].baseAndSmall.lineHeight}px`,
10921
- 'body-s': `${theme.typography.types.bodies.configs['body-s'].baseAndSmall.lineHeight}px`,
10922
- 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].baseAndSmall.lineHeight}px`
10923
- },
10924
- mediumAndWide: {
10925
- /* legacy */
10926
- header1: theme.typography.types.headings.configs.header1.mediumAndWide.lineHeight,
10927
- header2: theme.typography.types.headings.configs.header2.mediumAndWide.lineHeight,
10928
- header3: theme.typography.types.headings.configs.header3.mediumAndWide.lineHeight,
10929
- header4: theme.typography.types.headings.configs.header4.mediumAndWide.lineHeight,
10930
- header5: theme.typography.types.headings.configs.header5.mediumAndWide.lineHeight,
10931
- 'body-large': theme.typography.types.bodies.configs['body-large'].mediumAndWide.lineHeight,
10932
- 'body-medium': theme.typography.types.bodies.configs['body-medium'].mediumAndWide.lineHeight,
10933
- body: theme.typography.types.bodies.configs.body.mediumAndWide.lineHeight,
10934
- 'body-small': theme.typography.types.bodies.configs['body-small'].mediumAndWide.lineHeight,
10935
- 'body-xsmall': theme.typography.types.bodies.configs['body-xsmall'].mediumAndWide.lineHeight,
10936
- 'header-impact-xxl': theme.typography.types['headings-impact'].configs['header-impact-xxl'].mediumAndWide.lineHeight,
10937
- 'header-impact-xl': theme.typography.types['headings-impact'].configs['header-impact-xl'].mediumAndWide.lineHeight,
10938
- 'header-impact-l': theme.typography.types['headings-impact'].configs['header-impact-l'].mediumAndWide.lineHeight,
10939
- 'header-impact-m': theme.typography.types['headings-impact'].configs['header-impact-m'].mediumAndWide.lineHeight,
10940
- 'header-impact-s': theme.typography.types['headings-impact'].configs['header-impact-s'].mediumAndWide.lineHeight,
10941
- 'header-impact-xs': theme.typography.types['headings-impact'].configs['header-impact-xs'].mediumAndWide.lineHeight,
10942
- 'header-impact-xxs': theme.typography.types['headings-impact'].configs['header-impact-xxs'].mediumAndWide.lineHeight,
10943
- 'header-impact-xxxs': theme.typography.types['headings-impact'].configs['header-impact-xxxs'].mediumAndWide.lineHeight,
10944
- /* latest */
10945
- 'heading-impact-xxl': `${theme.typography.types['headings-impact'].configs['heading-impact-xxl'].mediumAndWide.lineHeight}px`,
10946
- 'heading-impact-xl': `${theme.typography.types['headings-impact'].configs['heading-impact-xl'].mediumAndWide.lineHeight}px`,
10947
- 'heading-impact-l': `${theme.typography.types['headings-impact'].configs['heading-impact-l'].mediumAndWide.lineHeight}px`,
10948
- 'heading-impact-m': `${theme.typography.types['headings-impact'].configs['heading-impact-m'].mediumAndWide.lineHeight}px`,
10949
- 'heading-impact-s': `${theme.typography.types['headings-impact'].configs['heading-impact-s'].mediumAndWide.lineHeight}px`,
10950
- 'heading-impact-xs': `${theme.typography.types['headings-impact'].configs['heading-impact-xs'].mediumAndWide.lineHeight}px`,
10951
- 'heading-impact-xxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxs'].mediumAndWide.lineHeight}px`,
10952
- 'heading-impact-xxxs': `${theme.typography.types['headings-impact'].configs['heading-impact-xxxs'].mediumAndWide.lineHeight}px`,
10953
- 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].mediumAndWide.lineHeight}px`,
10954
- 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].mediumAndWide.lineHeight}px`,
10955
- 'heading-l': `${theme.typography.types.headings.configs['heading-l'].mediumAndWide.lineHeight}px`,
10956
- 'heading-m': `${theme.typography.types.headings.configs['heading-m'].mediumAndWide.lineHeight}px`,
10957
- 'heading-s': `${theme.typography.types.headings.configs['heading-s'].mediumAndWide.lineHeight}px`,
10958
- 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].mediumAndWide.lineHeight}px`,
10959
- 'heading-xxs': `${theme.typography.types.headings.configs['heading-xxs'].mediumAndWide.lineHeight}px`,
10960
- 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].mediumAndWide.lineHeight}px`,
10961
- 'body-l': `${theme.typography.types.bodies.configs['body-l'].mediumAndWide.lineHeight}px`,
10962
- 'body-m': `${theme.typography.types.bodies.configs['body-m'].mediumAndWide.lineHeight}px`,
10963
- 'body-s': `${theme.typography.types.bodies.configs['body-s'].mediumAndWide.lineHeight}px`,
10964
- 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].mediumAndWide.lineHeight}px`
10965
- }
10824
+ 'heading-xxl': `${theme.typography.types.headings.configs['heading-xxl'].lineHeight}px`,
10825
+ 'heading-xl': `${theme.typography.types.headings.configs['heading-xl'].lineHeight}px`,
10826
+ 'heading-l': `${theme.typography.types.headings.configs['heading-l'].lineHeight}px`,
10827
+ 'heading-m': `${theme.typography.types.headings.configs['heading-m'].lineHeight}px`,
10828
+ 'heading-s': `${theme.typography.types.headings.configs['heading-s'].lineHeight}px`,
10829
+ 'heading-xs': `${theme.typography.types.headings.configs['heading-xs'].lineHeight}px`,
10830
+ 'body-xl': `${theme.typography.types.bodies.configs['body-xl'].lineHeight}px`,
10831
+ 'body-l': `${theme.typography.types.bodies.configs['body-l'].lineHeight}px`,
10832
+ 'body-m': `${theme.typography.types.bodies.configs['body-m'].lineHeight}px`,
10833
+ 'body-s': `${theme.typography.types.bodies.configs['body-s'].lineHeight}px`,
10834
+ 'body-xs': `${theme.typography.types.bodies.configs['body-xs'].lineHeight}px`,
10835
+ 'label-large': `${theme.typography.types.labels.configs['label-large'].lineHeight}px`,
10836
+ 'label-medium': `${theme.typography.types.labels.configs['label-medium'].lineHeight}px`,
10837
+ 'content-caps-xxxl': `${theme.typography.types.contentCaps.configs['content-caps-xxxl'].lineHeight}px`,
10838
+ 'content-caps-xxl': `${theme.typography.types.contentCaps.configs['content-caps-xxl'].lineHeight}px`,
10839
+ 'content-caps-xl': `${theme.typography.types.contentCaps.configs['content-caps-xl'].lineHeight}px`,
10840
+ 'content-caps-l': `${theme.typography.types.contentCaps.configs['content-caps-l'].lineHeight}px`,
10841
+ 'content-caps-m': `${theme.typography.types.contentCaps.configs['content-caps-m'].lineHeight}px`,
10842
+ 'content-caps-s': `${theme.typography.types.contentCaps.configs['content-caps-s'].lineHeight}px`,
10843
+ 'content-caps-xs': `${theme.typography.types.contentCaps.configs['content-caps-xs'].lineHeight}px`
10966
10844
  },
10967
10845
  fontWeights: {
10968
10846
  headings: {
10969
10847
  regular: theme.typography.types.headings.fontWeight.regular,
10970
10848
  bold: theme.typography.types.headings.fontWeight.bold
10971
10849
  },
10972
- 'headings-impact': {
10973
- regular: theme.typography.types['headings-impact'].fontWeight,
10974
- bold: theme.typography.types['headings-impact'].fontWeight
10975
- },
10976
10850
  bodies: {
10977
10851
  regular: theme.typography.types.bodies.fontWeight.regular,
10978
10852
  // 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
10979
10853
  bold: Platform.OS === 'android' ? 400 : theme.typography.types.bodies.fontWeight.bold
10854
+ },
10855
+ labels: {
10856
+ semibold: theme.typography.types.labels.fontWeight.semibold
10857
+ },
10858
+ contentCaps: {
10859
+ bold: theme.typography.types.contentCaps.fontWeight.bold
10980
10860
  }
10981
10861
  },
10982
10862
  fonts: {
10983
10863
  headings: Platform.OS === 'web' ? theme.typography.types.headings.fontFamily.web : theme.typography.types.headings.fontFamily.native,
10984
- 'headings-impact': Platform.OS === 'web' ? theme.typography.types['headings-impact'].fontFamily.web : theme.typography.types['headings-impact'].fontFamily.native,
10985
- bodies: Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily.native
10864
+ bodies: Platform.OS === 'web' ? theme.typography.types.bodies.fontFamily.web : theme.typography.types.bodies.fontFamily.native,
10865
+ labels: Platform.OS === 'web' ? theme.typography.types.labels.fontFamily.web : theme.typography.types.labels.fontFamily.native,
10866
+ contentCaps: Platform.OS === 'web' ? theme.typography.types.contentCaps.fontFamily.web : theme.typography.types.contentCaps.fontFamily.native
10986
10867
  },
10987
10868
  shadows: {
10988
10869
  kitt: {
@@ -11477,7 +11358,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11477
11358
  _disabled: {
11478
11359
  placeholderTextColor: theme.forms.input.states.disabled.color,
11479
11360
  color: theme.forms.input.states.disabled.color,
11480
- borderColor: theme.forms.input.states.disabled.borderColor,
11361
+ borderColor: theme.forms.input.states.disabled.backgroundColor,
11481
11362
  bg: theme.forms.input.states.disabled.backgroundColor
11482
11363
  }
11483
11364
  }
@@ -11507,7 +11388,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
11507
11388
  fontStyle: theme.typography.types.bodies.fontStyle.regular,
11508
11389
  fontWeight: theme.typography.types.bodies.fontWeight.regular,
11509
11390
  fontSize: undefined,
11510
- lineHeight: theme.typography.types.bodies.configs.body.baseAndSmall.lineHeight
11391
+ lineHeight: theme.typography.types.bodies.configs['body-m'].lineHeight
11511
11392
  }
11512
11393
  }
11513
11394
  }
@@ -11921,7 +11802,7 @@ function PickerOption({
11921
11802
  }) {
11922
11803
  return /*#__PURE__*/jsx(Typography.Text, {
11923
11804
  testID: testID,
11924
- base: "body",
11805
+ base: "body-m",
11925
11806
  children: typeof children === 'function' ? children({
11926
11807
  isHighlighted,
11927
11808
  isSelected
@@ -12061,7 +11942,7 @@ function Picker({
12061
11942
  onPress: handleClose
12062
11943
  }),
12063
11944
  children: /*#__PURE__*/jsx(Typography.Text, {
12064
- base: "body",
11945
+ base: "body-m",
12065
11946
  variant: "bold",
12066
11947
  children: title
12067
11948
  })
@@ -12152,8 +12033,9 @@ function SegmentedProgressBar({
12152
12033
  colorVariant = 'primary',
12153
12034
  withCurrentInProgress
12154
12035
  }) {
12036
+ const kittTheme = useKittTheme();
12155
12037
  const height = size === 'small' ? 'kitt.2' : 'kitt.4';
12156
- const fillColor = colorVariant === 'validated' ? 'kitt.palettes.lateOcean.viride' : 'kitt.palettes.lateOcean.lateOceanLight1';
12038
+ const fillColor = colorVariant === 'validated' ? kittTheme.kitt.palettes.deepPurple['green.6'] : kittTheme.kitt.palettes.deepPurple['deepPurple.8'];
12157
12039
  const steps = [...Array.from({
12158
12040
  length: stepsCount
12159
12041
  }).keys()];
@@ -12164,13 +12046,13 @@ function SegmentedProgressBar({
12164
12046
  overflow: "hidden",
12165
12047
  children: steps.map(stepNumber => {
12166
12048
  const isSegmentCurrentInProgress = withCurrentInProgress && stepNumber === currentStep - 1;
12167
- const color = stepNumber < currentStep ? fillColor : 'kitt.palettes.lateOcean.black50';
12049
+ const color = stepNumber < currentStep ? fillColor : kittTheme.kitt.palettes.deepPurple['beige.1'];
12168
12050
  return /*#__PURE__*/jsx(View$1, {
12169
12051
  height: "100%",
12170
12052
  flexGrow: 1,
12171
12053
  flexShrink: 1,
12172
12054
  flexBasis: 0,
12173
- backgroundColor: isSegmentCurrentInProgress ? 'kitt.palettes.lateOcean.lateOceanLight3' : color,
12055
+ backgroundColor: isSegmentCurrentInProgress ? kittTheme.kitt.palettes.deepPurple['deepPurple.5'] : color,
12174
12056
  borderRadius: 2,
12175
12057
  overflow: "hidden",
12176
12058
  alignItems: "center",
@@ -12531,9 +12413,9 @@ const getBackgroundColorFromBlockColor = (theme, color = 'transparent') => {
12531
12413
  case 'white':
12532
12414
  return '#ffffff';
12533
12415
  case 'light':
12534
- return theme.kitt.palettes.lateOcean['eggshell.2'];
12416
+ return theme.kitt.palettes.deepPurple['beige.1'];
12535
12417
  case 'primary':
12536
- return theme.kitt.palettes.lateOcean['violine.9'];
12418
+ return theme.kitt.palettes.deepPurple['deepPurple.8'];
12537
12419
  default:
12538
12420
  return 'transparent';
12539
12421
  }
@@ -12583,8 +12465,7 @@ function StoryTitle({
12583
12465
  return /*#__PURE__*/jsx(View, {
12584
12466
  marginBottom: 30,
12585
12467
  children: /*#__PURE__*/jsx(Typography.Header1, {
12586
- variant: "bold",
12587
- base: "header1",
12468
+ base: "heading-xl",
12588
12469
  color: useStoryBlockColor(color),
12589
12470
  numberOfLines: numberOfLines,
12590
12471
  children: children
@@ -12599,8 +12480,7 @@ function StoryTitleLevel2({
12599
12480
  return /*#__PURE__*/jsx(View, {
12600
12481
  marginBottom: 30,
12601
12482
  children: /*#__PURE__*/jsx(Typography.Header2, {
12602
- variant: "bold",
12603
- base: "header2",
12483
+ base: "heading-l",
12604
12484
  color: useStoryBlockColor(color),
12605
12485
  numberOfLines: numberOfLines,
12606
12486
  children: children
@@ -12616,9 +12496,7 @@ function StoryTitleLevel3({
12616
12496
  return /*#__PURE__*/jsx(View, {
12617
12497
  marginBottom: 10,
12618
12498
  children: /*#__PURE__*/jsx(Typography.Header3, {
12619
- variant: "bold",
12620
- base: "header3",
12621
- medium: "header4",
12499
+ base: "heading-m",
12622
12500
  color: useStoryBlockColor(color),
12623
12501
  numberOfLines: numberOfLines,
12624
12502
  children: children
@@ -12634,9 +12512,7 @@ function StoryTitleLevel4({
12634
12512
  return /*#__PURE__*/jsx(View, {
12635
12513
  marginBottom: 10,
12636
12514
  children: /*#__PURE__*/jsx(Typography.Header4, {
12637
- variant: "bold",
12638
- base: "header4",
12639
- medium: "header5",
12515
+ base: "heading-s",
12640
12516
  color: useStoryBlockColor(color),
12641
12517
  numberOfLines: numberOfLines,
12642
12518
  children: children
@@ -12828,15 +12704,15 @@ function useTabBarItemColor(color, isActive) {
12828
12704
  switch (color) {
12829
12705
  case 'black':
12830
12706
  {
12831
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12707
+ return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
12832
12708
  }
12833
12709
  case 'white':
12834
12710
  {
12835
- return kittTheme.palettes.lateOcean.white;
12711
+ return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple['white-alpha.80'];
12836
12712
  }
12837
12713
  default:
12838
12714
  {
12839
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12715
+ return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
12840
12716
  }
12841
12717
  }
12842
12718
  }
@@ -12847,15 +12723,15 @@ function useTabBarIndicatorColor(color, isActive) {
12847
12723
  switch (color) {
12848
12724
  case 'black':
12849
12725
  {
12850
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean.transparent;
12726
+ return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
12851
12727
  }
12852
12728
  case 'white':
12853
12729
  {
12854
- return isActive ? kittTheme.palettes.lateOcean.white : kittTheme.palettes.lateOcean.transparent;
12730
+ return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple.transparent;
12855
12731
  }
12856
12732
  default:
12857
12733
  {
12858
- return isActive ? kittTheme.palettes.lateOcean.black : kittTheme.palettes.lateOcean['eggshell.10'];
12734
+ return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
12859
12735
  }
12860
12736
  }
12861
12737
  }
@@ -12923,7 +12799,7 @@ function TabBar({
12923
12799
  paddingRight: align === 'center' ? 'kitt.2' : 'kitt.12',
12924
12800
  minWidth: '100%',
12925
12801
  borderBottomWidth: 1,
12926
- borderBottomColor: kittTheme.palettes.lateOcean['eggshell.3']
12802
+ borderBottomColor: kittTheme.palettes.deepPurple['beige.2']
12927
12803
  });
12928
12804
  return /*#__PURE__*/jsx(ScrollView, {
12929
12805
  horizontal: true,
@@ -12963,36 +12839,39 @@ const getTypography = size => {
12963
12839
  return 'body-m';
12964
12840
  }
12965
12841
  };
12966
- const typeToColor$1 = (color, type) => {
12967
- if (color) return color;
12968
- switch (type) {
12969
- case 'primary':
12970
- return 'violine';
12971
- case 'warn':
12972
- return 'sun';
12973
- case 'danger':
12974
- return 'coral';
12975
- case 'default':
12976
- default:
12977
- return 'eggshell';
12978
- }
12979
- };
12980
12842
  function Tag({
12981
12843
  label,
12982
12844
  icon,
12983
- color,
12984
- type,
12845
+ color = 'beige',
12985
12846
  size = 'medium',
12986
- variant = 'fill',
12987
- withWhiteBorder = false
12847
+ withWhiteBorder
12988
12848
  }) {
12989
12849
  const kittTheme = useKittTheme();
12990
- const tagColor = typeToColor$1(color, type);
12991
- const getFontColor = () => {
12992
- if (variant === 'contrast') {
12993
- return kittTheme.kitt.palettes.lateOcean[`${tagColor}.${tagColor === 'sun' ? 12 : 2}`];
12850
+ const colorMatching = {
12851
+ beige: {
12852
+ background: kittTheme.kitt.palettes.deepPurple['beige.2'],
12853
+ font: kittTheme.kitt.palettes.deepPurple['deepPurple.8']
12854
+ },
12855
+ yellow: {
12856
+ background: kittTheme.kitt.palettes.deepPurple['yellow.6'],
12857
+ font: kittTheme.kitt.palettes.deepPurple['grey.9']
12858
+ },
12859
+ red: {
12860
+ background: kittTheme.kitt.palettes.deepPurple['red.6'],
12861
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12862
+ },
12863
+ blue: {
12864
+ background: kittTheme.kitt.palettes.deepPurple['blue.6'],
12865
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12866
+ },
12867
+ green: {
12868
+ background: kittTheme.kitt.palettes.deepPurple['green.6'],
12869
+ font: kittTheme.kitt.palettes.deepPurple['grey.0']
12870
+ },
12871
+ deepPurple: {
12872
+ background: kittTheme.kitt.palettes.deepPurple['deepPurple.8'],
12873
+ font: kittTheme.kitt.palettes.deepPurple['beige.1']
12994
12874
  }
12995
- return 'black';
12996
12875
  };
12997
12876
  return /*#__PURE__*/jsxs(HStack, {
12998
12877
  alignSelf: "flex-start",
@@ -13000,31 +12879,21 @@ function Tag({
13000
12879
  height: `kitt.tag.${size}.height`,
13001
12880
  paddingLeft: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingLeft`,
13002
12881
  paddingRight: `kitt.tag.${icon ? 'withIcon' : 'withoutIcon'}.${size}.paddingRight`,
13003
- backgroundColor: variant === 'fill' || variant === 'contrast' ? (() => {
13004
- if (variant === 'subtle') {
13005
- return 'transparent';
13006
- }
13007
- if (variant === 'contrast') {
13008
- return kittTheme.kitt.palettes.lateOcean[`${tagColor}.9`];
13009
- }
13010
- return kittTheme.kitt.palettes.lateOcean[`${tagColor}.4`];
13011
- })() : 'kitt.transparent',
13012
- borderColor: withWhiteBorder ? 'kitt.white' : (() => {
13013
- return kittTheme.kitt.palettes.lateOcean[`${tagColor}.6`];
13014
- })(),
13015
- borderWidth: withWhiteBorder ? 1 : `kitt.tag.variant.${variant}.borderWidth`,
12882
+ backgroundColor: colorMatching[color].background,
12883
+ borderWidth: withWhiteBorder ? 1 : 0,
12884
+ borderColor: withWhiteBorder ? 'kitt.white' : undefined,
13016
12885
  space: "kitt.1",
13017
12886
  alignItems: "center",
13018
12887
  maxWidth: "100%",
13019
12888
  children: [icon ? /*#__PURE__*/jsx(TypographyIcon, {
13020
12889
  icon: icon,
13021
12890
  size: `kitt.tag.${size}.iconSize`,
13022
- color: getFontColor()
12891
+ color: colorMatching[color].font
13023
12892
  }) : null, /*#__PURE__*/jsx(View, {
13024
12893
  flexShrink: 1,
13025
12894
  children: /*#__PURE__*/jsx(Typography.Text, {
13026
12895
  base: getTypography(size),
13027
- color: getFontColor(),
12896
+ color: colorMatching[color].font,
13028
12897
  numberOfLines: 1,
13029
12898
  ellipsizeMode: "tail",
13030
12899
  children: label
@@ -13243,7 +13112,7 @@ function ToastContent({
13243
13112
  flexGrow: 1,
13244
13113
  flexShrink: 1,
13245
13114
  children: [title ? /*#__PURE__*/jsx(Typography.Text, {
13246
- base: "heading-xxs",
13115
+ base: "heading-xs",
13247
13116
  color: "white",
13248
13117
  children: title
13249
13118
  }) : null, description ? /*#__PURE__*/jsx(Typography.Text, {
@@ -13259,7 +13128,7 @@ function ToastContent({
13259
13128
  borderColor: "white",
13260
13129
  onPress: onPress,
13261
13130
  children: /*#__PURE__*/jsx(Typography.Text, {
13262
- base: "heading-xxs",
13131
+ base: "heading-xs",
13263
13132
  color: "white",
13264
13133
  children: actionLabel
13265
13134
  })
@@ -13272,9 +13141,9 @@ const typeToColor = type => {
13272
13141
  case 'success':
13273
13142
  return 'green';
13274
13143
  case 'danger':
13275
- return 'coral';
13144
+ return 'red';
13276
13145
  case 'warning':
13277
- return 'sun';
13146
+ return 'yellow';
13278
13147
  default:
13279
13148
  return 'blue';
13280
13149
  }
@@ -13332,7 +13201,7 @@ function ToastComponent({
13332
13201
  }, [handleHideToast, outro, width, toastTimeout]);
13333
13202
  return /*#__PURE__*/jsxs(View, {
13334
13203
  alignSelf: stretch ? 'flex-start' : 'auto',
13335
- backgroundColor: kittTheme.kitt.palettes.lateOcean['eggshell.12'],
13204
+ backgroundColor: kittTheme.kitt.palettes.deepPurple['grey.9'],
13336
13205
  borderRadius: "kitt.2",
13337
13206
  maxWidth: {
13338
13207
  base: '100%',
@@ -13346,7 +13215,7 @@ function ToastComponent({
13346
13215
  children: [/*#__PURE__*/jsx(TypographyIcon, {
13347
13216
  icon: icon,
13348
13217
  size: "kitt.5",
13349
- color: kittTheme.kitt.palettes.lateOcean[`${color}.8`]
13218
+ color: kittTheme.kitt.palettes.deepPurple[`${color}.6`]
13350
13219
  }), /*#__PURE__*/jsx(ToastContent, {
13351
13220
  title: title,
13352
13221
  description: description,
@@ -13364,7 +13233,7 @@ function ToastComponent({
13364
13233
  }) : null]
13365
13234
  }), outro === 'timer' ? /*#__PURE__*/jsx(AnimatedView$1, {
13366
13235
  alignSelf: "flex-end",
13367
- backgroundColor: kittTheme.kitt.palettes.lateOcean[`${color}.8`],
13236
+ backgroundColor: kittTheme.kitt.palettes.deepPurple[`${color}.6`],
13368
13237
  height: "kitt.1",
13369
13238
  style: animatedStyle
13370
13239
  }) : null]
@@ -13421,7 +13290,7 @@ function TooltipContent({
13421
13290
  paddingY: "kitt.tooltip.verticalPadding",
13422
13291
  paddingX: "kitt.tooltip.horizontalPadding",
13423
13292
  children: /*#__PURE__*/jsx(Typography.Text, {
13424
- base: "body-small",
13293
+ base: "body-s",
13425
13294
  color: "white-light",
13426
13295
  children: children
13427
13296
  })
@@ -13624,12 +13493,12 @@ function calcSizesFromType(type, theme) {
13624
13493
  medium: type.medium || type.small || type.base
13625
13494
  };
13626
13495
  const size = {
13627
- base: getTypographyTypeConfig(type.base ?? 'body', theme).baseAndSmall.fontSize
13496
+ base: getTypographyTypeConfig(type.base ?? 'body-m', theme).fontSize
13628
13497
  };
13629
13498
  [KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(typeName => {
13630
13499
  const value = typeWithMediumForced[typeName];
13631
13500
  if (value) {
13632
- size[typeName] = getTypographyTypeConfig(value, theme)[getTypographyTypeConfigKeyFromTypeName(typeName)].fontSize;
13501
+ size[typeName] = getTypographyTypeConfig(value, theme).fontSize;
13633
13502
  }
13634
13503
  });
13635
13504
  const marginLeft = {};
@@ -13723,6 +13592,7 @@ function TypographyLink({
13723
13592
  'kitt-universal': 'true'
13724
13593
  },
13725
13594
  _web: {
13595
+ // @ts-expect-error: This is only used on web where 'not-allowed' and 'pointer' are valid cursor values
13726
13596
  cursor: disabled ? 'not-allowed' : 'pointer',
13727
13597
  transitionProperty: 'color',
13728
13598
  transitionDuration: '0.2s',
@@ -13955,7 +13825,7 @@ function BorderlessStep({
13955
13825
  width: 2,
13956
13826
  borderRadius: 2,
13957
13827
  position: "absolute",
13958
- backgroundColor: "kitt.palettes.lateOcean.black50",
13828
+ backgroundColor: "kitt.accent",
13959
13829
  overflow: "hidden",
13960
13830
  children: isNextDone ? /*#__PURE__*/jsx(AnimatedView, {
13961
13831
  style: progressBarAnimatedStyles,
@@ -14037,7 +13907,7 @@ function Step({
14037
13907
  state: state,
14038
13908
  index: index
14039
13909
  }), !isLast ? /*#__PURE__*/jsx(View, {
14040
- backgroundColor: shouldDisableNextLink ? 'kitt.palettes.lateOcean.black100' : 'kitt.palettes.lateOcean.moonPurple',
13910
+ backgroundColor: shouldDisableNextLink ? 'kitt.accent' : 'kitt.primary',
14041
13911
  width: 1,
14042
13912
  position: "absolute",
14043
13913
  top: 46,