@rovula/ui 0.0.19 → 0.0.21
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/dist/cjs/bundle.css +3220 -1382
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/cjs/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/cjs/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/cjs/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/cjs/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/cjs/types/components/Loading/Loading.d.ts +14 -0
- package/dist/cjs/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/cjs/types/components/Search/Search.d.ts +22 -1
- package/dist/cjs/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/cjs/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/cjs/types/components/Text/Text.d.ts +1 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/cjs/types/stories/ColorPreview.d.ts +5 -0
- package/dist/components/ActionButton/ActionButton.js +1 -1
- package/dist/components/ActionButton/ActionButton.stories.js +1 -1
- package/dist/components/ActionButton/ActionButton.styles copy.js +90 -0
- package/dist/components/ActionButton/ActionButton.styles.js +54 -15
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -2
- package/dist/components/Button/Button.styles copy.js +210 -0
- package/dist/components/Button/Button.styles.js +203 -43
- package/dist/components/Button/Buttons.stories.js +9 -1
- package/dist/components/Calendar/Calendar.js +39 -2
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Collapsible/Collapsible.styles.js +6 -3
- package/dist/components/DatePicker/DatePicker.js +13 -2
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/Dropdown/Dropdown.js +9 -7
- package/dist/components/Dropdown/Dropdown.styles.js +1 -1
- package/dist/components/Input/Input.js +8 -1
- package/dist/components/Input/Input.stories.js +3 -2
- package/dist/components/Input/Input.styles.js +13 -5
- package/dist/components/Loading/Loading.js +23 -0
- package/dist/components/Loading/Loading.stories.js +37 -0
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +22 -0
- package/dist/components/ProgressBar/ProgressBar.stories.js +52 -0
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/Search/Search.js +6 -7
- package/dist/components/Search/Search.stories.js +8 -5
- package/dist/components/Text/Text.js +17 -2
- package/dist/components/Text/Text.stories.js +5 -1
- package/dist/components/TextInput/TextInput.js +14 -5
- package/dist/components/TextInput/TextInput.stories.js +3 -2
- package/dist/components/TextInput/TextInput.styles.js +120 -18
- package/dist/esm/bundle.css +3220 -1382
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/esm/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/esm/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/esm/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/esm/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/esm/types/components/Loading/Loading.d.ts +14 -0
- package/dist/esm/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/esm/types/components/Search/Search.d.ts +22 -1
- package/dist/esm/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/esm/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/esm/types/components/Text/Text.d.ts +1 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/esm/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/esm/types/stories/ColorPreview.d.ts +5 -0
- package/dist/index.d.ts +53 -2
- package/dist/index.js +3 -0
- package/dist/src/theme/global.css +5078 -918
- package/dist/stories/ColorGroupPreview.js +478 -0
- package/dist/stories/ColorPreview.js +8 -0
- package/dist/theme/global.css +7 -227
- package/dist/theme/main-preset.js +131 -67
- package/dist/theme/plugins/utilities/typography.js +12 -0
- package/dist/theme/presets/colors.js +101 -220
- package/dist/theme/theme.d.ts +69 -0
- package/dist/theme/themes/xspector/baseline.css +7 -0
- package/dist/theme/themes/xspector/color.css +67 -0
- package/dist/theme/themes/xspector/components/action-button.css +98 -0
- package/dist/theme/themes/xspector/components/loading.css +11 -0
- package/dist/theme/themes/xspector/palette.css +122 -0
- package/dist/theme/themes/xspector/state.css +89 -0
- package/dist/theme/themes/xspector/transparent.css +68 -0
- package/dist/theme/themes/xspector/typography.css +27 -0
- package/dist/theme/tokens/baseline.css +10 -0
- package/dist/theme/tokens/color.css +63 -0
- package/dist/theme/tokens/components/action-button.css +127 -0
- package/dist/theme/tokens/components/button.css +512 -0
- package/dist/theme/tokens/components/loading.css +11 -0
- package/dist/theme/tokens/components/navbar.css +8 -0
- package/dist/theme/tokens/components/progress-bar.css +8 -0
- package/dist/theme/tokens/palette.css +122 -0
- package/dist/theme/tokens/state.css +82 -0
- package/dist/theme/tokens/transparent.css +68 -0
- package/dist/theme/tokens/typography.css +178 -0
- package/dist/theme/tokens/variables.css +28 -0
- package/dist/theme/utils.js +98 -0
- package/package.json +1 -1
- package/src/_theme/global copy.css +761 -0
- package/src/_theme/global.css +39 -0
- package/src/_theme/main-preset.js +239 -0
- package/src/_theme/plugins/utilities/typography.js +81 -0
- package/src/_theme/presets/colors copy 2.js +319 -0
- package/src/_theme/presets/colors copy.js +229 -0
- package/src/_theme/presets/colors.js +94 -0
- package/src/_theme/theme.d.ts +69 -0
- package/src/_theme/variables/base/button.css +334 -0
- package/src/_theme/variables/base/components copy.css +19 -0
- package/src/_theme/variables/default/colors.css +292 -0
- package/src/_theme/variables/default/typography.css +178 -0
- package/src/_theme/variables/xspector/colors.css +468 -0
- package/src/_theme/variables/xspector/typography.css +178 -0
- package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
- package/src/components/ActionButton/ActionButton.styles copy.ts +95 -0
- package/src/components/ActionButton/ActionButton.styles.ts +54 -19
- package/src/components/ActionButton/ActionButton.tsx +1 -1
- package/src/components/AlertDialog/AlertDialog.tsx +2 -2
- package/src/components/Avatar/Avatar.styles.ts +1 -1
- package/src/components/Button/Button.styles copy.ts +214 -0
- package/src/components/Button/Button.styles.ts +203 -47
- package/src/components/Button/Button.tsx +4 -0
- package/src/components/Button/Buttons.stories.tsx +9 -1
- package/src/components/Calendar/Calendar.tsx +49 -7
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Collapsible/Collapsible.styles.ts +6 -3
- package/src/components/DatePicker/DatePicker.tsx +8 -2
- package/src/components/Dialog/Dialog.tsx +5 -5
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -12
- package/src/components/Input/Input.stories.tsx +3 -2
- package/src/components/Input/Input.styles.tsx +13 -6
- package/src/components/Input/Input.tsx +8 -1
- package/src/components/Loading/Loading.stories.tsx +43 -0
- package/src/components/Loading/Loading.tsx +72 -0
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/ProgressBar/ProgressBar.stories.tsx +78 -0
- package/src/components/ProgressBar/ProgressBar.tsx +62 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -2
- package/src/components/Search/Search.stories.tsx +13 -13
- package/src/components/Search/Search.tsx +14 -19
- package/src/components/Text/Text.stories.tsx +6 -4
- package/src/components/Text/Text.tsx +27 -3
- package/src/components/TextInput/TextInput.stories.tsx +3 -2
- package/src/components/TextInput/TextInput.styles.ts +124 -19
- package/src/components/TextInput/TextInput.tsx +34 -4
- package/src/index.ts +3 -0
- package/src/stories/ColorGroupPreview.tsx +494 -0
- package/src/stories/ColorPreview.tsx +45 -0
- package/src/stories/Colors.mdx +14 -0
- package/src/stories/Typography.mdx +7 -151
- package/src/theme/global.css +7 -227
- package/src/theme/main-preset.js +131 -67
- package/src/theme/plugins/utilities/typography.js +12 -0
- package/src/theme/presets/colors.js +101 -220
- package/src/theme/theme.d.ts +69 -0
- package/src/theme/themes/xspector/baseline.css +7 -0
- package/src/theme/themes/xspector/color.css +67 -0
- package/src/theme/themes/xspector/components/action-button.css +98 -0
- package/src/theme/themes/xspector/components/loading.css +11 -0
- package/src/theme/themes/xspector/palette.css +122 -0
- package/src/theme/themes/xspector/state.css +89 -0
- package/src/theme/themes/xspector/transparent.css +68 -0
- package/src/theme/themes/xspector/typography.css +27 -0
- package/src/theme/tokens/baseline.css +10 -0
- package/src/theme/tokens/color.css +63 -0
- package/src/theme/tokens/components/action-button.css +127 -0
- package/src/theme/tokens/components/button.css +512 -0
- package/src/theme/tokens/components/loading.css +11 -0
- package/src/theme/tokens/components/navbar.css +8 -0
- package/src/theme/tokens/components/progress-bar.css +8 -0
- package/src/theme/tokens/palette.css +122 -0
- package/src/theme/tokens/state.css +82 -0
- package/src/theme/tokens/transparent.css +68 -0
- package/src/theme/tokens/typography.css +178 -0
- package/src/theme/tokens/variables.css +28 -0
- package/src/theme/utils.js +98 -0
package/dist/theme/global.css
CHANGED
|
@@ -1,237 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
@import "./tokens/baseline.css";
|
|
3
|
+
@import "./themes/xspector/baseline.css";
|
|
4
|
+
|
|
1
5
|
@tailwind base;
|
|
2
6
|
@tailwind components;
|
|
3
7
|
@tailwind utilities;
|
|
4
8
|
|
|
5
|
-
@layer base {
|
|
6
|
-
:root {
|
|
7
|
-
--white: 255 255 255; /* #ffffff */
|
|
8
|
-
--black: 28 28 28; /* #1c1c1c */
|
|
9
|
-
|
|
10
|
-
--theme-50: 232 242 255; /* #E8F2FF -> 232 242 255 */
|
|
11
|
-
--theme-100: 213 230 255; /* #D5E6FF -> 213 230 255 */
|
|
12
|
-
--theme-200: 179 207 255; /* #B3CFFF -> 179 207 255 */
|
|
13
|
-
--theme-300: 136 174 255; /* #85AEFF -> 136 174 255 */
|
|
14
|
-
--theme-400: 86 126 255; /* #567EFF -> 86 126 255 */
|
|
15
|
-
--theme-500: 47 78 255; /* #2F4EFF -> 47 78 255 */
|
|
16
|
-
--theme-600: 12 26 255; /* #0C1AFF -> 12 26 255 */
|
|
17
|
-
--theme-700: 0 12 255; /* #000CFF -> 0 12 255 */
|
|
18
|
-
--theme-800: 6 18 205; /* #0612CD -> 6 18 205 */
|
|
19
|
-
--theme-900: 16 29 159; /* #101D9F -> 16 29 159 */
|
|
20
|
-
--theme-default: var(--theme-100);
|
|
21
|
-
--theme-foreground: var(--white);
|
|
22
|
-
|
|
23
|
-
--primary-5: 242 242 246; /* #F2F2F6 */
|
|
24
|
-
--primary-10: 230 230 236; /* #E6E6EC */
|
|
25
|
-
--primary-20: 204 204 218; /* #CCCCDA */
|
|
26
|
-
--primary-30: 179 179 199; /* #B3B3C7 */
|
|
27
|
-
--primary-40: 153 153 180; /* #9999B4 */
|
|
28
|
-
--primary-50: 128 128 161; /* #8080A1 */
|
|
29
|
-
--primary-60: 103 103 143; /* #67678F */
|
|
30
|
-
--primary-70: 77 77 124; /* #4D4D7C */
|
|
31
|
-
--primary-80: 52 52 105; /* #343469 */
|
|
32
|
-
--primary-90: 26 26 87; /* #1A1A57 */
|
|
33
|
-
--primary-100: 1 1 68; /* #010144 */
|
|
34
|
-
--primary-110: 1 1 61; /* #01013D */
|
|
35
|
-
--primary-120: 1 1 54; /* #010136 */
|
|
36
|
-
--primary-130: 1 1 48; /* #010130 */
|
|
37
|
-
--primary-140: 1 1 41; /* #010129 */
|
|
38
|
-
--primary-150: 1 1 34; /* #010122 */
|
|
39
|
-
--primary-default: var(--primary-100);
|
|
40
|
-
--primary-foreground: var(--white);
|
|
41
|
-
|
|
42
|
-
--secondary-5: 254 254 255; /* #FEFEFF */
|
|
43
|
-
--secondary-10: 253 254 255; /* #FDFEFF */
|
|
44
|
-
--secondary-20: 251 252 255; /* #FBFCFF */
|
|
45
|
-
--secondary-30: 249 251 255; /* #F9FBFF */
|
|
46
|
-
--secondary-40: 247 249 255; /* #F7F9FF */
|
|
47
|
-
--secondary-50: 245 248 255; /* #F5F8FF */
|
|
48
|
-
--secondary-60: 242 247 255; /* #F2F7FF */
|
|
49
|
-
--secondary-70: 240 245 255; /* #F0F5FF */
|
|
50
|
-
--secondary-80: 238 244 255; /* #EEF4FF */
|
|
51
|
-
--secondary-90: 236 242 255; /* #ECF2FF */
|
|
52
|
-
--secondary-100: 234 241 255; /* #EAF1FF */
|
|
53
|
-
--secondary-110: 211 217 229; /* #D3D9E5 */
|
|
54
|
-
--secondary-120: 187 193 204; /* #BBC1CC */
|
|
55
|
-
--secondary-130: 164 169 178; /* #A4A9B2 */
|
|
56
|
-
--secondary-140: 140 145 153; /* #8C9199 */
|
|
57
|
-
--secondary-150: 117 121 128; /* #757980 */
|
|
58
|
-
--secondary-default: var(--secondary-100);
|
|
59
|
-
--secondary-foreground: 1 1 68;
|
|
60
|
-
|
|
61
|
-
--tertiary-5: 245 246 255; /* #F5F6FF */
|
|
62
|
-
--tertiary-10: 234 237 255; /* #EAEDFF */
|
|
63
|
-
--tertiary-20: 213 220 255; /* #D5DCFF */
|
|
64
|
-
--tertiary-30: 193 202 255; /* #C1CAFF */
|
|
65
|
-
--tertiary-40: 172 184 255; /* #ACB8FF */
|
|
66
|
-
--tertiary-50: 151 166 255; /* #97A6FF */
|
|
67
|
-
--tertiary-60: 132 149 255; /* #8295FF */
|
|
68
|
-
--tertiary-70: 109 131 255; /* #6D83FF */
|
|
69
|
-
--tertiary-80: 89 113 255; /* #5971FF */
|
|
70
|
-
--tertiary-90: 68 96 255; /* #4460FF */
|
|
71
|
-
--tertiary-100: 47 78 255; /* #2F4EFF */
|
|
72
|
-
--tertiary-110: 42 70 229; /* #2A46E5 */
|
|
73
|
-
--tertiary-120: 38 62 204; /* #263ECC */
|
|
74
|
-
--tertiary-130: 33 55 178; /* #2137B2 */
|
|
75
|
-
--tertiary-140: 28 47 153; /* #1C2F99 */
|
|
76
|
-
--tertiary-150: 24 39 128; /* #182780 */
|
|
77
|
-
--tertiary-default: var(--tertiary-100);
|
|
78
|
-
--tertiary-foreground: var(--white);
|
|
79
|
-
|
|
80
|
-
--grey-5: 250 250 250; /* #FAFAFA */
|
|
81
|
-
--grey-10: 245 245 245; /* #F5F5F5 */
|
|
82
|
-
--grey-20: 236 236 236; /* #ECECEC */
|
|
83
|
-
--grey-30: 226 226 226; /* #E2E2E2 */
|
|
84
|
-
--grey-40: 216 216 216; /* #D8D8D8 */
|
|
85
|
-
--grey-50: 207 207 207; /* #CFCFCF */
|
|
86
|
-
--grey-60: 197 197 197; /* #C5C5C5 */
|
|
87
|
-
--grey-70: 187 187 187; /* #BBBBBB */
|
|
88
|
-
--grey-80: 177 177 177; /* #B1B1B1 */
|
|
89
|
-
--grey-90: 168 168 168; /* #A8A8A8 */
|
|
90
|
-
--grey-100: 158 158 158; /* #9E9E9E */
|
|
91
|
-
--grey-110: 142 142 142; /* #8E8E8E */
|
|
92
|
-
--grey-120: 126 126 126; /* #7E7E7E */
|
|
93
|
-
--grey-130: 111 111 111; /* #6F6F6F */
|
|
94
|
-
--grey-140: 95 95 95; /* #5F5F5F */
|
|
95
|
-
--grey-150: 79 79 79; /* #4F4F4F */
|
|
96
|
-
--grey-default: var(--grey-100);
|
|
97
|
-
--grey-foreground: 1 1 68;
|
|
98
|
-
|
|
99
|
-
--grey2-100: 249 250 251; /* #F9FAFB */
|
|
100
|
-
--grey2-200: 244 246 248; /* #F4F6F8 */
|
|
101
|
-
--grey2-300: 223 227 232; /* #DFE3E8 */
|
|
102
|
-
--grey2-400: 196 205 213; /* #C4CDD5 */
|
|
103
|
-
--grey2-500: 145 158 171; /* #919EAB */
|
|
104
|
-
--grey2-600: 99 115 129; /* #637381 */
|
|
105
|
-
--grey2-700: 69 79 91; /* #454F5B */
|
|
106
|
-
--grey2-800: 33 43 54; /* #212B36 */
|
|
107
|
-
--grey2-900: 22 28 36; /* #161C24 */
|
|
108
|
-
--grey-default: var(--grey-100);
|
|
109
|
-
--grey-foreground: var(--white);
|
|
110
|
-
|
|
111
|
-
--info-lighter: 208 242 255;
|
|
112
|
-
--info-light: 116 202 255;
|
|
113
|
-
--info-100: 41 152 255; /* #2998FF */
|
|
114
|
-
--info-120: 33 122 204; /* #217ACC */
|
|
115
|
-
--info-dark: 12 83 183;
|
|
116
|
-
--info-darker: 4 41 122;
|
|
117
|
-
--info-default: var(--info-100);
|
|
118
|
-
--info-foreground: var(--white);
|
|
119
|
-
|
|
120
|
-
--success-lighter: 233 252 212;
|
|
121
|
-
--success-light: 170 242 127;
|
|
122
|
-
--success-100: 84 214 44; /* #54D62C */
|
|
123
|
-
--success-120: 67 171 35; /* #43AB23 */
|
|
124
|
-
--success-dark: 34 154 22;
|
|
125
|
-
--success-darker:8 102 13;
|
|
126
|
-
--success-default: var(--success-100);
|
|
127
|
-
--success-foreground: var(--white);
|
|
128
|
-
|
|
129
|
-
--warning-lighter: 255 247 205;
|
|
130
|
-
--warning-light:255 225 106;
|
|
131
|
-
--warning-100: 255 193 7; /* #FFC107 */
|
|
132
|
-
--warning-120: 204 154 6; /* #CC9A06 */
|
|
133
|
-
--warning-dark: 183 129 3;
|
|
134
|
-
--warning-darker: 122 79 1;
|
|
135
|
-
--warning-default: var(--warning-100);
|
|
136
|
-
--warning-foreground: var(--white);
|
|
137
|
-
|
|
138
|
-
--error-lighter: 255 231 217;
|
|
139
|
-
--error-light: 255 164 141;
|
|
140
|
-
--error-100: 255 77 53; /* #FF4D35 */
|
|
141
|
-
--error-120: 204 62 42; /* #CC3E2A */
|
|
142
|
-
--error-dark: 183 33 54;
|
|
143
|
-
--error-darker: 122 12 46;
|
|
144
|
-
--error-default: var(--error-100);
|
|
145
|
-
--error-foreground: var(--white);
|
|
146
|
-
|
|
147
|
-
--main-transparent-primary: 1 1 68;
|
|
148
|
-
--main-transparent-secondary: 234 241 255;
|
|
149
|
-
--main-transparent-tertiary: 47 78 255;
|
|
150
|
-
|
|
151
|
-
/* Button */
|
|
152
|
-
--btn-rounded-sm: 10px;
|
|
153
|
-
--btn-rounded-md: 12px;
|
|
154
|
-
--btn-rounded-lg: 16px;
|
|
155
|
-
|
|
156
|
-
/* Input */
|
|
157
|
-
--input-default-text-color: 164 169 178;
|
|
158
|
-
--input-default-stroke-color: 231 231 231;
|
|
159
|
-
|
|
160
|
-
--input-active-text-color: 29 30 39;
|
|
161
|
-
--input-active-stroke-color: 208 208 208;
|
|
162
|
-
|
|
163
|
-
--input-disabled-text-color: 196 199 205;
|
|
164
|
-
--input-disabled-stroke-color: 239 239 239;
|
|
165
|
-
--input-disabled-background-color: 247 247 247;
|
|
166
|
-
|
|
167
|
-
--input-label-background-color: 249 251 255;
|
|
168
|
-
|
|
169
|
-
/* Text */
|
|
170
|
-
--text-default-dark: 1 1 68;
|
|
171
|
-
--text-default-medium: 47 78 255;
|
|
172
|
-
--text-default-light: 213 230 255;
|
|
173
|
-
|
|
174
|
-
--text-grey-dark: 29 30 39;
|
|
175
|
-
--text-grey-medium: 117 121 128;
|
|
176
|
-
--text-grey-light: 164 169 178;
|
|
177
|
-
--text-white: 255 255 255;
|
|
178
|
-
|
|
179
|
-
/* Other */
|
|
180
|
-
--other-bg: var(--white);
|
|
181
|
-
--other-bg-2: var(--white);
|
|
182
|
-
|
|
183
|
-
/* Other/Popup */
|
|
184
|
-
--popup-background: 249 251 255;
|
|
185
|
-
/* Other/Popup Curtain */
|
|
186
|
-
--popup-overlay: 0 0 0;
|
|
187
|
-
--popup-overlay-alpha: 0.48;
|
|
188
|
-
--popup-rounded: 24px;
|
|
189
|
-
|
|
190
|
-
/* Navbar */
|
|
191
|
-
--navbar-height: 58px;
|
|
192
|
-
--navbar-bg-color: var(--primary-default);
|
|
193
|
-
--navbar-text-color: var(--primary-foreground);
|
|
194
|
-
--navbar-border-color: var(--primary-foreground);
|
|
195
|
-
--navbar-gap: 16px;
|
|
196
|
-
|
|
197
|
-
/* TODO for shadcn, wait for refactor */
|
|
198
|
-
/* --background: 0 0% 100%; */
|
|
199
|
-
--background: var(--brand-background);
|
|
200
|
-
--foreground: var(--text-white:);
|
|
201
|
-
|
|
202
|
-
--muted: 210 40% 96.1%;
|
|
203
|
-
--muted-foreground: 215.4 16.3% 46.9%;
|
|
204
|
-
|
|
205
|
-
--popover: 0 0% 100%;
|
|
206
|
-
--popover-foreground: 222.2 47.4% 11.2%;
|
|
207
|
-
|
|
208
|
-
--border: 214.3 31.8% 91.4%;
|
|
209
|
-
--input: 214.3 31.8% 91.4%;
|
|
210
|
-
|
|
211
|
-
--card: var(--white);
|
|
212
|
-
--card-foreground: var(--primary);
|
|
213
|
-
|
|
214
|
-
--primary: var(--primary-default);
|
|
215
|
-
|
|
216
|
-
--secondary: var(--secondary-default);
|
|
217
|
-
|
|
218
|
-
--accent: 210 40% 96.1%;
|
|
219
|
-
--accent-foreground: 222.2 47.4% 11.2%;
|
|
220
|
-
|
|
221
|
-
--destructive: 0 100% 50%;
|
|
222
|
-
--destructive-foreground: 210 40% 98%;
|
|
223
|
-
|
|
224
|
-
--ring: 215 20.2% 65.1%;
|
|
225
|
-
|
|
226
|
-
--radius: 0.5rem;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
9
|
@layer base {
|
|
231
10
|
* {
|
|
232
|
-
@apply border-border;
|
|
11
|
+
/* @apply border-border; */
|
|
233
12
|
}
|
|
234
13
|
body {
|
|
235
|
-
@apply bg-background text-foreground;
|
|
14
|
+
/* @apply bg-background text-foreground; */
|
|
15
|
+
/* @apply bg-[var(--backgroud)] text-[var(--foreground)]; */
|
|
236
16
|
}
|
|
237
17
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const { fontFamily } = require("tailwindcss/defaultTheme");
|
|
2
2
|
|
|
3
|
-
/** @type {import('tailwindcss').Config} */
|
|
4
3
|
module.exports = {
|
|
5
4
|
darkMode: "class",
|
|
6
5
|
theme: {
|
|
@@ -14,157 +13,222 @@ module.exports = {
|
|
|
14
13
|
extend: {
|
|
15
14
|
fontSize: {
|
|
16
15
|
h1: [
|
|
17
|
-
"64px",
|
|
16
|
+
"var(--h1-size, 64px)",
|
|
18
17
|
{
|
|
19
|
-
lineHeight: "80px",
|
|
20
|
-
fontWeight: "700",
|
|
18
|
+
lineHeight: "var(--h1-line-height, 80px)",
|
|
19
|
+
fontWeight: "var(--h1-weight, 700)",
|
|
20
|
+
fontFamily: "var(--h1-family, 'Poppins')",
|
|
21
21
|
},
|
|
22
22
|
],
|
|
23
23
|
h2: [
|
|
24
|
-
"48px",
|
|
24
|
+
"var(--h2-size, 48px)",
|
|
25
25
|
{
|
|
26
|
-
lineHeight: "60px",
|
|
27
|
-
fontWeight: "700",
|
|
26
|
+
lineHeight: "var(--h2-line-height, 60px)",
|
|
27
|
+
fontWeight: "var(--h2-weight, 700)",
|
|
28
|
+
fontFamily: "var(--h2-family, 'Poppins')",
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
h3: [
|
|
31
|
-
"32px",
|
|
32
|
+
"var(--h3-size, 32px)",
|
|
32
33
|
{
|
|
33
|
-
lineHeight: "48px",
|
|
34
|
-
fontWeight: "700",
|
|
34
|
+
lineHeight: "var(--h3-line-height, 48px)",
|
|
35
|
+
fontWeight: "var(--h3-weight, 700)",
|
|
36
|
+
fontFamily: "var(--h3-family, 'Poppins')",
|
|
35
37
|
},
|
|
36
38
|
],
|
|
37
39
|
h4: [
|
|
38
|
-
"24px",
|
|
40
|
+
"var(--h4-size, 24px)",
|
|
39
41
|
{
|
|
40
|
-
lineHeight: "32px",
|
|
41
|
-
fontWeight: "700",
|
|
42
|
+
lineHeight: "var(--h4-line-height, 32px)",
|
|
43
|
+
fontWeight: "var(--h4-weight, 700)",
|
|
44
|
+
fontFamily: "var(--h4-family, 'Poppins')",
|
|
42
45
|
},
|
|
43
46
|
],
|
|
44
47
|
h5: [
|
|
45
|
-
"20px",
|
|
48
|
+
"var(--h5-size, 20px)",
|
|
46
49
|
{
|
|
47
|
-
lineHeight: "28px",
|
|
48
|
-
fontWeight: "700",
|
|
50
|
+
lineHeight: "var(--h5-line-height, 28px)",
|
|
51
|
+
fontWeight: "var(--h5-weight, 700)",
|
|
52
|
+
fontFamily: "var(--h5-family, 'Poppins')",
|
|
49
53
|
},
|
|
50
54
|
],
|
|
51
55
|
h6: [
|
|
52
|
-
"18px",
|
|
56
|
+
"var(--h6-size, 18px)",
|
|
53
57
|
{
|
|
54
|
-
lineHeight: "24px",
|
|
55
|
-
fontWeight: "700",
|
|
58
|
+
lineHeight: "var(--h6-line-height, 24px)",
|
|
59
|
+
fontWeight: "var(--h6-weight, 700)",
|
|
60
|
+
fontFamily: "var(--h6-family, 'Poppins')",
|
|
56
61
|
},
|
|
57
62
|
],
|
|
58
63
|
subtitile1: [
|
|
59
|
-
"16px",
|
|
64
|
+
"var(--subtitle1-size, 16px)",
|
|
60
65
|
{
|
|
61
|
-
lineHeight: "24px",
|
|
62
|
-
fontWeight: "400",
|
|
66
|
+
lineHeight: "var(--subtitle1-line-height, 24px)",
|
|
67
|
+
fontWeight: "var(--subtitle1-weight, 400)",
|
|
68
|
+
fontFamily: "var(--subtitle1-family, 'Poppins')",
|
|
63
69
|
},
|
|
64
70
|
],
|
|
65
71
|
subtitile2: [
|
|
66
|
-
"16px",
|
|
72
|
+
"var(--subtitle2-size, 16px)",
|
|
67
73
|
{
|
|
68
|
-
lineHeight: "24px",
|
|
69
|
-
fontWeight: "500",
|
|
74
|
+
lineHeight: "var(--subtitle2-line-height, 24px)",
|
|
75
|
+
fontWeight: "var(--subtitle2-weight, 500)",
|
|
76
|
+
fontFamily: "var(--subtitle2-family, 'Poppins')",
|
|
70
77
|
},
|
|
71
78
|
],
|
|
72
79
|
subtitile3: [
|
|
73
|
-
"16px",
|
|
80
|
+
"var(--subtitle3-size, 16px)",
|
|
74
81
|
{
|
|
75
|
-
lineHeight: "24px",
|
|
76
|
-
fontWeight: "600",
|
|
82
|
+
lineHeight: "var(--subtitle3-line-height, 24px)",
|
|
83
|
+
fontWeight: "var(--subtitle3-weight, 600)",
|
|
84
|
+
fontFamily: "var(--subtitle3-family, 'Poppins')",
|
|
77
85
|
},
|
|
78
86
|
],
|
|
79
87
|
subtitile4: [
|
|
80
|
-
"14px",
|
|
88
|
+
"var(--subtitle4-size, 14px)",
|
|
81
89
|
{
|
|
82
|
-
lineHeight: "22px",
|
|
83
|
-
fontWeight: "400",
|
|
90
|
+
lineHeight: "var(--subtitle4-line-height, 22px)",
|
|
91
|
+
fontWeight: "var(--subtitle4-weight, 400)",
|
|
92
|
+
fontFamily: "var(--subtitle4-family, 'Poppins')",
|
|
84
93
|
},
|
|
85
94
|
],
|
|
86
95
|
subtitile5: [
|
|
87
|
-
"14px",
|
|
96
|
+
"var(--subtitle5-size, 14px)",
|
|
88
97
|
{
|
|
89
|
-
lineHeight: "22px",
|
|
90
|
-
fontWeight: "500",
|
|
98
|
+
lineHeight: "var(--subtitle5-line-height, 22px)",
|
|
99
|
+
fontWeight: "var(--subtitle5-weight, 500)",
|
|
100
|
+
fontFamily: "var(--subtitle5-family, 'Poppins')",
|
|
91
101
|
},
|
|
92
102
|
],
|
|
93
103
|
subtitile6: [
|
|
94
|
-
"14px",
|
|
104
|
+
"var(--subtitle6-size, 14px)",
|
|
95
105
|
{
|
|
96
|
-
lineHeight: "22px",
|
|
97
|
-
fontWeight: "600",
|
|
106
|
+
lineHeight: "var(--subtitle6-line-height, 22px)",
|
|
107
|
+
fontWeight: "var(--subtitle6-weight, 600)",
|
|
108
|
+
fontFamily: "var(--subtitle6-family, 'Poppins')",
|
|
98
109
|
},
|
|
99
110
|
],
|
|
100
111
|
body1: [
|
|
101
|
-
"16px",
|
|
112
|
+
"var(--body1-size, 16px)",
|
|
102
113
|
{
|
|
103
|
-
lineHeight: "20px",
|
|
104
|
-
fontWeight: "400",
|
|
114
|
+
lineHeight: "var(--body1-line-height, 20px)",
|
|
115
|
+
fontWeight: "var(--body1-weight, 400)",
|
|
116
|
+
fontFamily: "var(--body1-family, 'Poppins')",
|
|
105
117
|
},
|
|
106
118
|
],
|
|
107
119
|
body2: [
|
|
108
|
-
"16px",
|
|
120
|
+
"var(--body2-size, 16px)",
|
|
109
121
|
{
|
|
110
|
-
lineHeight: "20px",
|
|
111
|
-
fontWeight: "500",
|
|
122
|
+
lineHeight: "var(--body2-line-height, 20px)",
|
|
123
|
+
fontWeight: "var(--body2-weight, 500)",
|
|
124
|
+
fontFamily: "var(--body2-family, 'Poppins')",
|
|
112
125
|
},
|
|
113
126
|
],
|
|
114
127
|
body3: [
|
|
115
|
-
"14px",
|
|
128
|
+
"var(--body3-size, 14px)",
|
|
116
129
|
{
|
|
117
|
-
lineHeight: "18px",
|
|
118
|
-
fontWeight: "400",
|
|
130
|
+
lineHeight: "var(--body3-line-height, 18px)",
|
|
131
|
+
fontWeight: "var(--body3-weight, 400)",
|
|
132
|
+
fontFamily: "var(--body3-family, 'Poppins')",
|
|
119
133
|
},
|
|
120
134
|
],
|
|
121
135
|
body4: [
|
|
122
|
-
"14px",
|
|
136
|
+
"var(--body4-size, 14px)",
|
|
123
137
|
{
|
|
124
|
-
lineHeight: "18px",
|
|
125
|
-
fontWeight: "500",
|
|
138
|
+
lineHeight: "var(--body4-line-height, 18px)",
|
|
139
|
+
fontWeight: "var(--body4-weight, 500)",
|
|
140
|
+
fontFamily: "var(--body4-family, 'Poppins')",
|
|
126
141
|
},
|
|
127
142
|
],
|
|
128
143
|
small1: [
|
|
129
|
-
"12px",
|
|
144
|
+
"var(--small1-size, 12px)",
|
|
130
145
|
{
|
|
131
|
-
lineHeight: "14px",
|
|
132
|
-
fontWeight: "400",
|
|
146
|
+
lineHeight: "var(--small1-line-height, 14px)",
|
|
147
|
+
fontWeight: "var(--small1-weight, 400)",
|
|
148
|
+
fontFamily: "var(--small1-family, 'Poppins')",
|
|
133
149
|
},
|
|
134
150
|
],
|
|
135
151
|
small2: [
|
|
136
|
-
"12px",
|
|
152
|
+
"var(--small2-size, 12px)",
|
|
137
153
|
{
|
|
138
|
-
lineHeight: "14px",
|
|
139
|
-
fontWeight: "500",
|
|
154
|
+
lineHeight: "var(--small2-line-height, 14px)",
|
|
155
|
+
fontWeight: "var(--small2-weight, 500)",
|
|
156
|
+
fontFamily: "var(--small2-family, 'Poppins')",
|
|
140
157
|
},
|
|
141
158
|
],
|
|
142
159
|
small3: [
|
|
143
|
-
"
|
|
160
|
+
"var(--small3-size, 12px)",
|
|
144
161
|
{
|
|
145
|
-
lineHeight: "
|
|
146
|
-
fontWeight: "
|
|
162
|
+
lineHeight: "var(--small3-line-height, 14px)",
|
|
163
|
+
fontWeight: "var(--small3-weight, 600)",
|
|
164
|
+
fontFamily: "var(--small3-family, 'Poppins')",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
small4: [
|
|
168
|
+
"var(--small4-size, 10px)",
|
|
169
|
+
{
|
|
170
|
+
lineHeight: "var(--small4-line-height, 12px)",
|
|
171
|
+
fontWeight: "var(--small4-weight, 400)",
|
|
172
|
+
fontFamily: "var(--small4-family, 'Poppins')",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
small5: [
|
|
176
|
+
"var(--small5-size, 10px)",
|
|
177
|
+
{
|
|
178
|
+
lineHeight: "var(--small5-line-height, 12px)",
|
|
179
|
+
fontWeight: "var(--small5-weight, 500)",
|
|
180
|
+
fontFamily: "var(--small5-family, 'Poppins')",
|
|
147
181
|
},
|
|
148
182
|
],
|
|
149
183
|
label1: [
|
|
150
|
-
"12px",
|
|
184
|
+
"var(--label-label1-size, 12px)",
|
|
151
185
|
{
|
|
152
|
-
lineHeight: "12px",
|
|
153
|
-
fontWeight: "400",
|
|
186
|
+
lineHeight: "var(--label-label1-line-height, 12px)",
|
|
187
|
+
fontWeight: "var(--label-label1-weight, 400)",
|
|
188
|
+
fontFamily: "var(--label-label1-family, 'Poppins')",
|
|
154
189
|
},
|
|
155
190
|
],
|
|
156
191
|
label2: [
|
|
157
|
-
"10px",
|
|
192
|
+
"var(--label-label2-size, 10px)",
|
|
158
193
|
{
|
|
159
|
-
lineHeight: "10px",
|
|
160
|
-
fontWeight: "400",
|
|
194
|
+
lineHeight: "var(--label-label2-line-height, 10px)",
|
|
195
|
+
fontWeight: "var(--label-label2-weight, 400)",
|
|
196
|
+
fontFamily: "var(--label-label2-family, 'Poppins')",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
buttonL: [
|
|
200
|
+
"var(--button-button-l-size, 16px)",
|
|
201
|
+
{
|
|
202
|
+
lineHeight: "var(--button-button-l-line-height, 24px)",
|
|
203
|
+
fontWeight: "var(--button-button-l-weight, 700)",
|
|
204
|
+
fontFamily: "var(--button-button-l-family, 'Poppins')",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
buttonMS: [
|
|
208
|
+
"var(--button-button-ms-size, 14px)",
|
|
209
|
+
{
|
|
210
|
+
lineHeight: "var(--button-button-ms-line-height, 22px)",
|
|
211
|
+
fontWeight: "var(--button-button-ms-weight, 700)",
|
|
212
|
+
fontFamily: "var(--button-button-ms-family, 'Poppins')",
|
|
161
213
|
},
|
|
162
214
|
],
|
|
163
215
|
},
|
|
164
216
|
borderRadius: {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
217
|
+
xl: "var(--radius-radius-xl)",
|
|
218
|
+
lg: "var(--radius-radius-l)",
|
|
219
|
+
md: "var(--radius-radius-m)",
|
|
220
|
+
sm: "var(--radius-radius-s)",
|
|
221
|
+
xs: "var(--radius-radius-xs)",
|
|
222
|
+
},
|
|
223
|
+
spacing: {
|
|
224
|
+
xxs: "var(--spacing-spacing-xxs)",
|
|
225
|
+
xs: "var(--spacing-spacing-xs)",
|
|
226
|
+
sm: "var(--spacing-spacing-s)",
|
|
227
|
+
md: "var(--spacing-spacing-m)",
|
|
228
|
+
lg: "var(--spacing-spacing-l)",
|
|
229
|
+
xl: "var(--spacing-spacing-xl)",
|
|
230
|
+
xxl: "var(--spacing-spacing-xxl)",
|
|
231
|
+
xxxl: "var(--spacing-spacing-xxxl)",
|
|
168
232
|
},
|
|
169
233
|
keyframes: {
|
|
170
234
|
"accordion-down": {
|
|
@@ -59,11 +59,23 @@ module.exports = plugin(function ({ addUtilities }) {
|
|
|
59
59
|
".typography-small3": {
|
|
60
60
|
"@apply text-small3": {},
|
|
61
61
|
},
|
|
62
|
+
".typography-small4": {
|
|
63
|
+
"@apply text-small4": {},
|
|
64
|
+
},
|
|
65
|
+
".typography-small5": {
|
|
66
|
+
"@apply text-small5": {},
|
|
67
|
+
},
|
|
62
68
|
".typography-label1": {
|
|
63
69
|
"@apply text-label1": {},
|
|
64
70
|
},
|
|
65
71
|
".typography-label2": {
|
|
66
72
|
"@apply text-label2": {},
|
|
67
73
|
},
|
|
74
|
+
".typography-buttonL": {
|
|
75
|
+
"@apply text-buttonL": {},
|
|
76
|
+
},
|
|
77
|
+
".typography-buttonMS": {
|
|
78
|
+
"@apply text-buttonMS": {},
|
|
79
|
+
},
|
|
68
80
|
});
|
|
69
81
|
});
|