@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/build/core/themes.js
CHANGED
|
@@ -22,6 +22,42 @@ const shared = {
|
|
|
22
22
|
'4/6': '66.666%',
|
|
23
23
|
'5/6': '83.333%',
|
|
24
24
|
full: '100%',
|
|
25
|
+
none: 0,
|
|
26
|
+
'2xs': {
|
|
27
|
+
base: layout.mobile.spacing['2xs'],
|
|
28
|
+
md: layout.tablet.spacing['2xs'],
|
|
29
|
+
lg: layout.desktop.spacing['2xs'],
|
|
30
|
+
},
|
|
31
|
+
xs: {
|
|
32
|
+
base: layout.mobile.spacing.xs,
|
|
33
|
+
md: layout.tablet.spacing.xs,
|
|
34
|
+
lg: layout.desktop.spacing.xs,
|
|
35
|
+
},
|
|
36
|
+
sm: {
|
|
37
|
+
base: layout.mobile.spacing.sm,
|
|
38
|
+
md: layout.tablet.spacing.sm,
|
|
39
|
+
lg: layout.desktop.spacing.sm,
|
|
40
|
+
},
|
|
41
|
+
md: {
|
|
42
|
+
base: layout.mobile.spacing.md,
|
|
43
|
+
md: layout.tablet.spacing.md,
|
|
44
|
+
lg: layout.desktop.spacing.md,
|
|
45
|
+
},
|
|
46
|
+
lg: {
|
|
47
|
+
base: layout.mobile.spacing.lg,
|
|
48
|
+
md: layout.tablet.spacing.lg,
|
|
49
|
+
lg: layout.desktop.spacing.lg,
|
|
50
|
+
},
|
|
51
|
+
xl: {
|
|
52
|
+
base: layout.mobile.spacing.xl,
|
|
53
|
+
md: layout.tablet.spacing.xl,
|
|
54
|
+
lg: layout.desktop.spacing.xl,
|
|
55
|
+
},
|
|
56
|
+
'2xl': {
|
|
57
|
+
base: layout.mobile.spacing['2xl'],
|
|
58
|
+
md: layout.tablet.spacing['2xl'],
|
|
59
|
+
lg: layout.desktop.spacing['2xl'],
|
|
60
|
+
},
|
|
25
61
|
},
|
|
26
62
|
borderWidth,
|
|
27
63
|
borderRadius,
|
|
@@ -155,7 +191,20 @@ const shared = {
|
|
|
155
191
|
},
|
|
156
192
|
},
|
|
157
193
|
space: {
|
|
158
|
-
none: {
|
|
194
|
+
none: {
|
|
195
|
+
gap: {
|
|
196
|
+
base: layout.mobile.spacing.none,
|
|
197
|
+
md: layout.tablet.spacing.none,
|
|
198
|
+
lg: layout.desktop.spacing.none,
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
'2xs': {
|
|
202
|
+
gap: {
|
|
203
|
+
base: layout.mobile.spacing['2xs'],
|
|
204
|
+
md: layout.tablet.spacing['2xs'],
|
|
205
|
+
lg: layout.desktop.spacing['2xs'],
|
|
206
|
+
},
|
|
207
|
+
},
|
|
159
208
|
xs: {
|
|
160
209
|
gap: {
|
|
161
210
|
base: layout.mobile.spacing.xs,
|
|
@@ -191,6 +240,13 @@ const shared = {
|
|
|
191
240
|
lg: layout.desktop.spacing.xl,
|
|
192
241
|
},
|
|
193
242
|
},
|
|
243
|
+
'2xl': {
|
|
244
|
+
gap: {
|
|
245
|
+
base: layout.mobile.spacing['2xl'],
|
|
246
|
+
md: layout.tablet.spacing['2xl'],
|
|
247
|
+
lg: layout.desktop.spacing['2xl'],
|
|
248
|
+
},
|
|
249
|
+
},
|
|
194
250
|
},
|
|
195
251
|
},
|
|
196
252
|
},
|
package/build/tokens/color.d.ts
CHANGED
|
@@ -228,55 +228,55 @@ export declare const light: {
|
|
|
228
228
|
readonly danger: {
|
|
229
229
|
readonly border: "#de2612";
|
|
230
230
|
readonly foreground: {
|
|
231
|
-
readonly default: "#
|
|
231
|
+
readonly default: "#101010";
|
|
232
232
|
readonly subtle: "#de2612";
|
|
233
233
|
};
|
|
234
234
|
readonly surface: {
|
|
235
|
-
readonly default: "#
|
|
236
|
-
readonly subtle: "#
|
|
235
|
+
readonly default: "#ff634a";
|
|
236
|
+
readonly subtle: "#ffa89d";
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
readonly functional: {
|
|
240
|
-
readonly border: "#
|
|
240
|
+
readonly border: "#5b5b5b";
|
|
241
241
|
readonly foreground: {
|
|
242
|
-
readonly default: "#
|
|
243
|
-
readonly subtle: "#
|
|
242
|
+
readonly default: "#101010";
|
|
243
|
+
readonly subtle: "#5b5b5b";
|
|
244
244
|
};
|
|
245
245
|
readonly surface: {
|
|
246
|
-
readonly default: "#
|
|
246
|
+
readonly default: "#919191";
|
|
247
247
|
readonly subtle: "#d3d3d3";
|
|
248
248
|
};
|
|
249
249
|
};
|
|
250
250
|
readonly info: {
|
|
251
251
|
readonly border: "#1c6cd4";
|
|
252
252
|
readonly foreground: {
|
|
253
|
-
readonly default: "#
|
|
253
|
+
readonly default: "#101010";
|
|
254
254
|
readonly subtle: "#1c6cd4";
|
|
255
255
|
};
|
|
256
256
|
readonly surface: {
|
|
257
|
-
readonly default: "#
|
|
257
|
+
readonly default: "#6bb0ff";
|
|
258
258
|
readonly subtle: "#bcddff";
|
|
259
259
|
};
|
|
260
260
|
};
|
|
261
261
|
readonly positive: {
|
|
262
262
|
readonly border: "#0f834a";
|
|
263
263
|
readonly foreground: {
|
|
264
|
-
readonly default: "#
|
|
264
|
+
readonly default: "#101010";
|
|
265
265
|
readonly subtle: "#0f834a";
|
|
266
266
|
};
|
|
267
267
|
readonly surface: {
|
|
268
|
-
readonly default: "#
|
|
268
|
+
readonly default: "#36bf7d";
|
|
269
269
|
readonly subtle: "#a2e2c3";
|
|
270
270
|
};
|
|
271
271
|
};
|
|
272
272
|
readonly warning: {
|
|
273
273
|
readonly border: "#be5400";
|
|
274
274
|
readonly foreground: {
|
|
275
|
-
readonly default: "#
|
|
275
|
+
readonly default: "#101010";
|
|
276
276
|
readonly subtle: "#be5400";
|
|
277
277
|
};
|
|
278
278
|
readonly surface: {
|
|
279
|
-
readonly default: "#
|
|
279
|
+
readonly default: "#ff8010";
|
|
280
280
|
readonly subtle: "#ffcca8";
|
|
281
281
|
};
|
|
282
282
|
};
|
|
@@ -349,14 +349,14 @@ export declare const light: {
|
|
|
349
349
|
};
|
|
350
350
|
readonly functional: {
|
|
351
351
|
readonly border: {
|
|
352
|
+
readonly inverted: "#f7f7f7";
|
|
352
353
|
readonly strong: "#101010";
|
|
353
354
|
readonly subtle: "#101010";
|
|
354
|
-
readonly inverted: "#f7f7f7";
|
|
355
355
|
};
|
|
356
356
|
readonly foreground: {
|
|
357
|
+
readonly inverted: "#f7f7f7";
|
|
357
358
|
readonly strong: "#fcfbf2";
|
|
358
359
|
readonly subtle: "#101010";
|
|
359
|
-
readonly inverted: "#f7f7f7";
|
|
360
360
|
};
|
|
361
361
|
readonly surface: {
|
|
362
362
|
readonly strong: {
|
|
@@ -454,6 +454,8 @@ export declare const light: {
|
|
|
454
454
|
};
|
|
455
455
|
};
|
|
456
456
|
readonly text: {
|
|
457
|
+
readonly affirmative: "#0f834a";
|
|
458
|
+
readonly brand: "#7a42c8";
|
|
457
459
|
readonly inverted: "#fcfbf2";
|
|
458
460
|
readonly primary: "#101010";
|
|
459
461
|
readonly secondary: "#888888";
|
|
@@ -473,56 +475,56 @@ export declare const dark: {
|
|
|
473
475
|
readonly danger: {
|
|
474
476
|
readonly border: "#ff7964";
|
|
475
477
|
readonly foreground: {
|
|
476
|
-
readonly default: "#
|
|
478
|
+
readonly default: "#101010";
|
|
477
479
|
readonly subtle: "#ff7964";
|
|
478
480
|
};
|
|
479
481
|
readonly surface: {
|
|
480
|
-
readonly default: "#
|
|
481
|
-
readonly subtle: "#
|
|
482
|
+
readonly default: "#ff634a";
|
|
483
|
+
readonly subtle: "#ffa89d";
|
|
482
484
|
};
|
|
483
485
|
};
|
|
484
486
|
readonly functional: {
|
|
485
487
|
readonly border: "#b2afae";
|
|
486
488
|
readonly foreground: {
|
|
487
|
-
readonly default: "#
|
|
489
|
+
readonly default: "#101010";
|
|
488
490
|
readonly subtle: "#b2afae";
|
|
489
491
|
};
|
|
490
492
|
readonly surface: {
|
|
491
|
-
readonly default: "#
|
|
492
|
-
readonly subtle: "#
|
|
493
|
+
readonly default: "#919191";
|
|
494
|
+
readonly subtle: "#d3d3d3";
|
|
493
495
|
};
|
|
494
496
|
};
|
|
495
497
|
readonly info: {
|
|
496
498
|
readonly border: "#6bb0ff";
|
|
497
499
|
readonly foreground: {
|
|
498
|
-
readonly default: "#
|
|
500
|
+
readonly default: "#101010";
|
|
499
501
|
readonly subtle: "#6bb0ff";
|
|
500
502
|
};
|
|
501
503
|
readonly surface: {
|
|
502
|
-
readonly default: "#
|
|
503
|
-
readonly subtle: "#
|
|
504
|
+
readonly default: "#6bb0ff";
|
|
505
|
+
readonly subtle: "#bcddff";
|
|
504
506
|
};
|
|
505
507
|
};
|
|
506
508
|
readonly positive: {
|
|
507
509
|
readonly border: "#58ca93";
|
|
508
510
|
readonly foreground: {
|
|
509
|
-
readonly default: "#
|
|
511
|
+
readonly default: "#101010";
|
|
510
512
|
readonly subtle: "#58ca93";
|
|
511
513
|
};
|
|
512
514
|
readonly surface: {
|
|
513
|
-
readonly default: "#
|
|
514
|
-
readonly subtle: "#
|
|
515
|
+
readonly default: "#36bf7d";
|
|
516
|
+
readonly subtle: "#a2e2c3";
|
|
515
517
|
};
|
|
516
518
|
};
|
|
517
519
|
readonly warning: {
|
|
518
520
|
readonly border: "#ff9639";
|
|
519
521
|
readonly foreground: {
|
|
520
|
-
readonly default: "#
|
|
522
|
+
readonly default: "#101010";
|
|
521
523
|
readonly subtle: "#ff9639";
|
|
522
524
|
};
|
|
523
525
|
readonly surface: {
|
|
524
|
-
readonly default: "#
|
|
525
|
-
readonly subtle: "#
|
|
526
|
+
readonly default: "#ff8010";
|
|
527
|
+
readonly subtle: "#ffcca8";
|
|
526
528
|
};
|
|
527
529
|
};
|
|
528
530
|
};
|
|
@@ -594,14 +596,14 @@ export declare const dark: {
|
|
|
594
596
|
};
|
|
595
597
|
readonly functional: {
|
|
596
598
|
readonly border: {
|
|
599
|
+
readonly inverted: "#f7f7f7";
|
|
597
600
|
readonly strong: "#ebebeb";
|
|
598
601
|
readonly subtle: "#ebebeb";
|
|
599
|
-
readonly inverted: "#f7f7f7";
|
|
600
602
|
};
|
|
601
603
|
readonly foreground: {
|
|
604
|
+
readonly inverted: "#f7f7f7";
|
|
602
605
|
readonly strong: "#fcfbf2";
|
|
603
606
|
readonly subtle: "#ebebeb";
|
|
604
|
-
readonly inverted: "#f7f7f7";
|
|
605
607
|
};
|
|
606
608
|
readonly surface: {
|
|
607
609
|
readonly strong: {
|
|
@@ -613,8 +615,8 @@ export declare const dark: {
|
|
|
613
615
|
readonly active: "#4c4c4c";
|
|
614
616
|
readonly hover: "#3a3837";
|
|
615
617
|
readonly inverted: {
|
|
616
|
-
readonly active: "#
|
|
617
|
-
readonly hover: "#
|
|
618
|
+
readonly active: "#3a3837";
|
|
619
|
+
readonly hover: "#3f3f3f";
|
|
618
620
|
};
|
|
619
621
|
};
|
|
620
622
|
};
|
|
@@ -699,6 +701,8 @@ export declare const dark: {
|
|
|
699
701
|
};
|
|
700
702
|
};
|
|
701
703
|
readonly text: {
|
|
704
|
+
readonly affirmative: "#58ca93";
|
|
705
|
+
readonly brand: "#af90de";
|
|
702
706
|
readonly inverted: "#191917";
|
|
703
707
|
readonly primary: "#ebebeb";
|
|
704
708
|
readonly secondary: "#b2afae";
|
|
@@ -932,55 +936,55 @@ declare const color: {
|
|
|
932
936
|
readonly danger: {
|
|
933
937
|
readonly border: "#de2612";
|
|
934
938
|
readonly foreground: {
|
|
935
|
-
readonly default: "#
|
|
939
|
+
readonly default: "#101010";
|
|
936
940
|
readonly subtle: "#de2612";
|
|
937
941
|
};
|
|
938
942
|
readonly surface: {
|
|
939
|
-
readonly default: "#
|
|
940
|
-
readonly subtle: "#
|
|
943
|
+
readonly default: "#ff634a";
|
|
944
|
+
readonly subtle: "#ffa89d";
|
|
941
945
|
};
|
|
942
946
|
};
|
|
943
947
|
readonly functional: {
|
|
944
|
-
readonly border: "#
|
|
948
|
+
readonly border: "#5b5b5b";
|
|
945
949
|
readonly foreground: {
|
|
946
|
-
readonly default: "#
|
|
947
|
-
readonly subtle: "#
|
|
950
|
+
readonly default: "#101010";
|
|
951
|
+
readonly subtle: "#5b5b5b";
|
|
948
952
|
};
|
|
949
953
|
readonly surface: {
|
|
950
|
-
readonly default: "#
|
|
954
|
+
readonly default: "#919191";
|
|
951
955
|
readonly subtle: "#d3d3d3";
|
|
952
956
|
};
|
|
953
957
|
};
|
|
954
958
|
readonly info: {
|
|
955
959
|
readonly border: "#1c6cd4";
|
|
956
960
|
readonly foreground: {
|
|
957
|
-
readonly default: "#
|
|
961
|
+
readonly default: "#101010";
|
|
958
962
|
readonly subtle: "#1c6cd4";
|
|
959
963
|
};
|
|
960
964
|
readonly surface: {
|
|
961
|
-
readonly default: "#
|
|
965
|
+
readonly default: "#6bb0ff";
|
|
962
966
|
readonly subtle: "#bcddff";
|
|
963
967
|
};
|
|
964
968
|
};
|
|
965
969
|
readonly positive: {
|
|
966
970
|
readonly border: "#0f834a";
|
|
967
971
|
readonly foreground: {
|
|
968
|
-
readonly default: "#
|
|
972
|
+
readonly default: "#101010";
|
|
969
973
|
readonly subtle: "#0f834a";
|
|
970
974
|
};
|
|
971
975
|
readonly surface: {
|
|
972
|
-
readonly default: "#
|
|
976
|
+
readonly default: "#36bf7d";
|
|
973
977
|
readonly subtle: "#a2e2c3";
|
|
974
978
|
};
|
|
975
979
|
};
|
|
976
980
|
readonly warning: {
|
|
977
981
|
readonly border: "#be5400";
|
|
978
982
|
readonly foreground: {
|
|
979
|
-
readonly default: "#
|
|
983
|
+
readonly default: "#101010";
|
|
980
984
|
readonly subtle: "#be5400";
|
|
981
985
|
};
|
|
982
986
|
readonly surface: {
|
|
983
|
-
readonly default: "#
|
|
987
|
+
readonly default: "#ff8010";
|
|
984
988
|
readonly subtle: "#ffcca8";
|
|
985
989
|
};
|
|
986
990
|
};
|
|
@@ -1053,14 +1057,14 @@ declare const color: {
|
|
|
1053
1057
|
};
|
|
1054
1058
|
readonly functional: {
|
|
1055
1059
|
readonly border: {
|
|
1060
|
+
readonly inverted: "#f7f7f7";
|
|
1056
1061
|
readonly strong: "#101010";
|
|
1057
1062
|
readonly subtle: "#101010";
|
|
1058
|
-
readonly inverted: "#f7f7f7";
|
|
1059
1063
|
};
|
|
1060
1064
|
readonly foreground: {
|
|
1065
|
+
readonly inverted: "#f7f7f7";
|
|
1061
1066
|
readonly strong: "#fcfbf2";
|
|
1062
1067
|
readonly subtle: "#101010";
|
|
1063
|
-
readonly inverted: "#f7f7f7";
|
|
1064
1068
|
};
|
|
1065
1069
|
readonly surface: {
|
|
1066
1070
|
readonly strong: {
|
|
@@ -1158,6 +1162,8 @@ declare const color: {
|
|
|
1158
1162
|
};
|
|
1159
1163
|
};
|
|
1160
1164
|
readonly text: {
|
|
1165
|
+
readonly affirmative: "#0f834a";
|
|
1166
|
+
readonly brand: "#7a42c8";
|
|
1161
1167
|
readonly inverted: "#fcfbf2";
|
|
1162
1168
|
readonly primary: "#101010";
|
|
1163
1169
|
readonly secondary: "#888888";
|
|
@@ -1177,56 +1183,56 @@ declare const color: {
|
|
|
1177
1183
|
readonly danger: {
|
|
1178
1184
|
readonly border: "#ff7964";
|
|
1179
1185
|
readonly foreground: {
|
|
1180
|
-
readonly default: "#
|
|
1186
|
+
readonly default: "#101010";
|
|
1181
1187
|
readonly subtle: "#ff7964";
|
|
1182
1188
|
};
|
|
1183
1189
|
readonly surface: {
|
|
1184
|
-
readonly default: "#
|
|
1185
|
-
readonly subtle: "#
|
|
1190
|
+
readonly default: "#ff634a";
|
|
1191
|
+
readonly subtle: "#ffa89d";
|
|
1186
1192
|
};
|
|
1187
1193
|
};
|
|
1188
1194
|
readonly functional: {
|
|
1189
1195
|
readonly border: "#b2afae";
|
|
1190
1196
|
readonly foreground: {
|
|
1191
|
-
readonly default: "#
|
|
1197
|
+
readonly default: "#101010";
|
|
1192
1198
|
readonly subtle: "#b2afae";
|
|
1193
1199
|
};
|
|
1194
1200
|
readonly surface: {
|
|
1195
|
-
readonly default: "#
|
|
1196
|
-
readonly subtle: "#
|
|
1201
|
+
readonly default: "#919191";
|
|
1202
|
+
readonly subtle: "#d3d3d3";
|
|
1197
1203
|
};
|
|
1198
1204
|
};
|
|
1199
1205
|
readonly info: {
|
|
1200
1206
|
readonly border: "#6bb0ff";
|
|
1201
1207
|
readonly foreground: {
|
|
1202
|
-
readonly default: "#
|
|
1208
|
+
readonly default: "#101010";
|
|
1203
1209
|
readonly subtle: "#6bb0ff";
|
|
1204
1210
|
};
|
|
1205
1211
|
readonly surface: {
|
|
1206
|
-
readonly default: "#
|
|
1207
|
-
readonly subtle: "#
|
|
1212
|
+
readonly default: "#6bb0ff";
|
|
1213
|
+
readonly subtle: "#bcddff";
|
|
1208
1214
|
};
|
|
1209
1215
|
};
|
|
1210
1216
|
readonly positive: {
|
|
1211
1217
|
readonly border: "#58ca93";
|
|
1212
1218
|
readonly foreground: {
|
|
1213
|
-
readonly default: "#
|
|
1219
|
+
readonly default: "#101010";
|
|
1214
1220
|
readonly subtle: "#58ca93";
|
|
1215
1221
|
};
|
|
1216
1222
|
readonly surface: {
|
|
1217
|
-
readonly default: "#
|
|
1218
|
-
readonly subtle: "#
|
|
1223
|
+
readonly default: "#36bf7d";
|
|
1224
|
+
readonly subtle: "#a2e2c3";
|
|
1219
1225
|
};
|
|
1220
1226
|
};
|
|
1221
1227
|
readonly warning: {
|
|
1222
1228
|
readonly border: "#ff9639";
|
|
1223
1229
|
readonly foreground: {
|
|
1224
|
-
readonly default: "#
|
|
1230
|
+
readonly default: "#101010";
|
|
1225
1231
|
readonly subtle: "#ff9639";
|
|
1226
1232
|
};
|
|
1227
1233
|
readonly surface: {
|
|
1228
|
-
readonly default: "#
|
|
1229
|
-
readonly subtle: "#
|
|
1234
|
+
readonly default: "#ff8010";
|
|
1235
|
+
readonly subtle: "#ffcca8";
|
|
1230
1236
|
};
|
|
1231
1237
|
};
|
|
1232
1238
|
};
|
|
@@ -1298,14 +1304,14 @@ declare const color: {
|
|
|
1298
1304
|
};
|
|
1299
1305
|
readonly functional: {
|
|
1300
1306
|
readonly border: {
|
|
1307
|
+
readonly inverted: "#f7f7f7";
|
|
1301
1308
|
readonly strong: "#ebebeb";
|
|
1302
1309
|
readonly subtle: "#ebebeb";
|
|
1303
|
-
readonly inverted: "#f7f7f7";
|
|
1304
1310
|
};
|
|
1305
1311
|
readonly foreground: {
|
|
1312
|
+
readonly inverted: "#f7f7f7";
|
|
1306
1313
|
readonly strong: "#fcfbf2";
|
|
1307
1314
|
readonly subtle: "#ebebeb";
|
|
1308
|
-
readonly inverted: "#f7f7f7";
|
|
1309
1315
|
};
|
|
1310
1316
|
readonly surface: {
|
|
1311
1317
|
readonly strong: {
|
|
@@ -1317,8 +1323,8 @@ declare const color: {
|
|
|
1317
1323
|
readonly active: "#4c4c4c";
|
|
1318
1324
|
readonly hover: "#3a3837";
|
|
1319
1325
|
readonly inverted: {
|
|
1320
|
-
readonly active: "#
|
|
1321
|
-
readonly hover: "#
|
|
1326
|
+
readonly active: "#3a3837";
|
|
1327
|
+
readonly hover: "#3f3f3f";
|
|
1322
1328
|
};
|
|
1323
1329
|
};
|
|
1324
1330
|
};
|
|
@@ -1403,6 +1409,8 @@ declare const color: {
|
|
|
1403
1409
|
};
|
|
1404
1410
|
};
|
|
1405
1411
|
readonly text: {
|
|
1412
|
+
readonly affirmative: "#58ca93";
|
|
1413
|
+
readonly brand: "#af90de";
|
|
1406
1414
|
readonly inverted: "#191917";
|
|
1407
1415
|
readonly primary: "#ebebeb";
|
|
1408
1416
|
readonly secondary: "#b2afae";
|
package/build/tokens/color.js
CHANGED
|
@@ -228,55 +228,55 @@ export const light = {
|
|
|
228
228
|
danger: {
|
|
229
229
|
border: '#de2612',
|
|
230
230
|
foreground: {
|
|
231
|
-
default: '#
|
|
231
|
+
default: '#101010',
|
|
232
232
|
subtle: '#de2612',
|
|
233
233
|
},
|
|
234
234
|
surface: {
|
|
235
|
-
default: '#
|
|
236
|
-
subtle: '#
|
|
235
|
+
default: '#ff634a',
|
|
236
|
+
subtle: '#ffa89d',
|
|
237
237
|
},
|
|
238
238
|
},
|
|
239
239
|
functional: {
|
|
240
|
-
border: '#
|
|
240
|
+
border: '#5b5b5b',
|
|
241
241
|
foreground: {
|
|
242
|
-
default: '#
|
|
243
|
-
subtle: '#
|
|
242
|
+
default: '#101010',
|
|
243
|
+
subtle: '#5b5b5b',
|
|
244
244
|
},
|
|
245
245
|
surface: {
|
|
246
|
-
default: '#
|
|
246
|
+
default: '#919191',
|
|
247
247
|
subtle: '#d3d3d3',
|
|
248
248
|
},
|
|
249
249
|
},
|
|
250
250
|
info: {
|
|
251
251
|
border: '#1c6cd4',
|
|
252
252
|
foreground: {
|
|
253
|
-
default: '#
|
|
253
|
+
default: '#101010',
|
|
254
254
|
subtle: '#1c6cd4',
|
|
255
255
|
},
|
|
256
256
|
surface: {
|
|
257
|
-
default: '#
|
|
257
|
+
default: '#6bb0ff',
|
|
258
258
|
subtle: '#bcddff',
|
|
259
259
|
},
|
|
260
260
|
},
|
|
261
261
|
positive: {
|
|
262
262
|
border: '#0f834a',
|
|
263
263
|
foreground: {
|
|
264
|
-
default: '#
|
|
264
|
+
default: '#101010',
|
|
265
265
|
subtle: '#0f834a',
|
|
266
266
|
},
|
|
267
267
|
surface: {
|
|
268
|
-
default: '#
|
|
268
|
+
default: '#36bf7d',
|
|
269
269
|
subtle: '#a2e2c3',
|
|
270
270
|
},
|
|
271
271
|
},
|
|
272
272
|
warning: {
|
|
273
273
|
border: '#be5400',
|
|
274
274
|
foreground: {
|
|
275
|
-
default: '#
|
|
275
|
+
default: '#101010',
|
|
276
276
|
subtle: '#be5400',
|
|
277
277
|
},
|
|
278
278
|
surface: {
|
|
279
|
-
default: '#
|
|
279
|
+
default: '#ff8010',
|
|
280
280
|
subtle: '#ffcca8',
|
|
281
281
|
},
|
|
282
282
|
},
|
|
@@ -349,14 +349,14 @@ export const light = {
|
|
|
349
349
|
},
|
|
350
350
|
functional: {
|
|
351
351
|
border: {
|
|
352
|
+
inverted: '#f7f7f7',
|
|
352
353
|
strong: '#101010',
|
|
353
354
|
subtle: '#101010',
|
|
354
|
-
inverted: '#f7f7f7',
|
|
355
355
|
},
|
|
356
356
|
foreground: {
|
|
357
|
+
inverted: '#f7f7f7',
|
|
357
358
|
strong: '#fcfbf2',
|
|
358
359
|
subtle: '#101010',
|
|
359
|
-
inverted: '#f7f7f7',
|
|
360
360
|
},
|
|
361
361
|
surface: {
|
|
362
362
|
strong: {
|
|
@@ -454,6 +454,8 @@ export const light = {
|
|
|
454
454
|
},
|
|
455
455
|
},
|
|
456
456
|
text: {
|
|
457
|
+
affirmative: '#0f834a',
|
|
458
|
+
brand: '#7a42c8',
|
|
457
459
|
inverted: '#fcfbf2',
|
|
458
460
|
primary: '#101010',
|
|
459
461
|
secondary: '#888888',
|
|
@@ -473,56 +475,56 @@ export const dark = {
|
|
|
473
475
|
danger: {
|
|
474
476
|
border: '#ff7964',
|
|
475
477
|
foreground: {
|
|
476
|
-
default: '#
|
|
478
|
+
default: '#101010',
|
|
477
479
|
subtle: '#ff7964',
|
|
478
480
|
},
|
|
479
481
|
surface: {
|
|
480
|
-
default: '#
|
|
481
|
-
subtle: '#
|
|
482
|
+
default: '#ff634a',
|
|
483
|
+
subtle: '#ffa89d',
|
|
482
484
|
},
|
|
483
485
|
},
|
|
484
486
|
functional: {
|
|
485
487
|
border: '#b2afae',
|
|
486
488
|
foreground: {
|
|
487
|
-
default: '#
|
|
489
|
+
default: '#101010',
|
|
488
490
|
subtle: '#b2afae',
|
|
489
491
|
},
|
|
490
492
|
surface: {
|
|
491
|
-
default: '#
|
|
492
|
-
subtle: '#
|
|
493
|
+
default: '#919191',
|
|
494
|
+
subtle: '#d3d3d3',
|
|
493
495
|
},
|
|
494
496
|
},
|
|
495
497
|
info: {
|
|
496
498
|
border: '#6bb0ff',
|
|
497
499
|
foreground: {
|
|
498
|
-
default: '#
|
|
500
|
+
default: '#101010',
|
|
499
501
|
subtle: '#6bb0ff',
|
|
500
502
|
},
|
|
501
503
|
surface: {
|
|
502
|
-
default: '#
|
|
503
|
-
subtle: '#
|
|
504
|
+
default: '#6bb0ff',
|
|
505
|
+
subtle: '#bcddff',
|
|
504
506
|
},
|
|
505
507
|
},
|
|
506
508
|
positive: {
|
|
507
509
|
border: '#58ca93',
|
|
508
510
|
foreground: {
|
|
509
|
-
default: '#
|
|
511
|
+
default: '#101010',
|
|
510
512
|
subtle: '#58ca93',
|
|
511
513
|
},
|
|
512
514
|
surface: {
|
|
513
|
-
default: '#
|
|
514
|
-
subtle: '#
|
|
515
|
+
default: '#36bf7d',
|
|
516
|
+
subtle: '#a2e2c3',
|
|
515
517
|
},
|
|
516
518
|
},
|
|
517
519
|
warning: {
|
|
518
520
|
border: '#ff9639',
|
|
519
521
|
foreground: {
|
|
520
|
-
default: '#
|
|
522
|
+
default: '#101010',
|
|
521
523
|
subtle: '#ff9639',
|
|
522
524
|
},
|
|
523
525
|
surface: {
|
|
524
|
-
default: '#
|
|
525
|
-
subtle: '#
|
|
526
|
+
default: '#ff8010',
|
|
527
|
+
subtle: '#ffcca8',
|
|
526
528
|
},
|
|
527
529
|
},
|
|
528
530
|
},
|
|
@@ -594,14 +596,14 @@ export const dark = {
|
|
|
594
596
|
},
|
|
595
597
|
functional: {
|
|
596
598
|
border: {
|
|
599
|
+
inverted: '#f7f7f7',
|
|
597
600
|
strong: '#ebebeb',
|
|
598
601
|
subtle: '#ebebeb',
|
|
599
|
-
inverted: '#f7f7f7',
|
|
600
602
|
},
|
|
601
603
|
foreground: {
|
|
604
|
+
inverted: '#f7f7f7',
|
|
602
605
|
strong: '#fcfbf2',
|
|
603
606
|
subtle: '#ebebeb',
|
|
604
|
-
inverted: '#f7f7f7',
|
|
605
607
|
},
|
|
606
608
|
surface: {
|
|
607
609
|
strong: {
|
|
@@ -613,8 +615,8 @@ export const dark = {
|
|
|
613
615
|
active: '#4c4c4c',
|
|
614
616
|
hover: '#3a3837',
|
|
615
617
|
inverted: {
|
|
616
|
-
active: '#
|
|
617
|
-
hover: '#
|
|
618
|
+
active: '#3a3837',
|
|
619
|
+
hover: '#3f3f3f',
|
|
618
620
|
},
|
|
619
621
|
},
|
|
620
622
|
},
|
|
@@ -699,6 +701,8 @@ export const dark = {
|
|
|
699
701
|
},
|
|
700
702
|
},
|
|
701
703
|
text: {
|
|
704
|
+
affirmative: '#58ca93',
|
|
705
|
+
brand: '#af90de',
|
|
702
706
|
inverted: '#191917',
|
|
703
707
|
primary: '#ebebeb',
|
|
704
708
|
secondary: '#b2afae',
|