@rovula/ui 0.0.19 → 0.0.20
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 +113 -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 +113 -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/src/theme/main-preset.js
CHANGED
|
@@ -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
|
});
|