nova-design-model-testing 0.0.2 → 0.0.3
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/guidelines/components/action-sheet.md +30 -0
- package/guidelines/components/avatar.md +30 -0
- package/guidelines/components/badge.md +45 -0
- package/guidelines/components/bottom-navigation.md +30 -0
- package/guidelines/components/bottom-sheet.md +30 -0
- package/guidelines/components/button-group.md +56 -0
- package/guidelines/components/button.md +76 -0
- package/guidelines/components/card.md +30 -0
- package/guidelines/components/checkbox.md +30 -0
- package/guidelines/components/chips.md +30 -0
- package/guidelines/components/confirm-sheet.md +30 -0
- package/guidelines/components/date-picker.md +30 -0
- package/guidelines/components/date-wheel.md +30 -0
- package/guidelines/components/icon.md +29 -0
- package/guidelines/components/inline-notification.md +30 -0
- package/guidelines/components/list-item.md +30 -0
- package/guidelines/components/list.md +30 -0
- package/guidelines/components/loading-indicator.md +30 -0
- package/guidelines/components/menu.md +57 -0
- package/guidelines/components/passcode.md +35 -0
- package/guidelines/components/radio.md +62 -0
- package/guidelines/components/tabs.md +30 -0
- package/guidelines/components/text-field.md +68 -0
- package/guidelines/components/toast.md +30 -0
- package/guidelines/components/toggle.md +30 -0
- package/guidelines/components/top-navigation.md +30 -0
- package/guidelines/foundations/colors.md +43 -0
- package/guidelines/foundations/radius.md +16 -0
- package/guidelines/foundations/spacing.md +16 -0
- package/guidelines/guidelines.md +36 -0
- package/guidelines/overview-components.md +16 -0
- package/guidelines/overview-icons.md +18 -0
- package/guidelines/overview-setup.md +15 -0
- package/package.json +1 -1
- package/public/vite.svg +1 -0
- package/src/App.css +42 -0
- package/src/App.jsx +6328 -0
- package/src/assets/fonts/inter_bold.otf +0 -0
- package/src/assets/fonts/inter_italic.otf +0 -0
- package/src/assets/fonts/inter_medium.otf +0 -0
- package/src/assets/fonts/inter_regular.otf +0 -0
- package/src/assets/fonts/inter_semi_bold.otf +0 -0
- package/src/assets/fonts/space_grotesk_bold.otf +0 -0
- package/src/assets/fonts/space_grotesk_medium.otf +0 -0
- package/src/assets/fonts/space_grotesk_regular.otf +0 -0
- package/src/assets/fonts/space_grotesk_semi_bold.otf +0 -0
- package/src/assets/icons/Style=Line-1.svg +5 -0
- package/src/assets/icons/Style=Line-2.svg +5 -0
- package/src/assets/icons/Style=Line-3.svg +5 -0
- package/src/assets/icons/Style=Line.svg +5 -0
- package/src/assets/icons/Style=Solid.svg +7 -0
- package/src/assets/icons/line/Style=Line-1.svg +5 -0
- package/src/assets/icons/line/Style=Line-2.svg +5 -0
- package/src/assets/icons/line/Style=Line-3.svg +5 -0
- package/src/assets/icons/line/Style=Line.svg +5 -0
- package/src/assets/icons/line/arrow_circle_down.svg +5 -0
- package/src/assets/icons/line/arrow_circle_down_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_circle_down_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_circle_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_circle_right.svg +3 -0
- package/src/assets/icons/line/arrow_circle_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_circle_up.svg +5 -0
- package/src/assets/icons/line/arrow_circle_up_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_circle_up_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_down.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_down_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_down_left_vturn.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_down_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_up.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_up_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_narrow_up_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrow_turn_down_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrows_down.svg +5 -0
- package/src/assets/icons/line/arrows_left_ltr.svg +5 -0
- package/src/assets/icons/line/arrows_right_ltr.svg +5 -0
- package/src/assets/icons/line/arrows_up.svg +5 -0
- package/src/assets/icons/line/chevron-selector-vertical.svg +5 -0
- package/src/assets/icons/line/chevron_down.svg +5 -0
- package/src/assets/icons/line/chevron_down_double.svg +5 -0
- package/src/assets/icons/line/chevron_left_double_ltr.svg +5 -0
- package/src/assets/icons/line/chevron_left_ltr.svg +5 -0
- package/src/assets/icons/line/chevron_right_double_ltr.svg +5 -0
- package/src/assets/icons/line/chevron_right_ltr.svg +5 -0
- package/src/assets/icons/line/chevron_selector_vertical.svg +5 -0
- package/src/assets/icons/line/chevron_up.svg +5 -0
- package/src/assets/icons/line/chevron_up_double.svg +5 -0
- package/src/assets/icons/line/coin_swap.svg +3 -0
- package/src/assets/icons/line/credit_card_edit.svg +5 -0
- package/src/assets/icons/line/dev.svg +5 -0
- package/src/assets/icons/line/expand_01.svg +5 -0
- package/src/assets/icons/line/expand_02.svg +5 -0
- package/src/assets/icons/line/flip_backward_ltr.svg +5 -0
- package/src/assets/icons/line/flip_forward_ltr.svg +5 -0
- package/src/assets/icons/line/home_05.svg +3 -0
- package/src/assets/icons/line/infinity.svg +5 -0
- package/src/assets/icons/line/minimise.svg +6 -0
- package/src/assets/icons/line/moon_01.svg +3 -0
- package/src/assets/icons/line/paint.svg +3 -0
- package/src/assets/icons/line/plus_circle.svg +3 -0
- package/src/assets/icons/line/refresh.svg +5 -0
- package/src/assets/icons/line/reset.svg +5 -0
- package/src/assets/icons/line/reverse_left_ltr.svg +5 -0
- package/src/assets/icons/line/reverse_right_ltr.svg +5 -0
- package/src/assets/icons/line/safe_01.svg +3 -0
- package/src/assets/icons/line/search.svg +3 -0
- package/src/assets/icons/line/shield_star.svg +3 -0
- package/src/assets/icons/line/sun.svg +3 -0
- package/src/assets/icons/line/switch_horizontal.svg +5 -0
- package/src/assets/icons/line/switch_vertical.svg +5 -0
- package/src/assets/icons/solid/arrow_circle_right.svg +3 -0
- package/src/assets/icons/solid/coin_swap.svg +6 -0
- package/src/assets/icons/solid/credit_card_edit.svg +6 -0
- package/src/assets/icons/solid/safe_01.svg +5 -0
- package/src/assets/images/New user_gold.png +0 -0
- package/src/assets/images/Sheet-1.png +0 -0
- package/src/assets/images/Sheet.png +0 -0
- package/src/assets/logos/botim_credit_dark.svg +22 -0
- package/src/assets/logos/botim_credit_light.svg +31 -0
- package/src/assets/logos/botim_invest_dark.svg +22 -0
- package/src/assets/logos/botim_invest_light.svg +31 -0
- package/src/assets/logos/botim_main_dark.svg +18 -0
- package/src/assets/logos/botim_main_light.svg +17 -0
- package/src/assets/logos/botim_money_dark.svg +26 -0
- package/src/assets/logos/botim_money_light.svg +28 -0
- package/src/assets/logos/botim_pay_dark.svg +24 -0
- package/src/assets/logos/botim_pay_light.svg +35 -0
- package/src/assets/react.svg +1 -0
- package/src/design-system/components/action-sheet/ActionSheet.jsx +3 -0
- package/src/design-system/components/avatar/Avatar.jsx +3 -0
- package/src/design-system/components/badge/Badge.jsx +68 -0
- package/src/design-system/components/bottom-navigation/BottomNavigation.jsx +3 -0
- package/src/design-system/components/bottom-sheet/BottomSheet.jsx +3 -0
- package/src/design-system/components/button/Button.jsx +310 -0
- package/src/design-system/components/button-group/ButtonGroup.jsx +150 -0
- package/src/design-system/components/card/Card.jsx +3 -0
- package/src/design-system/components/checkbox/Checkbox.jsx +3 -0
- package/src/design-system/components/chips/Chips.jsx +3 -0
- package/src/design-system/components/confirm-sheet/ConfirmSheet.jsx +3 -0
- package/src/design-system/components/date-picker/DatePicker.jsx +3 -0
- package/src/design-system/components/date-wheel/DateWheel.jsx +3 -0
- package/src/design-system/components/digit-field/DigitField.jsx +191 -0
- package/src/design-system/components/icon/Icon.jsx +154 -0
- package/src/design-system/components/inline-notification/InlineNotification.jsx +3 -0
- package/src/design-system/components/list/List.jsx +3 -0
- package/src/design-system/components/list-item/ListItem.jsx +3 -0
- package/src/design-system/components/loading-indicator/LoadingIndicator.jsx +3 -0
- package/src/design-system/components/logo/AppLogo.jsx +35 -0
- package/src/design-system/components/logo/BrandingLogo.jsx +39 -0
- package/src/design-system/components/logo/Logo.jsx +39 -0
- package/src/design-system/components/menu/Menu.jsx +100 -0
- package/src/design-system/components/menu/MenuItem.jsx +184 -0
- package/src/design-system/components/passcode/Passcode.jsx +165 -0
- package/src/design-system/components/radio/Radio.jsx +135 -0
- package/src/design-system/components/section-header-footer/SectionHeaderFooter.jsx +7 -0
- package/src/design-system/components/tabs/Tabs.jsx +3 -0
- package/src/design-system/components/text-field/TextField.jsx +308 -0
- package/src/design-system/components/toast/Toast.jsx +3 -0
- package/src/design-system/components/toggle/Toggle.jsx +3 -0
- package/src/design-system/components/top-navigation/TopNavigation.jsx +3 -0
- package/src/design-system/theme/ThemeContext.jsx +11 -0
- package/src/design-system/tokens/primitives/colors.json +122 -0
- package/src/design-system/tokens/primitives/radius.json +9 -0
- package/src/design-system/tokens/primitives/sizes.json +10 -0
- package/src/design-system/tokens/primitives/spacing.json +10 -0
- package/src/design-system/tokens/semantic/colors.dark.json +139 -0
- package/src/design-system/tokens/semantic/colors.light.json +139 -0
- package/src/design-system/tokens/semantic/spacing.json +18 -0
- package/src/index.css +99 -0
- package/src/main.jsx +10 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"gray": {
|
|
3
|
+
"1": "#FFFFFF",
|
|
4
|
+
"7": "#8C8C8C",
|
|
5
|
+
"9": "#262626"
|
|
6
|
+
},
|
|
7
|
+
"background": {
|
|
8
|
+
"neutral": {
|
|
9
|
+
"secondary": "#f2f2fd"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"oxfordBlue": {
|
|
13
|
+
"50": "#ffffff",
|
|
14
|
+
"100": "#f4f4f7",
|
|
15
|
+
"200": "#e0e0e5",
|
|
16
|
+
"300": "#b7b7bf",
|
|
17
|
+
"400": "#9f9faa",
|
|
18
|
+
"500": "#868694",
|
|
19
|
+
"600": "#6e6e7f",
|
|
20
|
+
"700": "#343440",
|
|
21
|
+
"800": "#19191c",
|
|
22
|
+
"900": "#080809"
|
|
23
|
+
},
|
|
24
|
+
"botimBlue": {
|
|
25
|
+
"50": "#f2f2fd",
|
|
26
|
+
"100": "#dfe5ff",
|
|
27
|
+
"200": "#c0caff",
|
|
28
|
+
"300": "#a0b0ff",
|
|
29
|
+
"400": "#8196ff",
|
|
30
|
+
"500": "#617bff",
|
|
31
|
+
"600": "#4161ff",
|
|
32
|
+
"700": "#2247ff",
|
|
33
|
+
"800": "#0123ff",
|
|
34
|
+
"900": "#011fe5",
|
|
35
|
+
"950": "#081b99"
|
|
36
|
+
},
|
|
37
|
+
"nonPhotoBlue": {
|
|
38
|
+
"50": "#f6fdff",
|
|
39
|
+
"100": "#edfcff",
|
|
40
|
+
"200": "#e3faff",
|
|
41
|
+
"300": "#daf9ff",
|
|
42
|
+
"400": "#d1f7ff",
|
|
43
|
+
"500": "#c8f6ff",
|
|
44
|
+
"600": "#bff4ff",
|
|
45
|
+
"700": "#b6f3ff",
|
|
46
|
+
"800": "#acf1ff",
|
|
47
|
+
"900": "#a3f0ff",
|
|
48
|
+
"950": "#49d7f2"
|
|
49
|
+
},
|
|
50
|
+
"engineeringRed": {
|
|
51
|
+
"100": "#feebeb",
|
|
52
|
+
"200": "#facdcd",
|
|
53
|
+
"700": "#f41915",
|
|
54
|
+
"800": "#cf0c0a",
|
|
55
|
+
"900": "#b21313",
|
|
56
|
+
"950": "#330505"
|
|
57
|
+
},
|
|
58
|
+
"pigmentGreen": {
|
|
59
|
+
"100": "#e7f8ee",
|
|
60
|
+
"200": "#cdecda",
|
|
61
|
+
"700": "#16da68",
|
|
62
|
+
"900": "#05a246",
|
|
63
|
+
"950": "#03662c"
|
|
64
|
+
},
|
|
65
|
+
"goldenrod": {
|
|
66
|
+
"100": "#fffadb",
|
|
67
|
+
"200": "#ffefaf",
|
|
68
|
+
"700": "#fbcf23",
|
|
69
|
+
"900": "#eec005",
|
|
70
|
+
"950": "#9e770c"
|
|
71
|
+
},
|
|
72
|
+
"opacity": {
|
|
73
|
+
"black": {
|
|
74
|
+
"10": "#0505051a",
|
|
75
|
+
"20": "#05050533",
|
|
76
|
+
"30": "#0505054d",
|
|
77
|
+
"40": "#05050566",
|
|
78
|
+
"50": "#05050580",
|
|
79
|
+
"60": "#05050599",
|
|
80
|
+
"70": "#050505b2",
|
|
81
|
+
"80": "#050505cc",
|
|
82
|
+
"90": "#050505e5",
|
|
83
|
+
"100": "#050505"
|
|
84
|
+
},
|
|
85
|
+
"grey": {
|
|
86
|
+
"10": "#19191c1a",
|
|
87
|
+
"20": "#19191c33",
|
|
88
|
+
"30": "#19191c4d",
|
|
89
|
+
"40": "#19191c66",
|
|
90
|
+
"50": "#19191c80",
|
|
91
|
+
"60": "#19191c99",
|
|
92
|
+
"70": "#19191cb2",
|
|
93
|
+
"80": "#19191ccc",
|
|
94
|
+
"90": "#19191ce5",
|
|
95
|
+
"100": "#19191c"
|
|
96
|
+
},
|
|
97
|
+
"white": {
|
|
98
|
+
"10": "#b7b7bf1a",
|
|
99
|
+
"20": "#b7b7bf33",
|
|
100
|
+
"30": "#b7b7bf4d",
|
|
101
|
+
"40": "#b7b7bf66",
|
|
102
|
+
"50": "#b7b7bf80",
|
|
103
|
+
"60": "#b7b7bf99",
|
|
104
|
+
"70": "#b7b7bfb2",
|
|
105
|
+
"80": "#b7b7bfcc",
|
|
106
|
+
"90": "#b7b7bfe5",
|
|
107
|
+
"100": "#b7b7bf"
|
|
108
|
+
},
|
|
109
|
+
"pureWhite": {
|
|
110
|
+
"10": "#ffffff1a",
|
|
111
|
+
"20": "#ffffff33",
|
|
112
|
+
"30": "#ffffff4d",
|
|
113
|
+
"40": "#ffffff66",
|
|
114
|
+
"50": "#ffffff80",
|
|
115
|
+
"60": "#ffffff99",
|
|
116
|
+
"70": "#ffffffb2",
|
|
117
|
+
"80": "#ffffffcc",
|
|
118
|
+
"90": "#ffffffe5",
|
|
119
|
+
"100": "#ffffff"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Gray / gray-1": "primitives.gray.1",
|
|
3
|
+
"Gray / gray-7": "primitives.gray.7",
|
|
4
|
+
"Gray / gray-9": "primitives.gray.9",
|
|
5
|
+
"background/neutral/action sheet": "primitives.oxfordBlue.800",
|
|
6
|
+
"background/neutral/disabled": "primitives.oxfordBlue.100",
|
|
7
|
+
"background/neutral/list pressed": "primitives.oxfordBlue.700",
|
|
8
|
+
"background/neutral/message bubble": "primitives.botimBlue.500",
|
|
9
|
+
"background/neutral/overlay": "primitives.opacity.grey.80",
|
|
10
|
+
"background/neutral/pop up": "primitives.oxfordBlue.900",
|
|
11
|
+
"background/neutral/primary": "primitives.oxfordBlue.900",
|
|
12
|
+
"background/neutral/secondary": "primitives.oxfordBlue.800",
|
|
13
|
+
"background/neutral/tertiary": "primitives.oxfordBlue.700",
|
|
14
|
+
"background/neutral/toast": "primitives.oxfordBlue.700",
|
|
15
|
+
"avatar/blue/info": "primitives.nonPhotoBlue.200",
|
|
16
|
+
"avatar/blue/text-on": "primitives.botimBlue.900",
|
|
17
|
+
"avatar/gold/bg": "primitives.goldenrod.100",
|
|
18
|
+
"avatar/gold/text-on": "primitives.goldenrod.950",
|
|
19
|
+
"avatar/green/bg": "primitives.pigmentGreen.100",
|
|
20
|
+
"avatar/green/text-on": "primitives.pigmentGreen.900",
|
|
21
|
+
"border/functional/blue": "primitives.botimBlue.900",
|
|
22
|
+
"border/neutral/primary": "primitives.botimBlue.100",
|
|
23
|
+
"border/neutral/secondary": "primitives.gray.1",
|
|
24
|
+
"badge/bg/default": "primitives.engineeringRed.900",
|
|
25
|
+
"badge/text-on/default": "primitives.oxfordBlue.50",
|
|
26
|
+
"button/secondary/bg-disabled": "primitives.oxfordBlue.700",
|
|
27
|
+
"button/danger primary/bg-default": "primitives.engineeringRed.900",
|
|
28
|
+
"button/danger primary/bg-pressed": "primitives.engineeringRed.800",
|
|
29
|
+
"button/danger primary/text-on": "primitives.oxfordBlue.50",
|
|
30
|
+
"button/danger secondary/bg-default": "primitives.engineeringRed.100",
|
|
31
|
+
"button/danger secondary/bg-pressed": "primitives.engineeringRed.200",
|
|
32
|
+
"button/danger secondary/text-on": "primitives.engineeringRed.800",
|
|
33
|
+
"button/primary/bg-default": "primitives.botimBlue.600",
|
|
34
|
+
"button/primary/bg-pressed": "primitives.botimBlue.500",
|
|
35
|
+
"button/primary/text-on": "primitives.oxfordBlue.50",
|
|
36
|
+
"button/secondary/bg-default": "primitives.oxfordBlue.700",
|
|
37
|
+
"button/secondary/bg-pressed": "primitives.oxfordBlue.600",
|
|
38
|
+
"button/secondary/text-on": "primitives.oxfordBlue.50",
|
|
39
|
+
"card/brand secondary/bg-default": "primitives.oxfordBlue.900",
|
|
40
|
+
"card/brand secondary/bg-pressed": "primitives.oxfordBlue.700",
|
|
41
|
+
"card/brand secondary/text-on": "primitives.gray.1",
|
|
42
|
+
"card/neutral primary/bg-default": "primitives.gray.1",
|
|
43
|
+
"card/neutral primary/bg-pressed": "primitives.oxfordBlue.100",
|
|
44
|
+
"card/neutral seconday/bg-pressed": "primitives.botimBlue.100",
|
|
45
|
+
"card/neutral seconday/default": "primitives.botimBlue.50",
|
|
46
|
+
"check/active/checkmark": "primitives.gray.1",
|
|
47
|
+
"check/active/selected": "primitives.botimBlue.900",
|
|
48
|
+
"check/active/unselected": "primitives.oxfordBlue.600",
|
|
49
|
+
"check/disabled/checkmark": "primitives.gray.1",
|
|
50
|
+
"check/disabled/selected": "primitives.oxfordBlue.200",
|
|
51
|
+
"check/disabled/unselected": "primitives.oxfordBlue.200",
|
|
52
|
+
"chips/active/bg-default": "primitives.botimBlue.100",
|
|
53
|
+
"chips/active/bg-pressed": "primitives.botimBlue.200",
|
|
54
|
+
"chips/active/text-on": "primitives.botimBlue.900",
|
|
55
|
+
"chips/default/bg-default": "primitives.oxfordBlue.100",
|
|
56
|
+
"chips/default/bg-pressed": "primitives.oxfordBlue.200",
|
|
57
|
+
"chips/default/text-on": "primitives.oxfordBlue.600",
|
|
58
|
+
"chips/disable/bg-selected": "primitives.oxfordBlue.100",
|
|
59
|
+
"chips/disable/bg-unselected": "primitives.oxfordBlue.100",
|
|
60
|
+
"chips/disable/text-on": "primitives.oxfordBlue.300",
|
|
61
|
+
"divider/neutral/primary": "primitives.botimBlue.50",
|
|
62
|
+
"divider/neutral/secondary": "primitives.botimBlue.100",
|
|
63
|
+
"divider/neutral/tertiary": "primitives.botimBlue.300",
|
|
64
|
+
"Input/error/bg": "primitives.engineeringRed.950",
|
|
65
|
+
"Input/error/text-on": "primitives.engineeringRed.100",
|
|
66
|
+
"notification/error/bg": "primitives.engineeringRed.100",
|
|
67
|
+
"notification/error/text-on": "primitives.engineeringRed.800",
|
|
68
|
+
"notification/info/info": "primitives.nonPhotoBlue.200",
|
|
69
|
+
"notification/info/text-on": "primitives.botimBlue.900",
|
|
70
|
+
"notification/success/bg": "primitives.pigmentGreen.100",
|
|
71
|
+
"notification/success/text-on": "primitives.pigmentGreen.900",
|
|
72
|
+
"notification/warning/bg": "primitives.goldenrod.100",
|
|
73
|
+
"notification/warning/text-on": "primitives.goldenrod.950",
|
|
74
|
+
"radio/active/selected": "primitives.botimBlue.900",
|
|
75
|
+
"radio/active/unselected": "primitives.oxfordBlue.600",
|
|
76
|
+
"radio/disabled/selected": "primitives.oxfordBlue.200",
|
|
77
|
+
"radio/disabled/unselected": "primitives.oxfordBlue.200",
|
|
78
|
+
"tab/active/text": "primitives.botimBlue.900",
|
|
79
|
+
"tab/active/text-pressed": "primitives.botimBlue.950",
|
|
80
|
+
"tab/default/text": "primitives.oxfordBlue.400",
|
|
81
|
+
"tab/default/text-pressed": "primitives.oxfordBlue.600",
|
|
82
|
+
"text icon/functional/danger": "primitives.engineeringRed.600",
|
|
83
|
+
"text icon/functional/info": "primitives.botimBlue.700",
|
|
84
|
+
"text icon/functional/link": "primitives.botimBlue.900",
|
|
85
|
+
"text icon/functional/success": "primitives.pigmentGreen.900",
|
|
86
|
+
"text icon/functional/warning": "primitives.goldenrod.900",
|
|
87
|
+
"text icon/neutral/disabled": "primitives.oxfordBlue.600",
|
|
88
|
+
"text icon/neutral/inverse": "primitives.oxfordBlue.100",
|
|
89
|
+
"text icon/neutral/inverse secondary": "primitives.botimBlue.100",
|
|
90
|
+
"text icon/neutral/placeholder": "primitives.oxfordBlue.600",
|
|
91
|
+
"text icon/neutral/primary": "primitives.oxfordBlue.50",
|
|
92
|
+
"text icon/neutral/secondary": "primitives.oxfordBlue.400",
|
|
93
|
+
"toggle/active/bg-selected": "primitives.botimBlue.900",
|
|
94
|
+
"toggle/active/bg-unselected": "primitives.oxfordBlue.500",
|
|
95
|
+
"toggle/active/handle": "primitives.gray.1",
|
|
96
|
+
"toggle/disabled/bg-selcted": "primitives.oxfordBlue.200",
|
|
97
|
+
"toggle/disabled/bg-unselected": "primitives.oxfordBlue.200",
|
|
98
|
+
"toggle/disabled/handle": "primitives.oxfordBlue.400",
|
|
99
|
+
"transparent/black/10": "primitives.opacity.black.10",
|
|
100
|
+
"transparent/black/20": "primitives.opacity.black.20",
|
|
101
|
+
"transparent/black/30": "primitives.opacity.black.30",
|
|
102
|
+
"transparent/black/40": "primitives.opacity.black.40",
|
|
103
|
+
"transparent/black/50": "primitives.opacity.black.50",
|
|
104
|
+
"transparent/black/60": "primitives.opacity.black.60",
|
|
105
|
+
"transparent/black/70": "primitives.opacity.black.70",
|
|
106
|
+
"transparent/black/80": "primitives.opacity.black.80",
|
|
107
|
+
"transparent/black/90": "primitives.opacity.black.90",
|
|
108
|
+
"transparent/black/100": "primitives.opacity.black.100",
|
|
109
|
+
"transparent/grey/10": "primitives.opacity.grey.10",
|
|
110
|
+
"transparent/grey/20": "primitives.opacity.grey.20",
|
|
111
|
+
"transparent/grey/30": "primitives.opacity.grey.30",
|
|
112
|
+
"transparent/grey/40": "primitives.opacity.grey.40",
|
|
113
|
+
"transparent/grey/50": "primitives.opacity.grey.50",
|
|
114
|
+
"transparent/grey/60": "primitives.opacity.grey.60",
|
|
115
|
+
"transparent/grey/70": "primitives.opacity.grey.70",
|
|
116
|
+
"transparent/grey/80": "primitives.opacity.grey.80",
|
|
117
|
+
"transparent/grey/90": "primitives.opacity.grey.90",
|
|
118
|
+
"transparent/grey/100": "primitives.opacity.grey.100",
|
|
119
|
+
"transparent/white/10": "primitives.opacity.white.10",
|
|
120
|
+
"transparent/white/20": "primitives.opacity.white.20",
|
|
121
|
+
"transparent/white/30": "primitives.opacity.white.30",
|
|
122
|
+
"transparent/white/40": "primitives.opacity.white.40",
|
|
123
|
+
"transparent/white/50": "primitives.opacity.white.50",
|
|
124
|
+
"transparent/white/60": "primitives.opacity.white.60",
|
|
125
|
+
"transparent/white/70": "primitives.opacity.white.70",
|
|
126
|
+
"transparent/white/80": "primitives.opacity.white.80",
|
|
127
|
+
"transparent/white/90": "primitives.opacity.white.90",
|
|
128
|
+
"transparent/white/100": "primitives.opacity.white.100",
|
|
129
|
+
"transparent/pure white/10": "primitives.opacity.pureWhite.10",
|
|
130
|
+
"transparent/pure white/20": "primitives.opacity.pureWhite.20",
|
|
131
|
+
"transparent/pure white/30": "primitives.opacity.pureWhite.30",
|
|
132
|
+
"transparent/pure white/40": "primitives.opacity.pureWhite.40",
|
|
133
|
+
"transparent/pure white/50": "primitives.opacity.pureWhite.50",
|
|
134
|
+
"transparent/pure white/60": "primitives.opacity.pureWhite.60",
|
|
135
|
+
"transparent/pure white/70": "primitives.opacity.pureWhite.70",
|
|
136
|
+
"transparent/pure white/80": "primitives.opacity.pureWhite.80",
|
|
137
|
+
"transparent/pure white/90": "primitives.opacity.pureWhite.90",
|
|
138
|
+
"transparent/pure white/100": "primitives.opacity.pureWhite.100"
|
|
139
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Gray / gray-1": "primitives.gray.1",
|
|
3
|
+
"Gray / gray-7": "primitives.gray.7",
|
|
4
|
+
"Gray / gray-9": "primitives.gray.9",
|
|
5
|
+
"background/neutral/action sheet": "primitives.gray.1",
|
|
6
|
+
"background/neutral/disabled": "primitives.oxfordBlue.100",
|
|
7
|
+
"background/neutral/list pressed": "primitives.oxfordBlue.100",
|
|
8
|
+
"background/neutral/message bubble": "primitives.botimBlue.400",
|
|
9
|
+
"background/neutral/overlay": "primitives.opacity.grey.80",
|
|
10
|
+
"background/neutral/pop up": "primitives.oxfordBlue.900",
|
|
11
|
+
"background/neutral/primary": "primitives.gray.1",
|
|
12
|
+
"background/neutral/secondary": "primitives.botimBlue.50",
|
|
13
|
+
"background/neutral/tertiary": "primitives.botimBlue.100",
|
|
14
|
+
"background/neutral/toast": "primitives.oxfordBlue.800",
|
|
15
|
+
"avatar/blue/info": "primitives.nonPhotoBlue.200",
|
|
16
|
+
"avatar/blue/text-on": "primitives.botimBlue.900",
|
|
17
|
+
"avatar/gold/bg": "primitives.goldenrod.100",
|
|
18
|
+
"avatar/gold/text-on": "primitives.goldenrod.950",
|
|
19
|
+
"avatar/green/bg": "primitives.pigmentGreen.100",
|
|
20
|
+
"avatar/green/text-on": "primitives.pigmentGreen.900",
|
|
21
|
+
"border/functional/blue": "primitives.botimBlue.900",
|
|
22
|
+
"border/neutral/primary": "primitives.botimBlue.100",
|
|
23
|
+
"border/neutral/secondary": "primitives.gray.1",
|
|
24
|
+
"badge/bg/default": "primitives.engineeringRed.800",
|
|
25
|
+
"badge/text-on/default": "primitives.gray.1",
|
|
26
|
+
"button/secondary/bg-disabled": "primitives.oxfordBlue.100",
|
|
27
|
+
"button/danger primary/bg-default": "primitives.engineeringRed.800",
|
|
28
|
+
"button/danger primary/bg-pressed": "primitives.engineeringRed.900",
|
|
29
|
+
"button/danger primary/text-on": "primitives.gray.1",
|
|
30
|
+
"button/danger secondary/bg-default": "primitives.engineeringRed.100",
|
|
31
|
+
"button/danger secondary/bg-pressed": "primitives.engineeringRed.200",
|
|
32
|
+
"button/danger secondary/text-on": "primitives.engineeringRed.800",
|
|
33
|
+
"button/primary/bg-default": "primitives.botimBlue.900",
|
|
34
|
+
"button/primary/bg-pressed": "primitives.botimBlue.950",
|
|
35
|
+
"button/primary/text-on": "primitives.gray.1",
|
|
36
|
+
"button/secondary/bg-default": "primitives.botimBlue.100",
|
|
37
|
+
"button/secondary/bg-pressed": "primitives.botimBlue.200",
|
|
38
|
+
"button/secondary/text-on": "primitives.botimBlue.900",
|
|
39
|
+
"card/brand secondary/bg-default": "primitives.oxfordBlue.900",
|
|
40
|
+
"card/brand secondary/bg-pressed": "primitives.oxfordBlue.700",
|
|
41
|
+
"card/brand secondary/text-on": "primitives.gray.1",
|
|
42
|
+
"card/neutral primary/bg-default": "primitives.gray.1",
|
|
43
|
+
"card/neutral primary/bg-pressed": "primitives.oxfordBlue.100",
|
|
44
|
+
"card/neutral seconday/bg-pressed": "primitives.botimBlue.100",
|
|
45
|
+
"card/neutral seconday/default": "primitives.botimBlue.50",
|
|
46
|
+
"check/active/checkmark": "primitives.gray.1",
|
|
47
|
+
"check/active/selected": "primitives.botimBlue.900",
|
|
48
|
+
"check/active/unselected": "primitives.oxfordBlue.600",
|
|
49
|
+
"check/disabled/checkmark": "primitives.gray.1",
|
|
50
|
+
"check/disabled/selected": "primitives.oxfordBlue.200",
|
|
51
|
+
"check/disabled/unselected": "primitives.oxfordBlue.200",
|
|
52
|
+
"chips/active/bg-default": "primitives.botimBlue.100",
|
|
53
|
+
"chips/active/bg-pressed": "primitives.botimBlue.200",
|
|
54
|
+
"chips/active/text-on": "primitives.botimBlue.900",
|
|
55
|
+
"chips/default/bg-default": "primitives.oxfordBlue.100",
|
|
56
|
+
"chips/default/bg-pressed": "primitives.oxfordBlue.200",
|
|
57
|
+
"chips/default/text-on": "primitives.oxfordBlue.600",
|
|
58
|
+
"chips/disable/bg-selected": "primitives.oxfordBlue.100",
|
|
59
|
+
"chips/disable/bg-unselected": "primitives.oxfordBlue.100",
|
|
60
|
+
"chips/disable/text-on": "primitives.oxfordBlue.300",
|
|
61
|
+
"divider/neutral/primary": "primitives.botimBlue.50",
|
|
62
|
+
"divider/neutral/secondary": "primitives.botimBlue.100",
|
|
63
|
+
"divider/neutral/tertiary": "primitives.botimBlue.300",
|
|
64
|
+
"Input/error/bg": "primitives.engineeringRed.100",
|
|
65
|
+
"Input/error/text-on": "primitives.engineeringRed.800",
|
|
66
|
+
"notification/error/bg": "primitives.engineeringRed.100",
|
|
67
|
+
"notification/error/text-on": "primitives.engineeringRed.800",
|
|
68
|
+
"notification/info/info": "primitives.nonPhotoBlue.200",
|
|
69
|
+
"notification/info/text-on": "primitives.botimBlue.900",
|
|
70
|
+
"notification/success/bg": "primitives.pigmentGreen.100",
|
|
71
|
+
"notification/success/text-on": "primitives.pigmentGreen.900",
|
|
72
|
+
"notification/warning/bg": "primitives.goldenrod.100",
|
|
73
|
+
"notification/warning/text-on": "primitives.goldenrod.950",
|
|
74
|
+
"radio/active/selected": "primitives.botimBlue.900",
|
|
75
|
+
"radio/active/unselected": "primitives.oxfordBlue.600",
|
|
76
|
+
"radio/disabled/selected": "primitives.oxfordBlue.200",
|
|
77
|
+
"radio/disabled/unselected": "primitives.oxfordBlue.200",
|
|
78
|
+
"tab/active/text": "primitives.botimBlue.900",
|
|
79
|
+
"tab/active/text-pressed": "primitives.botimBlue.950",
|
|
80
|
+
"tab/default/text": "primitives.oxfordBlue.400",
|
|
81
|
+
"tab/default/text-pressed": "primitives.oxfordBlue.600",
|
|
82
|
+
"text icon/functional/danger": "primitives.engineeringRed.800",
|
|
83
|
+
"text icon/functional/info": "primitives.botimBlue.700",
|
|
84
|
+
"text icon/functional/link": "primitives.botimBlue.900",
|
|
85
|
+
"text icon/functional/success": "primitives.pigmentGreen.900",
|
|
86
|
+
"text icon/functional/warning": "primitives.goldenrod.900",
|
|
87
|
+
"text icon/neutral/disabled": "primitives.oxfordBlue.300",
|
|
88
|
+
"text icon/neutral/inverse": "primitives.gray.1",
|
|
89
|
+
"text icon/neutral/inverse secondary": "primitives.botimBlue.100",
|
|
90
|
+
"text icon/neutral/placeholder": "primitives.oxfordBlue.400",
|
|
91
|
+
"text icon/neutral/primary": "primitives.oxfordBlue.900",
|
|
92
|
+
"text icon/neutral/secondary": "primitives.oxfordBlue.600",
|
|
93
|
+
"toggle/active/bg-selected": "primitives.botimBlue.900",
|
|
94
|
+
"toggle/active/bg-unselected": "primitives.oxfordBlue.500",
|
|
95
|
+
"toggle/active/handle": "primitives.gray.1",
|
|
96
|
+
"toggle/disabled/bg-selcted": "primitives.oxfordBlue.200",
|
|
97
|
+
"toggle/disabled/bg-unselected": "primitives.oxfordBlue.200",
|
|
98
|
+
"toggle/disabled/handle": "primitives.oxfordBlue.400",
|
|
99
|
+
"transparent/black/10": "primitives.opacity.black.10",
|
|
100
|
+
"transparent/black/20": "primitives.opacity.black.20",
|
|
101
|
+
"transparent/black/30": "primitives.opacity.black.30",
|
|
102
|
+
"transparent/black/40": "primitives.opacity.black.40",
|
|
103
|
+
"transparent/black/50": "primitives.opacity.black.50",
|
|
104
|
+
"transparent/black/60": "primitives.opacity.black.60",
|
|
105
|
+
"transparent/black/70": "primitives.opacity.black.70",
|
|
106
|
+
"transparent/black/80": "primitives.opacity.black.80",
|
|
107
|
+
"transparent/black/90": "primitives.opacity.black.90",
|
|
108
|
+
"transparent/black/100": "primitives.opacity.black.100",
|
|
109
|
+
"transparent/grey/10": "primitives.opacity.grey.10",
|
|
110
|
+
"transparent/grey/20": "primitives.opacity.grey.20",
|
|
111
|
+
"transparent/grey/30": "primitives.opacity.grey.30",
|
|
112
|
+
"transparent/grey/40": "primitives.opacity.grey.40",
|
|
113
|
+
"transparent/grey/50": "primitives.opacity.grey.50",
|
|
114
|
+
"transparent/grey/60": "primitives.opacity.grey.60",
|
|
115
|
+
"transparent/grey/70": "primitives.opacity.grey.70",
|
|
116
|
+
"transparent/grey/80": "primitives.opacity.grey.80",
|
|
117
|
+
"transparent/grey/90": "primitives.opacity.grey.90",
|
|
118
|
+
"transparent/grey/100": "primitives.opacity.grey.100",
|
|
119
|
+
"transparent/white/10": "primitives.opacity.white.10",
|
|
120
|
+
"transparent/white/20": "primitives.opacity.white.20",
|
|
121
|
+
"transparent/white/30": "primitives.opacity.white.30",
|
|
122
|
+
"transparent/white/40": "primitives.opacity.white.40",
|
|
123
|
+
"transparent/white/50": "primitives.opacity.white.50",
|
|
124
|
+
"transparent/white/60": "primitives.opacity.white.60",
|
|
125
|
+
"transparent/white/70": "primitives.opacity.white.70",
|
|
126
|
+
"transparent/white/80": "primitives.opacity.white.80",
|
|
127
|
+
"transparent/white/90": "primitives.opacity.white.90",
|
|
128
|
+
"transparent/white/100": "primitives.opacity.white.100",
|
|
129
|
+
"transparent/pure white/10": "primitives.opacity.pureWhite.10",
|
|
130
|
+
"transparent/pure white/20": "primitives.opacity.pureWhite.20",
|
|
131
|
+
"transparent/pure white/30": "primitives.opacity.pureWhite.30",
|
|
132
|
+
"transparent/pure white/40": "primitives.opacity.pureWhite.40",
|
|
133
|
+
"transparent/pure white/50": "primitives.opacity.pureWhite.50",
|
|
134
|
+
"transparent/pure white/60": "primitives.opacity.pureWhite.60",
|
|
135
|
+
"transparent/pure white/70": "primitives.opacity.pureWhite.70",
|
|
136
|
+
"transparent/pure white/80": "primitives.opacity.pureWhite.80",
|
|
137
|
+
"transparent/pure white/90": "primitives.opacity.pureWhite.90",
|
|
138
|
+
"transparent/pure white/100": "primitives.opacity.pureWhite.100"
|
|
139
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"horizontal": {
|
|
3
|
+
"between-cards": "primitives.spacing.space-xs",
|
|
4
|
+
"between-chips": "primitives.spacing.space-xxs",
|
|
5
|
+
"screen-mobile": "primitives.spacing.space-xl",
|
|
6
|
+
"component-default": "primitives.spacing.space-xxs"
|
|
7
|
+
},
|
|
8
|
+
"vertical": {
|
|
9
|
+
"between-text": "primitives.spacing.space-xxs",
|
|
10
|
+
"image-bottom": "primitives.spacing.space-xxs",
|
|
11
|
+
"display-text-bottom": "primitives.spacing.space-xxs",
|
|
12
|
+
"text-to-component": "primitives.spacing.space-xxs",
|
|
13
|
+
"content-to-button": "primitives.spacing.space-lg",
|
|
14
|
+
"between-sections": "primitives.spacing.space-md",
|
|
15
|
+
"between-options": "primitives.spacing.space-xxs",
|
|
16
|
+
"component-default": "primitives.spacing.space-xxs"
|
|
17
|
+
}
|
|
18
|
+
}
|
package/src/index.css
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: "Inter";
|
|
7
|
+
src: url("./assets/fonts/inter_regular.otf") format("opentype");
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-display: swap;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: "Inter";
|
|
15
|
+
src: url("./assets/fonts/inter_italic.otf") format("opentype");
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
font-style: italic;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: "Inter";
|
|
23
|
+
src: url("./assets/fonts/inter_medium.otf") format("opentype");
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-display: swap;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: "Inter";
|
|
31
|
+
src: url("./assets/fonts/inter_semi_bold.otf") format("opentype");
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-display: swap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: "Inter";
|
|
39
|
+
src: url("./assets/fonts/inter_bold.otf") format("opentype");
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-display: swap;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Space Grotesk";
|
|
47
|
+
src: url("./assets/fonts/space_grotesk_regular.otf") format("opentype");
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-display: swap;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@font-face {
|
|
54
|
+
font-family: "Space Grotesk";
|
|
55
|
+
src: url("./assets/fonts/space_grotesk_medium.otf") format("opentype");
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: "Space Grotesk";
|
|
63
|
+
src: url("./assets/fonts/space_grotesk_semi_bold.otf") format("opentype");
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: "Space Grotesk";
|
|
71
|
+
src: url("./assets/fonts/space_grotesk_bold.otf") format("opentype");
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-display: swap;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@layer base {
|
|
78
|
+
html {
|
|
79
|
+
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
80
|
+
sans-serif;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
body {
|
|
84
|
+
@apply bg-white text-slate-900;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
h1,
|
|
88
|
+
h2,
|
|
89
|
+
h3,
|
|
90
|
+
h4 {
|
|
91
|
+
@apply font-display;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes spin {
|
|
96
|
+
to {
|
|
97
|
+
transform: rotate(360deg);
|
|
98
|
+
}
|
|
99
|
+
}
|
package/src/main.jsx
ADDED