@utilitywarehouse/hearth-react-native 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +22 -0
- package/build/components/Badge/Badge.js +101 -14
- package/build/components/Badge/Badge.props.d.ts +2 -2
- package/build/components/Badge/BadgeIcon.js +5 -79
- package/build/components/Badge/BadgeText.js +7 -81
- package/build/components/Button/Button.d.ts +2 -2
- package/build/components/Button/ButtonGroupRoot.d.ts +3 -2
- package/build/components/Button/ButtonGroupRoot.js +9 -0
- package/build/components/Card/Card.props.d.ts +2 -2
- package/build/components/CurrencyInput/CurrencyInput.d.ts +6 -0
- package/build/components/CurrencyInput/CurrencyInput.js +47 -0
- package/build/components/CurrencyInput/CurrencyInput.props.d.ts +14 -0
- package/build/components/CurrencyInput/CurrencyInput.props.js +1 -0
- package/build/components/CurrencyInput/index.d.ts +1 -0
- package/build/components/CurrencyInput/index.js +1 -0
- package/build/components/DescriptionList/DescriptionList.context.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionList.context.js +9 -0
- package/build/components/DescriptionList/DescriptionList.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionList.js +25 -0
- package/build/components/DescriptionList/DescriptionList.props.d.ts +18 -0
- package/build/components/DescriptionList/DescriptionList.props.js +1 -0
- package/build/components/DescriptionList/DescriptionListItem.d.ts +6 -0
- package/build/components/DescriptionList/DescriptionListItem.js +49 -0
- package/build/components/DescriptionList/DescriptionListItem.props.d.ts +17 -0
- package/build/components/DescriptionList/DescriptionListItem.props.js +1 -0
- package/build/components/DescriptionList/index.d.ts +4 -0
- package/build/components/DescriptionList/index.js +2 -0
- package/build/components/Divider/Divider.js +46 -0
- package/build/components/Divider/Divider.props.d.ts +2 -2
- package/build/components/Flex/Flex.props.d.ts +3 -2
- package/build/components/Grid/Grid.props.d.ts +2 -2
- package/build/components/IconContainer/IconContainer.d.ts +5 -0
- package/build/components/IconContainer/IconContainer.js +161 -0
- package/build/components/IconContainer/IconContainer.props.d.ts +15 -0
- package/build/components/IconContainer/IconContainer.props.js +1 -0
- package/build/components/IconContainer/index.d.ts +2 -0
- package/build/components/IconContainer/index.js +1 -0
- package/build/components/Icons/CircleIcon.js +3 -3
- package/build/components/Input/Input.js +2 -34
- package/build/components/Input/Input.props.d.ts +1 -17
- package/build/components/Input/InputField.js +0 -7
- package/build/components/Modal/Modal.js +17 -1
- package/build/components/SectionHeader/SectionHeader.js +1 -0
- package/build/components/Tabs/Tab.d.ts +18 -0
- package/build/components/Tabs/Tab.js +74 -0
- package/build/components/Tabs/Tab.props.d.ts +14 -0
- package/build/components/Tabs/Tab.props.js +1 -0
- package/build/components/Tabs/TabPanel.d.ts +3 -0
- package/build/components/Tabs/TabPanel.js +34 -0
- package/build/components/Tabs/TabPanel.props.d.ts +8 -0
- package/build/components/Tabs/TabPanel.props.js +1 -0
- package/build/components/Tabs/Tabs.context.d.ts +23 -0
- package/build/components/Tabs/Tabs.context.js +8 -0
- package/build/components/Tabs/Tabs.d.ts +6 -0
- package/build/components/Tabs/Tabs.js +114 -0
- package/build/components/Tabs/Tabs.props.d.ts +19 -0
- package/build/components/Tabs/Tabs.props.js +1 -0
- package/build/components/Tabs/TabsList.d.ts +6 -0
- package/build/components/Tabs/TabsList.js +112 -0
- package/build/components/Tabs/TabsList.props.d.ts +6 -0
- package/build/components/Tabs/TabsList.props.js +1 -0
- package/build/components/Tabs/index.d.ts +8 -0
- package/build/components/Tabs/index.js +4 -0
- package/build/components/index.d.ts +4 -0
- package/build/components/index.js +4 -0
- package/build/core/themes.d.ts +416 -148
- package/build/core/themes.js +57 -1
- package/build/tokens/color.d.ts +76 -68
- package/build/tokens/color.js +38 -34
- package/build/tokens/components/dark/button.d.ts +1 -0
- package/build/tokens/components/dark/button.js +1 -0
- package/build/tokens/components/dark/checkbox.d.ts +1 -1
- package/build/tokens/components/dark/checkbox.js +1 -1
- package/build/tokens/components/dark/icon-button.d.ts +3 -3
- package/build/tokens/components/dark/icon-button.js +3 -3
- package/build/tokens/components/dark/radio.d.ts +1 -1
- package/build/tokens/components/dark/radio.js +1 -1
- package/build/tokens/components/dark/tabs.d.ts +2 -0
- package/build/tokens/components/dark/tabs.js +2 -0
- package/build/tokens/components/light/badge.d.ts +1 -1
- package/build/tokens/components/light/badge.js +1 -1
- package/build/tokens/components/light/button.d.ts +1 -0
- package/build/tokens/components/light/button.js +1 -0
- package/build/tokens/components/light/checkbox.d.ts +3 -3
- package/build/tokens/components/light/checkbox.js +3 -3
- package/build/tokens/components/light/icon-button.d.ts +1 -1
- package/build/tokens/components/light/icon-button.js +1 -1
- package/build/tokens/components/light/radio.d.ts +3 -3
- package/build/tokens/components/light/radio.js +3 -3
- package/build/tokens/components/light/tabs.d.ts +2 -0
- package/build/tokens/components/light/tabs.js +2 -0
- package/build/tokens/layout.d.ts +48 -30
- package/build/tokens/layout.js +24 -15
- package/build/tokens/semantic-dark.d.ts +21 -19
- package/build/tokens/semantic-dark.js +21 -19
- package/build/tokens/semantic-light.d.ts +17 -15
- package/build/tokens/semantic-light.js +17 -15
- package/build/types/values.d.ts +2 -1
- package/build/utils/formatThousands.d.ts +2 -0
- package/build/utils/formatThousands.js +16 -0
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/docs/components/AllComponents.web.tsx +97 -8
- package/docs/components/NextPrevPage.tsx +11 -3
- package/docs/components/UsageWrap.tsx +2 -2
- package/docs/heplers/addReactNativePrefix.ts +8 -0
- package/docs/heplers/index.ts +1 -0
- package/docs/theme-tokens.mdx +42 -0
- package/package.json +2 -3
- package/src/components/Badge/Badge.docs.mdx +7 -7
- package/src/components/Badge/Badge.props.ts +3 -2
- package/src/components/Badge/Badge.stories.tsx +81 -92
- package/src/components/Badge/Badge.tsx +101 -14
- package/src/components/Badge/BadgeIcon.tsx +5 -79
- package/src/components/Badge/BadgeText.tsx +7 -81
- package/src/components/Button/ButtonGroupRoot.tsx +12 -2
- package/src/components/Card/Card.docs.mdx +1 -1
- package/src/components/Card/Card.props.ts +2 -2
- package/src/components/CurrencyInput/CurrencyInput.docs.mdx +120 -0
- package/src/components/CurrencyInput/CurrencyInput.props.ts +19 -0
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +116 -0
- package/src/components/CurrencyInput/CurrencyInput.tsx +91 -0
- package/src/components/CurrencyInput/index.ts +1 -0
- package/src/components/DescriptionList/DescriptionList.context.ts +18 -0
- package/src/components/DescriptionList/DescriptionList.docs.mdx +98 -0
- package/src/components/DescriptionList/DescriptionList.props.ts +20 -0
- package/src/components/DescriptionList/DescriptionList.stories.tsx +154 -0
- package/src/components/DescriptionList/DescriptionList.tsx +64 -0
- package/src/components/DescriptionList/DescriptionListItem.props.ts +19 -0
- package/src/components/DescriptionList/DescriptionListItem.tsx +101 -0
- package/src/components/DescriptionList/index.ts +4 -0
- package/src/components/Divider/Divider.props.ts +2 -2
- package/src/components/Divider/Divider.stories.tsx +3 -3
- package/src/components/Divider/Divider.tsx +46 -0
- package/src/components/Flex/Flex.docs.mdx +4 -4
- package/src/components/Flex/Flex.props.ts +3 -2
- package/src/components/Flex/Flex.stories.tsx +1 -1
- package/src/components/Grid/Grid.docs.mdx +12 -12
- package/src/components/Grid/Grid.props.ts +2 -2
- package/src/components/Grid/Grid.stories.tsx +2 -2
- package/src/components/IconContainer/IconContainer.docs.mdx +90 -0
- package/src/components/IconContainer/IconContainer.props.ts +17 -0
- package/src/components/IconContainer/IconContainer.stories.tsx +130 -0
- package/src/components/IconContainer/IconContainer.tsx +180 -0
- package/src/components/IconContainer/index.tsx +2 -0
- package/src/components/Icons/CircleIcon.tsx +9 -11
- package/src/components/Input/Input.docs.mdx +3 -3
- package/src/components/Input/Input.props.ts +0 -20
- package/src/components/Input/Input.stories.tsx +0 -6
- package/src/components/Input/Input.tsx +2 -49
- package/src/components/Input/InputField.tsx +0 -7
- package/src/components/Modal/Modal.tsx +18 -0
- package/src/components/SectionHeader/SectionHeader.tsx +1 -0
- package/src/components/Tabs/Tab.props.ts +16 -0
- package/src/components/Tabs/Tab.tsx +113 -0
- package/src/components/Tabs/TabPanel.props.ts +10 -0
- package/src/components/Tabs/TabPanel.tsx +46 -0
- package/src/components/Tabs/Tabs.context.ts +26 -0
- package/src/components/Tabs/Tabs.docs.mdx +214 -0
- package/src/components/Tabs/Tabs.props.ts +21 -0
- package/src/components/Tabs/Tabs.stories.tsx +270 -0
- package/src/components/Tabs/Tabs.tsx +139 -0
- package/src/components/Tabs/TabsList.props.ts +8 -0
- package/src/components/Tabs/TabsList.tsx +194 -0
- package/src/components/Tabs/index.ts +8 -0
- package/src/components/index.ts +4 -0
- package/src/core/themes.ts +57 -1
- package/src/tokens/color.ts +38 -34
- package/src/tokens/components/dark/button.ts +1 -0
- package/src/tokens/components/dark/checkbox.ts +1 -1
- package/src/tokens/components/dark/icon-button.ts +3 -3
- package/src/tokens/components/dark/radio.ts +1 -1
- package/src/tokens/components/dark/tabs.ts +2 -0
- package/src/tokens/components/light/badge.ts +1 -1
- package/src/tokens/components/light/button.ts +1 -0
- package/src/tokens/components/light/checkbox.ts +3 -3
- package/src/tokens/components/light/icon-button.ts +1 -1
- package/src/tokens/components/light/radio.ts +3 -3
- package/src/tokens/components/light/tabs.ts +2 -0
- package/src/tokens/layout.ts +24 -15
- package/src/tokens/semantic-dark.ts +21 -19
- package/src/tokens/semantic-light.ts +17 -15
- package/src/types/values.ts +3 -1
- package/src/utils/formatThousands.ts +14 -0
- package/src/utils/index.ts +1 -0
package/src/core/themes.ts
CHANGED
|
@@ -36,6 +36,42 @@ const shared = {
|
|
|
36
36
|
'4/6': '66.666%',
|
|
37
37
|
'5/6': '83.333%',
|
|
38
38
|
full: '100%' as DimensionValue,
|
|
39
|
+
none: 0,
|
|
40
|
+
'2xs': {
|
|
41
|
+
base: layout.mobile.spacing['2xs'],
|
|
42
|
+
md: layout.tablet.spacing['2xs'],
|
|
43
|
+
lg: layout.desktop.spacing['2xs'],
|
|
44
|
+
},
|
|
45
|
+
xs: {
|
|
46
|
+
base: layout.mobile.spacing.xs,
|
|
47
|
+
md: layout.tablet.spacing.xs,
|
|
48
|
+
lg: layout.desktop.spacing.xs,
|
|
49
|
+
},
|
|
50
|
+
sm: {
|
|
51
|
+
base: layout.mobile.spacing.sm,
|
|
52
|
+
md: layout.tablet.spacing.sm,
|
|
53
|
+
lg: layout.desktop.spacing.sm,
|
|
54
|
+
},
|
|
55
|
+
md: {
|
|
56
|
+
base: layout.mobile.spacing.md,
|
|
57
|
+
md: layout.tablet.spacing.md,
|
|
58
|
+
lg: layout.desktop.spacing.md,
|
|
59
|
+
},
|
|
60
|
+
lg: {
|
|
61
|
+
base: layout.mobile.spacing.lg,
|
|
62
|
+
md: layout.tablet.spacing.lg,
|
|
63
|
+
lg: layout.desktop.spacing.lg,
|
|
64
|
+
},
|
|
65
|
+
xl: {
|
|
66
|
+
base: layout.mobile.spacing.xl,
|
|
67
|
+
md: layout.tablet.spacing.xl,
|
|
68
|
+
lg: layout.desktop.spacing.xl,
|
|
69
|
+
},
|
|
70
|
+
'2xl': {
|
|
71
|
+
base: layout.mobile.spacing['2xl'],
|
|
72
|
+
md: layout.tablet.spacing['2xl'],
|
|
73
|
+
lg: layout.desktop.spacing['2xl'],
|
|
74
|
+
},
|
|
39
75
|
},
|
|
40
76
|
borderWidth,
|
|
41
77
|
borderRadius,
|
|
@@ -169,7 +205,20 @@ const shared = {
|
|
|
169
205
|
},
|
|
170
206
|
},
|
|
171
207
|
space: {
|
|
172
|
-
none: {
|
|
208
|
+
none: {
|
|
209
|
+
gap: {
|
|
210
|
+
base: layout.mobile.spacing.none,
|
|
211
|
+
md: layout.tablet.spacing.none,
|
|
212
|
+
lg: layout.desktop.spacing.none,
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
'2xs': {
|
|
216
|
+
gap: {
|
|
217
|
+
base: layout.mobile.spacing['2xs'],
|
|
218
|
+
md: layout.tablet.spacing['2xs'],
|
|
219
|
+
lg: layout.desktop.spacing['2xs'],
|
|
220
|
+
},
|
|
221
|
+
},
|
|
173
222
|
xs: {
|
|
174
223
|
gap: {
|
|
175
224
|
base: layout.mobile.spacing.xs,
|
|
@@ -205,6 +254,13 @@ const shared = {
|
|
|
205
254
|
lg: layout.desktop.spacing.xl,
|
|
206
255
|
},
|
|
207
256
|
},
|
|
257
|
+
'2xl': {
|
|
258
|
+
gap: {
|
|
259
|
+
base: layout.mobile.spacing['2xl'],
|
|
260
|
+
md: layout.tablet.spacing['2xl'],
|
|
261
|
+
lg: layout.desktop.spacing['2xl'],
|
|
262
|
+
},
|
|
263
|
+
},
|
|
208
264
|
},
|
|
209
265
|
},
|
|
210
266
|
},
|
package/src/tokens/color.ts
CHANGED
|
@@ -243,55 +243,55 @@ export const light = {
|
|
|
243
243
|
danger: {
|
|
244
244
|
border: '#de2612',
|
|
245
245
|
foreground: {
|
|
246
|
-
default: '#
|
|
246
|
+
default: '#101010',
|
|
247
247
|
subtle: '#de2612',
|
|
248
248
|
},
|
|
249
249
|
surface: {
|
|
250
|
-
default: '#
|
|
251
|
-
subtle: '#
|
|
250
|
+
default: '#ff634a',
|
|
251
|
+
subtle: '#ffa89d',
|
|
252
252
|
},
|
|
253
253
|
},
|
|
254
254
|
functional: {
|
|
255
|
-
border: '#
|
|
255
|
+
border: '#5b5b5b',
|
|
256
256
|
foreground: {
|
|
257
|
-
default: '#
|
|
258
|
-
subtle: '#
|
|
257
|
+
default: '#101010',
|
|
258
|
+
subtle: '#5b5b5b',
|
|
259
259
|
},
|
|
260
260
|
surface: {
|
|
261
|
-
default: '#
|
|
261
|
+
default: '#919191',
|
|
262
262
|
subtle: '#d3d3d3',
|
|
263
263
|
},
|
|
264
264
|
},
|
|
265
265
|
info: {
|
|
266
266
|
border: '#1c6cd4',
|
|
267
267
|
foreground: {
|
|
268
|
-
default: '#
|
|
268
|
+
default: '#101010',
|
|
269
269
|
subtle: '#1c6cd4',
|
|
270
270
|
},
|
|
271
271
|
surface: {
|
|
272
|
-
default: '#
|
|
272
|
+
default: '#6bb0ff',
|
|
273
273
|
subtle: '#bcddff',
|
|
274
274
|
},
|
|
275
275
|
},
|
|
276
276
|
positive: {
|
|
277
277
|
border: '#0f834a',
|
|
278
278
|
foreground: {
|
|
279
|
-
default: '#
|
|
279
|
+
default: '#101010',
|
|
280
280
|
subtle: '#0f834a',
|
|
281
281
|
},
|
|
282
282
|
surface: {
|
|
283
|
-
default: '#
|
|
283
|
+
default: '#36bf7d',
|
|
284
284
|
subtle: '#a2e2c3',
|
|
285
285
|
},
|
|
286
286
|
},
|
|
287
287
|
warning: {
|
|
288
288
|
border: '#be5400',
|
|
289
289
|
foreground: {
|
|
290
|
-
default: '#
|
|
290
|
+
default: '#101010',
|
|
291
291
|
subtle: '#be5400',
|
|
292
292
|
},
|
|
293
293
|
surface: {
|
|
294
|
-
default: '#
|
|
294
|
+
default: '#ff8010',
|
|
295
295
|
subtle: '#ffcca8',
|
|
296
296
|
},
|
|
297
297
|
},
|
|
@@ -364,14 +364,14 @@ export const light = {
|
|
|
364
364
|
},
|
|
365
365
|
functional: {
|
|
366
366
|
border: {
|
|
367
|
+
inverted: '#f7f7f7',
|
|
367
368
|
strong: '#101010',
|
|
368
369
|
subtle: '#101010',
|
|
369
|
-
inverted: '#f7f7f7',
|
|
370
370
|
},
|
|
371
371
|
foreground: {
|
|
372
|
+
inverted: '#f7f7f7',
|
|
372
373
|
strong: '#fcfbf2',
|
|
373
374
|
subtle: '#101010',
|
|
374
|
-
inverted: '#f7f7f7',
|
|
375
375
|
},
|
|
376
376
|
surface: {
|
|
377
377
|
strong: {
|
|
@@ -469,6 +469,8 @@ export const light = {
|
|
|
469
469
|
},
|
|
470
470
|
},
|
|
471
471
|
text: {
|
|
472
|
+
affirmative: '#0f834a',
|
|
473
|
+
brand: '#7a42c8',
|
|
472
474
|
inverted: '#fcfbf2',
|
|
473
475
|
primary: '#101010',
|
|
474
476
|
secondary: '#888888',
|
|
@@ -489,56 +491,56 @@ export const dark = {
|
|
|
489
491
|
danger: {
|
|
490
492
|
border: '#ff7964',
|
|
491
493
|
foreground: {
|
|
492
|
-
default: '#
|
|
494
|
+
default: '#101010',
|
|
493
495
|
subtle: '#ff7964',
|
|
494
496
|
},
|
|
495
497
|
surface: {
|
|
496
|
-
default: '#
|
|
497
|
-
subtle: '#
|
|
498
|
+
default: '#ff634a',
|
|
499
|
+
subtle: '#ffa89d',
|
|
498
500
|
},
|
|
499
501
|
},
|
|
500
502
|
functional: {
|
|
501
503
|
border: '#b2afae',
|
|
502
504
|
foreground: {
|
|
503
|
-
default: '#
|
|
505
|
+
default: '#101010',
|
|
504
506
|
subtle: '#b2afae',
|
|
505
507
|
},
|
|
506
508
|
surface: {
|
|
507
|
-
default: '#
|
|
508
|
-
subtle: '#
|
|
509
|
+
default: '#919191',
|
|
510
|
+
subtle: '#d3d3d3',
|
|
509
511
|
},
|
|
510
512
|
},
|
|
511
513
|
info: {
|
|
512
514
|
border: '#6bb0ff',
|
|
513
515
|
foreground: {
|
|
514
|
-
default: '#
|
|
516
|
+
default: '#101010',
|
|
515
517
|
subtle: '#6bb0ff',
|
|
516
518
|
},
|
|
517
519
|
surface: {
|
|
518
|
-
default: '#
|
|
519
|
-
subtle: '#
|
|
520
|
+
default: '#6bb0ff',
|
|
521
|
+
subtle: '#bcddff',
|
|
520
522
|
},
|
|
521
523
|
},
|
|
522
524
|
positive: {
|
|
523
525
|
border: '#58ca93',
|
|
524
526
|
foreground: {
|
|
525
|
-
default: '#
|
|
527
|
+
default: '#101010',
|
|
526
528
|
subtle: '#58ca93',
|
|
527
529
|
},
|
|
528
530
|
surface: {
|
|
529
|
-
default: '#
|
|
530
|
-
subtle: '#
|
|
531
|
+
default: '#36bf7d',
|
|
532
|
+
subtle: '#a2e2c3',
|
|
531
533
|
},
|
|
532
534
|
},
|
|
533
535
|
warning: {
|
|
534
536
|
border: '#ff9639',
|
|
535
537
|
foreground: {
|
|
536
|
-
default: '#
|
|
538
|
+
default: '#101010',
|
|
537
539
|
subtle: '#ff9639',
|
|
538
540
|
},
|
|
539
541
|
surface: {
|
|
540
|
-
default: '#
|
|
541
|
-
subtle: '#
|
|
542
|
+
default: '#ff8010',
|
|
543
|
+
subtle: '#ffcca8',
|
|
542
544
|
},
|
|
543
545
|
},
|
|
544
546
|
},
|
|
@@ -610,14 +612,14 @@ export const dark = {
|
|
|
610
612
|
},
|
|
611
613
|
functional: {
|
|
612
614
|
border: {
|
|
615
|
+
inverted: '#f7f7f7',
|
|
613
616
|
strong: '#ebebeb',
|
|
614
617
|
subtle: '#ebebeb',
|
|
615
|
-
inverted: '#f7f7f7',
|
|
616
618
|
},
|
|
617
619
|
foreground: {
|
|
620
|
+
inverted: '#f7f7f7',
|
|
618
621
|
strong: '#fcfbf2',
|
|
619
622
|
subtle: '#ebebeb',
|
|
620
|
-
inverted: '#f7f7f7',
|
|
621
623
|
},
|
|
622
624
|
surface: {
|
|
623
625
|
strong: {
|
|
@@ -629,8 +631,8 @@ export const dark = {
|
|
|
629
631
|
active: '#4c4c4c',
|
|
630
632
|
hover: '#3a3837',
|
|
631
633
|
inverted: {
|
|
632
|
-
active: '#
|
|
633
|
-
hover: '#
|
|
634
|
+
active: '#3a3837',
|
|
635
|
+
hover: '#3f3f3f',
|
|
634
636
|
},
|
|
635
637
|
},
|
|
636
638
|
},
|
|
@@ -715,6 +717,8 @@ export const dark = {
|
|
|
715
717
|
},
|
|
716
718
|
},
|
|
717
719
|
text: {
|
|
720
|
+
affirmative: '#58ca93',
|
|
721
|
+
brand: '#af90de',
|
|
718
722
|
inverted: '#191917',
|
|
719
723
|
primary: '#ebebeb',
|
|
720
724
|
secondary: '#b2afae',
|
|
@@ -21,9 +21,9 @@ export default {
|
|
|
21
21
|
foregroundColorActive: '#b2afae',
|
|
22
22
|
foregroundColorHover: '#d3d3d3',
|
|
23
23
|
inverted: {
|
|
24
|
-
foregroundColor: '#
|
|
25
|
-
foregroundColorActive: '#
|
|
26
|
-
foregroundColorHover: '#
|
|
24
|
+
foregroundColor: '#f7f7f7',
|
|
25
|
+
foregroundColorActive: '#b2afae',
|
|
26
|
+
foregroundColorHover: '#d3d3d3',
|
|
27
27
|
},
|
|
28
28
|
md: {
|
|
29
29
|
height: 24,
|
|
@@ -8,11 +8,11 @@ export default {
|
|
|
8
8
|
checked: {
|
|
9
9
|
backgroundColor: '#101010',
|
|
10
10
|
},
|
|
11
|
-
gap:
|
|
11
|
+
gap: 12,
|
|
12
12
|
group: {
|
|
13
13
|
gap: 16,
|
|
14
14
|
stack: {
|
|
15
|
-
gap:
|
|
15
|
+
gap: 20,
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
outlineColorActive: '#d4d2c0',
|
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
borderRadius: 8,
|
|
23
23
|
borderWidth: 1,
|
|
24
24
|
borderWidthSelected: 2,
|
|
25
|
-
gap:
|
|
25
|
+
gap: 12,
|
|
26
26
|
group: {
|
|
27
27
|
gap: 6,
|
|
28
28
|
stack: {
|
|
@@ -8,11 +8,11 @@ export default {
|
|
|
8
8
|
checked: {
|
|
9
9
|
color: '#101010',
|
|
10
10
|
},
|
|
11
|
-
gap:
|
|
11
|
+
gap: 12,
|
|
12
12
|
group: {
|
|
13
13
|
gap: 16,
|
|
14
14
|
stack: {
|
|
15
|
-
gap:
|
|
15
|
+
gap: 20,
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
outlineColorActive: '#d4d2c0',
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
borderWidthSelected: 2,
|
|
25
25
|
gap: 8,
|
|
26
26
|
group: {
|
|
27
|
-
gap:
|
|
27
|
+
gap: 12,
|
|
28
28
|
stack: {
|
|
29
29
|
gap: 12,
|
|
30
30
|
},
|
package/src/tokens/layout.ts
CHANGED
|
@@ -21,11 +21,14 @@ export const mobile = {
|
|
|
21
21
|
margin: 16,
|
|
22
22
|
},
|
|
23
23
|
spacing: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
'2xl': 28,
|
|
25
|
+
'2xs': 2,
|
|
26
|
+
lg: 16,
|
|
27
|
+
md: 12,
|
|
28
|
+
none: 0,
|
|
29
|
+
sm: 8,
|
|
30
|
+
xl: 20,
|
|
31
|
+
xs: 4,
|
|
29
32
|
},
|
|
30
33
|
} as const;
|
|
31
34
|
|
|
@@ -48,11 +51,14 @@ export const tablet = {
|
|
|
48
51
|
margin: 32,
|
|
49
52
|
},
|
|
50
53
|
spacing: {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
'2xl': 28,
|
|
55
|
+
'2xs': 2,
|
|
56
|
+
lg: 16,
|
|
57
|
+
md: 12,
|
|
58
|
+
none: 0,
|
|
59
|
+
sm: 8,
|
|
60
|
+
xl: 24,
|
|
61
|
+
xs: 4,
|
|
56
62
|
},
|
|
57
63
|
} as const;
|
|
58
64
|
|
|
@@ -75,11 +81,14 @@ export const desktop = {
|
|
|
75
81
|
margin: 32,
|
|
76
82
|
},
|
|
77
83
|
spacing: {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
84
|
+
'2xl': 40,
|
|
85
|
+
'2xs': 2,
|
|
86
|
+
lg: 16,
|
|
87
|
+
md: 12,
|
|
88
|
+
none: 0,
|
|
89
|
+
sm: 8,
|
|
90
|
+
xl: 24,
|
|
91
|
+
xs: 4,
|
|
83
92
|
},
|
|
84
93
|
} as const;
|
|
85
94
|
|
|
@@ -16,56 +16,56 @@ export default {
|
|
|
16
16
|
danger: {
|
|
17
17
|
border: '#ff7964',
|
|
18
18
|
foreground: {
|
|
19
|
-
default: '#
|
|
19
|
+
default: '#101010',
|
|
20
20
|
subtle: '#ff7964',
|
|
21
21
|
},
|
|
22
22
|
surface: {
|
|
23
|
-
default: '#
|
|
24
|
-
subtle: '#
|
|
23
|
+
default: '#ff634a',
|
|
24
|
+
subtle: '#ffa89d',
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
functional: {
|
|
28
28
|
border: '#b2afae',
|
|
29
29
|
foreground: {
|
|
30
|
-
default: '#
|
|
30
|
+
default: '#101010',
|
|
31
31
|
subtle: '#b2afae',
|
|
32
32
|
},
|
|
33
33
|
surface: {
|
|
34
|
-
default: '#
|
|
35
|
-
subtle: '#
|
|
34
|
+
default: '#919191',
|
|
35
|
+
subtle: '#d3d3d3',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
info: {
|
|
39
39
|
border: '#6bb0ff',
|
|
40
40
|
foreground: {
|
|
41
|
-
default: '#
|
|
41
|
+
default: '#101010',
|
|
42
42
|
subtle: '#6bb0ff',
|
|
43
43
|
},
|
|
44
44
|
surface: {
|
|
45
|
-
default: '#
|
|
46
|
-
subtle: '#
|
|
45
|
+
default: '#6bb0ff',
|
|
46
|
+
subtle: '#bcddff',
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
positive: {
|
|
50
50
|
border: '#58ca93',
|
|
51
51
|
foreground: {
|
|
52
|
-
default: '#
|
|
52
|
+
default: '#101010',
|
|
53
53
|
subtle: '#58ca93',
|
|
54
54
|
},
|
|
55
55
|
surface: {
|
|
56
|
-
default: '#
|
|
57
|
-
subtle: '#
|
|
56
|
+
default: '#36bf7d',
|
|
57
|
+
subtle: '#a2e2c3',
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
warning: {
|
|
61
61
|
border: '#ff9639',
|
|
62
62
|
foreground: {
|
|
63
|
-
default: '#
|
|
63
|
+
default: '#101010',
|
|
64
64
|
subtle: '#ff9639',
|
|
65
65
|
},
|
|
66
66
|
surface: {
|
|
67
|
-
default: '#
|
|
68
|
-
subtle: '#
|
|
67
|
+
default: '#ff8010',
|
|
68
|
+
subtle: '#ffcca8',
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
},
|
|
@@ -137,14 +137,14 @@ export default {
|
|
|
137
137
|
},
|
|
138
138
|
functional: {
|
|
139
139
|
border: {
|
|
140
|
+
inverted: '#f7f7f7',
|
|
140
141
|
strong: '#ebebeb',
|
|
141
142
|
subtle: '#ebebeb',
|
|
142
|
-
inverted: '#f7f7f7',
|
|
143
143
|
},
|
|
144
144
|
foreground: {
|
|
145
|
+
inverted: '#f7f7f7',
|
|
145
146
|
strong: '#fcfbf2',
|
|
146
147
|
subtle: '#ebebeb',
|
|
147
|
-
inverted: '#f7f7f7',
|
|
148
148
|
},
|
|
149
149
|
surface: {
|
|
150
150
|
strong: {
|
|
@@ -156,8 +156,8 @@ export default {
|
|
|
156
156
|
active: '#4c4c4c',
|
|
157
157
|
hover: '#3a3837',
|
|
158
158
|
inverted: {
|
|
159
|
-
active: '#
|
|
160
|
-
hover: '#
|
|
159
|
+
active: '#3a3837',
|
|
160
|
+
hover: '#3f3f3f',
|
|
161
161
|
},
|
|
162
162
|
},
|
|
163
163
|
},
|
|
@@ -245,6 +245,8 @@ export default {
|
|
|
245
245
|
},
|
|
246
246
|
},
|
|
247
247
|
text: {
|
|
248
|
+
affirmative: '#58ca93',
|
|
249
|
+
brand: '#af90de',
|
|
248
250
|
inverted: '#191917',
|
|
249
251
|
primary: '#ebebeb',
|
|
250
252
|
secondary: '#b2afae',
|
|
@@ -16,55 +16,55 @@ export default {
|
|
|
16
16
|
danger: {
|
|
17
17
|
border: '#de2612',
|
|
18
18
|
foreground: {
|
|
19
|
-
default: '#
|
|
19
|
+
default: '#101010',
|
|
20
20
|
subtle: '#de2612',
|
|
21
21
|
},
|
|
22
22
|
surface: {
|
|
23
|
-
default: '#
|
|
24
|
-
subtle: '#
|
|
23
|
+
default: '#ff634a',
|
|
24
|
+
subtle: '#ffa89d',
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
functional: {
|
|
28
|
-
border: '#
|
|
28
|
+
border: '#5b5b5b',
|
|
29
29
|
foreground: {
|
|
30
|
-
default: '#
|
|
31
|
-
subtle: '#
|
|
30
|
+
default: '#101010',
|
|
31
|
+
subtle: '#5b5b5b',
|
|
32
32
|
},
|
|
33
33
|
surface: {
|
|
34
|
-
default: '#
|
|
34
|
+
default: '#919191',
|
|
35
35
|
subtle: '#d3d3d3',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
info: {
|
|
39
39
|
border: '#1c6cd4',
|
|
40
40
|
foreground: {
|
|
41
|
-
default: '#
|
|
41
|
+
default: '#101010',
|
|
42
42
|
subtle: '#1c6cd4',
|
|
43
43
|
},
|
|
44
44
|
surface: {
|
|
45
|
-
default: '#
|
|
45
|
+
default: '#6bb0ff',
|
|
46
46
|
subtle: '#bcddff',
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
49
|
positive: {
|
|
50
50
|
border: '#0f834a',
|
|
51
51
|
foreground: {
|
|
52
|
-
default: '#
|
|
52
|
+
default: '#101010',
|
|
53
53
|
subtle: '#0f834a',
|
|
54
54
|
},
|
|
55
55
|
surface: {
|
|
56
|
-
default: '#
|
|
56
|
+
default: '#36bf7d',
|
|
57
57
|
subtle: '#a2e2c3',
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
warning: {
|
|
61
61
|
border: '#be5400',
|
|
62
62
|
foreground: {
|
|
63
|
-
default: '#
|
|
63
|
+
default: '#101010',
|
|
64
64
|
subtle: '#be5400',
|
|
65
65
|
},
|
|
66
66
|
surface: {
|
|
67
|
-
default: '#
|
|
67
|
+
default: '#ff8010',
|
|
68
68
|
subtle: '#ffcca8',
|
|
69
69
|
},
|
|
70
70
|
},
|
|
@@ -137,14 +137,14 @@ export default {
|
|
|
137
137
|
},
|
|
138
138
|
functional: {
|
|
139
139
|
border: {
|
|
140
|
+
inverted: '#f7f7f7',
|
|
140
141
|
strong: '#101010',
|
|
141
142
|
subtle: '#101010',
|
|
142
|
-
inverted: '#f7f7f7',
|
|
143
143
|
},
|
|
144
144
|
foreground: {
|
|
145
|
+
inverted: '#f7f7f7',
|
|
145
146
|
strong: '#fcfbf2',
|
|
146
147
|
subtle: '#101010',
|
|
147
|
-
inverted: '#f7f7f7',
|
|
148
148
|
},
|
|
149
149
|
surface: {
|
|
150
150
|
strong: {
|
|
@@ -245,6 +245,8 @@ export default {
|
|
|
245
245
|
},
|
|
246
246
|
},
|
|
247
247
|
text: {
|
|
248
|
+
affirmative: '#0f834a',
|
|
249
|
+
brand: '#7a42c8',
|
|
248
250
|
inverted: '#fcfbf2',
|
|
249
251
|
primary: '#101010',
|
|
250
252
|
secondary: '#888888',
|