@fastwork/xosmoz-theme 0.0.20 → 0.0.22
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/base.css +71 -152
- package/dist/fonts/fastwork-bold.woff +0 -0
- package/dist/fonts/fastwork-bold.woff2 +0 -0
- package/dist/fonts/fastwork-regular.woff +0 -0
- package/dist/fonts/fastwork-regular.woff2 +0 -0
- package/dist/{index-D8kHN4dA.d.mts → index-CaPjiKxd.d.mts} +63 -43
- package/dist/{index-D8kHN4dA.d.ts → index-CaPjiKxd.d.ts} +63 -43
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +74 -113
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +73 -107
- package/dist/index.mjs.map +1 -1
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +74 -113
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +73 -107
- package/dist/tokens.mjs.map +1 -1
- package/package.json +3 -2
package/dist/base.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Xosmoz Design System - Base Styles
|
|
3
3
|
*
|
|
4
4
|
* This file includes:
|
|
5
|
+
* - Font imports (Google Fonts + Fastwork @font-face)
|
|
5
6
|
* - CSS Reset
|
|
6
7
|
* - Design token CSS variables (typography, spacing, borders, shadows)
|
|
7
8
|
*
|
|
@@ -13,6 +14,29 @@
|
|
|
13
14
|
* @import '@fastwork/xosmoz-theme/themes/light.css';
|
|
14
15
|
*/
|
|
15
16
|
|
|
17
|
+
/* Google Fonts - Noto Sans (fallback for missing characters) */
|
|
18
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;600&display=swap');
|
|
19
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600&display=swap');
|
|
20
|
+
|
|
21
|
+
/* Fastwork Font (self-hosted) */
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Fastwork';
|
|
24
|
+
src: url('https://cdn.jsdelivr.net/npm/@fastwork/xosmoz-theme/dist/fonts/fastwork-regular.woff2') format('woff2'),
|
|
25
|
+
url('https://cdn.jsdelivr.net/npm/@fastwork/xosmoz-theme/dist/fonts/fastwork-regular.woff') format('woff');
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Fastwork';
|
|
33
|
+
src: url('https://cdn.jsdelivr.net/npm/@fastwork/xosmoz-theme/dist/fonts/fastwork-bold.woff2') format('woff2'),
|
|
34
|
+
url('https://cdn.jsdelivr.net/npm/@fastwork/xosmoz-theme/dist/fonts/fastwork-bold.woff') format('woff');
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-display: swap;
|
|
38
|
+
}
|
|
39
|
+
|
|
16
40
|
/* CSS Reset */
|
|
17
41
|
|
|
18
42
|
*,
|
|
@@ -57,16 +81,6 @@ body {
|
|
|
57
81
|
--xz-font-size-1500: 4rem;
|
|
58
82
|
--xz-font-size-1600: 4.5rem;
|
|
59
83
|
|
|
60
|
-
--xz-font-weight-100: 100;
|
|
61
|
-
--xz-font-weight-200: 200;
|
|
62
|
-
--xz-font-weight-300: 300;
|
|
63
|
-
--xz-font-weight-400: 400;
|
|
64
|
-
--xz-font-weight-500: 500;
|
|
65
|
-
--xz-font-weight-600: 600;
|
|
66
|
-
--xz-font-weight-700: 700;
|
|
67
|
-
--xz-font-weight-800: 800;
|
|
68
|
-
--xz-font-weight-900: 900;
|
|
69
|
-
|
|
70
84
|
--xz-font-family-primary: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
71
85
|
--xz-font-family-secondary: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
72
86
|
|
|
@@ -77,151 +91,56 @@ body {
|
|
|
77
91
|
--xz-line-height-165pct: 1.65;
|
|
78
92
|
--xz-line-height-200pct: 2;
|
|
79
93
|
|
|
80
|
-
--xz-
|
|
81
|
-
--xz-
|
|
82
|
-
--xz-
|
|
83
|
-
--xz-
|
|
84
|
-
--xz-
|
|
85
|
-
--xz-
|
|
86
|
-
--xz-
|
|
87
|
-
--xz-
|
|
88
|
-
--xz-
|
|
89
|
-
--xz-
|
|
90
|
-
--xz-
|
|
91
|
-
--xz-
|
|
92
|
-
--xz-
|
|
93
|
-
--xz-
|
|
94
|
-
--xz-
|
|
95
|
-
--xz-
|
|
96
|
-
--xz-
|
|
97
|
-
--xz-
|
|
98
|
-
|
|
99
|
-
--xz-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
--xz-
|
|
104
|
-
--xz-
|
|
105
|
-
--xz-
|
|
106
|
-
--xz-
|
|
107
|
-
--xz-title-title3-font-weight: 700;
|
|
108
|
-
--xz-title-title4-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
109
|
-
--xz-title-title4-font-size: 1rem;
|
|
110
|
-
--xz-title-title4-font-weight: 700;
|
|
111
|
-
|
|
112
|
-
--xz-subtitle-subtitle1Bold-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
113
|
-
--xz-subtitle-subtitle1Bold-font-size: 1rem;
|
|
114
|
-
--xz-subtitle-subtitle1Bold-font-weight: 700;
|
|
115
|
-
--xz-subtitle-subtitle1Regular-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
116
|
-
--xz-subtitle-subtitle1Regular-font-size: 1rem;
|
|
117
|
-
--xz-subtitle-subtitle1Regular-font-weight: 400;
|
|
118
|
-
--xz-subtitle-subtitle2Bold-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
119
|
-
--xz-subtitle-subtitle2Bold-font-size: 0.875rem;
|
|
120
|
-
--xz-subtitle-subtitle2Bold-font-weight: 700;
|
|
121
|
-
--xz-subtitle-subtitle2Regular-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
122
|
-
--xz-subtitle-subtitle2Regular-font-size: 0.875rem;
|
|
123
|
-
--xz-subtitle-subtitle2Regular-font-weight: 400;
|
|
124
|
-
--xz-subtitle-subtitle3Bold-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
125
|
-
--xz-subtitle-subtitle3Bold-font-size: 0.75rem;
|
|
126
|
-
--xz-subtitle-subtitle3Bold-font-weight: 700;
|
|
127
|
-
--xz-subtitle-subtitle3Regular-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
128
|
-
--xz-subtitle-subtitle3Regular-font-size: 0.75rem;
|
|
129
|
-
--xz-subtitle-subtitle3Regular-font-weight: 400;
|
|
130
|
-
|
|
131
|
-
--xz-body-body1-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
132
|
-
--xz-body-body1-font-size: 1rem;
|
|
133
|
-
--xz-body-body1-font-weight: 400;
|
|
134
|
-
--xz-body-body2-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
135
|
-
--xz-body-body2-font-size: 0.875rem;
|
|
136
|
-
--xz-body-body2-font-weight: 400;
|
|
137
|
-
--xz-body-body3-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
138
|
-
--xz-body-body3-font-size: 0.75rem;
|
|
139
|
-
--xz-body-body3-font-weight: 400;
|
|
140
|
-
--xz-body-body4-font-family: "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
141
|
-
--xz-body-body4-font-size: 0.625rem;
|
|
142
|
-
--xz-body-body4-font-weight: 400;
|
|
143
|
-
|
|
144
|
-
--xz-spacing-0: 0;
|
|
145
|
-
--xz-spacing-1: 0.25rem;
|
|
146
|
-
--xz-spacing-2: 0.5rem;
|
|
147
|
-
--xz-spacing-3: 0.75rem;
|
|
148
|
-
--xz-spacing-4: 1rem;
|
|
149
|
-
--xz-spacing-5: 1.25rem;
|
|
150
|
-
--xz-spacing-6: 1.5rem;
|
|
151
|
-
--xz-spacing-7: 1.75rem;
|
|
152
|
-
--xz-spacing-8: 2rem;
|
|
153
|
-
--xz-spacing-9: 2.25rem;
|
|
154
|
-
--xz-spacing-10: 2.5rem;
|
|
155
|
-
--xz-spacing-11: 2.75rem;
|
|
156
|
-
--xz-spacing-12: 3rem;
|
|
157
|
-
--xz-spacing-14: 3.5rem;
|
|
158
|
-
--xz-spacing-16: 4rem;
|
|
159
|
-
--xz-spacing-20: 5rem;
|
|
160
|
-
--xz-spacing-24: 6rem;
|
|
161
|
-
--xz-spacing-28: 7rem;
|
|
162
|
-
--xz-spacing-32: 8rem;
|
|
163
|
-
--xz-spacing-36: 9rem;
|
|
164
|
-
--xz-spacing-40: 10rem;
|
|
165
|
-
--xz-spacing-44: 11rem;
|
|
166
|
-
--xz-spacing-48: 12rem;
|
|
167
|
-
--xz-spacing-52: 13rem;
|
|
168
|
-
--xz-spacing-56: 14rem;
|
|
169
|
-
--xz-spacing-60: 15rem;
|
|
170
|
-
--xz-spacing-64: 16rem;
|
|
171
|
-
--xz-spacing-72: 18rem;
|
|
172
|
-
--xz-spacing-80: 20rem;
|
|
173
|
-
--xz-spacing-96: 24rem;
|
|
174
|
-
--xz-spacing-px: 1px;
|
|
175
|
-
--xz-spacing-0_5: 0.125rem;
|
|
176
|
-
--xz-spacing-1_5: 0.375rem;
|
|
177
|
-
--xz-spacing-2_5: 0.625rem;
|
|
178
|
-
--xz-spacing-3_5: 0.875rem;
|
|
179
|
-
|
|
180
|
-
--xz-radius-none: 0;
|
|
181
|
-
--xz-radius-sm: 0.125rem;
|
|
182
|
-
--xz-radius-base: 0.25rem;
|
|
183
|
-
--xz-radius-md: 0.375rem;
|
|
184
|
-
--xz-radius-lg: 0.5rem;
|
|
185
|
-
--xz-radius-xl: 0.75rem;
|
|
186
|
-
--xz-radius-2xl: 1rem;
|
|
187
|
-
--xz-radius-3xl: 1.5rem;
|
|
188
|
-
--xz-radius-full: 9999px;
|
|
189
|
-
|
|
190
|
-
--xz-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
191
|
-
--xz-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
192
|
-
--xz-shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
193
|
-
--xz-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
194
|
-
--xz-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
195
|
-
--xz-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
196
|
-
--xz-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
197
|
-
--xz-shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
198
|
-
--xz-shadow-none: 0 0 #0000;
|
|
94
|
+
--xz-font-heading1: 700 4.5rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
95
|
+
--xz-font-heading2: 700 4rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
96
|
+
--xz-font-heading3: 700 3.5rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
97
|
+
--xz-font-heading4: 700 3rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
98
|
+
--xz-font-heading5: 700 2.5rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
99
|
+
--xz-font-heading6: 700 2rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
100
|
+
--xz-font-title1: 700 1.5rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
101
|
+
--xz-font-title2: 700 1.25rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
102
|
+
--xz-font-title3: 700 1.125rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
103
|
+
--xz-font-title4: 700 1rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
104
|
+
--xz-font-subtitle1-bold: 700 1rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
105
|
+
--xz-font-subtitle1-regular: 400 1rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
106
|
+
--xz-font-subtitle2-bold: 700 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
107
|
+
--xz-font-subtitle2-regular: 400 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
108
|
+
--xz-font-subtitle3-bold: 700 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
109
|
+
--xz-font-subtitle3-regular: 400 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
110
|
+
--xz-font-body1: 400 1rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
111
|
+
--xz-font-body2: 400 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
112
|
+
--xz-font-body3: 400 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
113
|
+
--xz-font-body4: 400 0.625rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
--xz-box-shadow-100: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
|
118
|
+
--xz-box-shadow-200: 0 2px 6px 0 rgba(0, 0, 0, 0.10);
|
|
119
|
+
--xz-box-shadow-300: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
|
|
120
|
+
--xz-box-shadow-400: 0 8px 20px 0 rgba(0, 0, 0, 0.14);
|
|
199
121
|
}
|
|
200
122
|
|
|
201
123
|
@media (max-width: 768px) {
|
|
202
124
|
:root {
|
|
203
|
-
--xz-
|
|
204
|
-
--xz-
|
|
205
|
-
--xz-
|
|
206
|
-
--xz-
|
|
207
|
-
--xz-
|
|
208
|
-
--xz-
|
|
209
|
-
|
|
210
|
-
--xz-
|
|
211
|
-
--xz-
|
|
212
|
-
--xz-
|
|
213
|
-
--xz-
|
|
214
|
-
|
|
215
|
-
--xz-
|
|
216
|
-
--xz-
|
|
217
|
-
--xz-
|
|
218
|
-
--xz-
|
|
219
|
-
--xz-
|
|
220
|
-
--xz-
|
|
221
|
-
|
|
222
|
-
--xz-
|
|
223
|
-
--xz-body-body2-font-size: 0.75rem;
|
|
224
|
-
--xz-body-body3-font-size: 0.625rem;
|
|
225
|
-
--xz-body-body4-font-size: 0.5rem;
|
|
125
|
+
--xz-font-heading1: 700 3rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
126
|
+
--xz-font-heading2: 700 2.6875rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
127
|
+
--xz-font-heading3: 700 2.375rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
128
|
+
--xz-font-heading4: 700 2rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
129
|
+
--xz-font-heading5: 700 1.625rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
130
|
+
--xz-font-heading6: 700 1.5rem/1.5 "Fastwork", "Noto Sans Thai", "Noto Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
131
|
+
--xz-font-title1: 700 1.25rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
132
|
+
--xz-font-title2: 700 1.125rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
133
|
+
--xz-font-title3: 700 1rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
134
|
+
--xz-font-title4: 700 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
135
|
+
--xz-font-subtitle1-bold: 700 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
136
|
+
--xz-font-subtitle1-regular: 400 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
137
|
+
--xz-font-subtitle2-bold: 700 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
138
|
+
--xz-font-subtitle2-regular: 400 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
139
|
+
--xz-font-subtitle3-bold: 700 0.625rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
140
|
+
--xz-font-subtitle3-regular: 400 0.625rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
141
|
+
--xz-font-body1: 400 0.875rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
142
|
+
--xz-font-body2: 400 0.75rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
143
|
+
--xz-font-body3: 400 0.625rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
144
|
+
--xz-font-body4: 400 0.5rem/1.5 -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
226
145
|
}
|
|
227
146
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -63,14 +63,15 @@ interface TypographyToken {
|
|
|
63
63
|
mobile: string;
|
|
64
64
|
};
|
|
65
65
|
fontWeight: number;
|
|
66
|
+
lineHeight: string;
|
|
66
67
|
}
|
|
67
68
|
interface HeadingTokens {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
heading1: TypographyToken;
|
|
70
|
+
heading2: TypographyToken;
|
|
71
|
+
heading3: TypographyToken;
|
|
72
|
+
heading4: TypographyToken;
|
|
73
|
+
heading5: TypographyToken;
|
|
74
|
+
heading6: TypographyToken;
|
|
74
75
|
}
|
|
75
76
|
interface TitleTokens {
|
|
76
77
|
title1: TypographyToken;
|
|
@@ -141,15 +142,10 @@ interface BorderRadius {
|
|
|
141
142
|
full: string;
|
|
142
143
|
}
|
|
143
144
|
interface Shadows {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
lg: string;
|
|
149
|
-
xl: string;
|
|
150
|
-
'2xl': string;
|
|
151
|
-
inner: string;
|
|
152
|
-
none: string;
|
|
145
|
+
100: string;
|
|
146
|
+
200: string;
|
|
147
|
+
300: string;
|
|
148
|
+
400: string;
|
|
153
149
|
}
|
|
154
150
|
interface Theme {
|
|
155
151
|
colors: ThemeColors;
|
|
@@ -178,10 +174,6 @@ interface Theme {
|
|
|
178
174
|
shadows: Shadows;
|
|
179
175
|
}
|
|
180
176
|
|
|
181
|
-
/**
|
|
182
|
-
* Typography design tokens
|
|
183
|
-
*/
|
|
184
|
-
|
|
185
177
|
declare const fontSize: TypographyScale;
|
|
186
178
|
declare const fontWeight: FontWeights;
|
|
187
179
|
declare const fontFamily: {
|
|
@@ -196,10 +188,28 @@ declare const lineHeight: {
|
|
|
196
188
|
'165pct': string;
|
|
197
189
|
'200pct': string;
|
|
198
190
|
};
|
|
199
|
-
declare const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
191
|
+
declare const font: {
|
|
192
|
+
body1: TypographyToken;
|
|
193
|
+
body2: TypographyToken;
|
|
194
|
+
body3: TypographyToken;
|
|
195
|
+
body4: TypographyToken;
|
|
196
|
+
subtitle1Bold: TypographyToken;
|
|
197
|
+
subtitle1Regular: TypographyToken;
|
|
198
|
+
subtitle2Bold: TypographyToken;
|
|
199
|
+
subtitle2Regular: TypographyToken;
|
|
200
|
+
subtitle3Bold: TypographyToken;
|
|
201
|
+
subtitle3Regular: TypographyToken;
|
|
202
|
+
title1: TypographyToken;
|
|
203
|
+
title2: TypographyToken;
|
|
204
|
+
title3: TypographyToken;
|
|
205
|
+
title4: TypographyToken;
|
|
206
|
+
heading1: TypographyToken;
|
|
207
|
+
heading2: TypographyToken;
|
|
208
|
+
heading3: TypographyToken;
|
|
209
|
+
heading4: TypographyToken;
|
|
210
|
+
heading5: TypographyToken;
|
|
211
|
+
heading6: TypographyToken;
|
|
212
|
+
};
|
|
203
213
|
declare const typography: {
|
|
204
214
|
fontSize: TypographyScale;
|
|
205
215
|
fontWeight: FontWeights;
|
|
@@ -215,28 +225,38 @@ declare const typography: {
|
|
|
215
225
|
'165pct': string;
|
|
216
226
|
'200pct': string;
|
|
217
227
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
228
|
+
font: {
|
|
229
|
+
body1: TypographyToken;
|
|
230
|
+
body2: TypographyToken;
|
|
231
|
+
body3: TypographyToken;
|
|
232
|
+
body4: TypographyToken;
|
|
233
|
+
subtitle1Bold: TypographyToken;
|
|
234
|
+
subtitle1Regular: TypographyToken;
|
|
235
|
+
subtitle2Bold: TypographyToken;
|
|
236
|
+
subtitle2Regular: TypographyToken;
|
|
237
|
+
subtitle3Bold: TypographyToken;
|
|
238
|
+
subtitle3Regular: TypographyToken;
|
|
239
|
+
title1: TypographyToken;
|
|
240
|
+
title2: TypographyToken;
|
|
241
|
+
title3: TypographyToken;
|
|
242
|
+
title4: TypographyToken;
|
|
243
|
+
heading1: TypographyToken;
|
|
244
|
+
heading2: TypographyToken;
|
|
245
|
+
heading3: TypographyToken;
|
|
246
|
+
heading4: TypographyToken;
|
|
247
|
+
heading5: TypographyToken;
|
|
248
|
+
heading6: TypographyToken;
|
|
249
|
+
};
|
|
222
250
|
};
|
|
223
251
|
|
|
224
252
|
/**
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
declare const spacing: SpacingScale;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Shadow design tokens
|
|
232
|
-
*/
|
|
233
|
-
|
|
234
|
-
declare const shadows: Shadows;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Border radius design tokens
|
|
253
|
+
* Box Shadow design tokens
|
|
238
254
|
*/
|
|
255
|
+
declare const boxShadows: {
|
|
256
|
+
100: string;
|
|
257
|
+
200: string;
|
|
258
|
+
300: string;
|
|
259
|
+
400: string;
|
|
260
|
+
};
|
|
239
261
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export { type BodyTokens as B, type ColorToken as C, type FontWeights as F, type HeadingTokens as H, type SubtitleTokens as S, type ThemeColors as T, fontWeight as a, fontFamily as b, body as c, typography as d, spacing as e, fontSize as f, shadows as g, headings as h, borderRadius as i, type TypographyScale as j, type TypographyToken as k, lineHeight as l, type TitleTokens as m, type SpacingScale as n, type BorderRadius as o, type Shadows as p, type Theme as q, subtitles as s, titles as t };
|
|
262
|
+
export { type BodyTokens as B, type ColorToken as C, type FontWeights as F, type HeadingTokens as H, type SubtitleTokens as S, type ThemeColors as T, fontWeight as a, fontFamily as b, font as c, boxShadows as d, type TypographyScale as e, fontSize as f, type TypographyToken as g, type TitleTokens as h, type SpacingScale as i, type BorderRadius as j, type Shadows as k, lineHeight as l, type Theme as m, typography as t };
|
|
@@ -63,14 +63,15 @@ interface TypographyToken {
|
|
|
63
63
|
mobile: string;
|
|
64
64
|
};
|
|
65
65
|
fontWeight: number;
|
|
66
|
+
lineHeight: string;
|
|
66
67
|
}
|
|
67
68
|
interface HeadingTokens {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
heading1: TypographyToken;
|
|
70
|
+
heading2: TypographyToken;
|
|
71
|
+
heading3: TypographyToken;
|
|
72
|
+
heading4: TypographyToken;
|
|
73
|
+
heading5: TypographyToken;
|
|
74
|
+
heading6: TypographyToken;
|
|
74
75
|
}
|
|
75
76
|
interface TitleTokens {
|
|
76
77
|
title1: TypographyToken;
|
|
@@ -141,15 +142,10 @@ interface BorderRadius {
|
|
|
141
142
|
full: string;
|
|
142
143
|
}
|
|
143
144
|
interface Shadows {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
lg: string;
|
|
149
|
-
xl: string;
|
|
150
|
-
'2xl': string;
|
|
151
|
-
inner: string;
|
|
152
|
-
none: string;
|
|
145
|
+
100: string;
|
|
146
|
+
200: string;
|
|
147
|
+
300: string;
|
|
148
|
+
400: string;
|
|
153
149
|
}
|
|
154
150
|
interface Theme {
|
|
155
151
|
colors: ThemeColors;
|
|
@@ -178,10 +174,6 @@ interface Theme {
|
|
|
178
174
|
shadows: Shadows;
|
|
179
175
|
}
|
|
180
176
|
|
|
181
|
-
/**
|
|
182
|
-
* Typography design tokens
|
|
183
|
-
*/
|
|
184
|
-
|
|
185
177
|
declare const fontSize: TypographyScale;
|
|
186
178
|
declare const fontWeight: FontWeights;
|
|
187
179
|
declare const fontFamily: {
|
|
@@ -196,10 +188,28 @@ declare const lineHeight: {
|
|
|
196
188
|
'165pct': string;
|
|
197
189
|
'200pct': string;
|
|
198
190
|
};
|
|
199
|
-
declare const
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
191
|
+
declare const font: {
|
|
192
|
+
body1: TypographyToken;
|
|
193
|
+
body2: TypographyToken;
|
|
194
|
+
body3: TypographyToken;
|
|
195
|
+
body4: TypographyToken;
|
|
196
|
+
subtitle1Bold: TypographyToken;
|
|
197
|
+
subtitle1Regular: TypographyToken;
|
|
198
|
+
subtitle2Bold: TypographyToken;
|
|
199
|
+
subtitle2Regular: TypographyToken;
|
|
200
|
+
subtitle3Bold: TypographyToken;
|
|
201
|
+
subtitle3Regular: TypographyToken;
|
|
202
|
+
title1: TypographyToken;
|
|
203
|
+
title2: TypographyToken;
|
|
204
|
+
title3: TypographyToken;
|
|
205
|
+
title4: TypographyToken;
|
|
206
|
+
heading1: TypographyToken;
|
|
207
|
+
heading2: TypographyToken;
|
|
208
|
+
heading3: TypographyToken;
|
|
209
|
+
heading4: TypographyToken;
|
|
210
|
+
heading5: TypographyToken;
|
|
211
|
+
heading6: TypographyToken;
|
|
212
|
+
};
|
|
203
213
|
declare const typography: {
|
|
204
214
|
fontSize: TypographyScale;
|
|
205
215
|
fontWeight: FontWeights;
|
|
@@ -215,28 +225,38 @@ declare const typography: {
|
|
|
215
225
|
'165pct': string;
|
|
216
226
|
'200pct': string;
|
|
217
227
|
};
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
228
|
+
font: {
|
|
229
|
+
body1: TypographyToken;
|
|
230
|
+
body2: TypographyToken;
|
|
231
|
+
body3: TypographyToken;
|
|
232
|
+
body4: TypographyToken;
|
|
233
|
+
subtitle1Bold: TypographyToken;
|
|
234
|
+
subtitle1Regular: TypographyToken;
|
|
235
|
+
subtitle2Bold: TypographyToken;
|
|
236
|
+
subtitle2Regular: TypographyToken;
|
|
237
|
+
subtitle3Bold: TypographyToken;
|
|
238
|
+
subtitle3Regular: TypographyToken;
|
|
239
|
+
title1: TypographyToken;
|
|
240
|
+
title2: TypographyToken;
|
|
241
|
+
title3: TypographyToken;
|
|
242
|
+
title4: TypographyToken;
|
|
243
|
+
heading1: TypographyToken;
|
|
244
|
+
heading2: TypographyToken;
|
|
245
|
+
heading3: TypographyToken;
|
|
246
|
+
heading4: TypographyToken;
|
|
247
|
+
heading5: TypographyToken;
|
|
248
|
+
heading6: TypographyToken;
|
|
249
|
+
};
|
|
222
250
|
};
|
|
223
251
|
|
|
224
252
|
/**
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
declare const spacing: SpacingScale;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* Shadow design tokens
|
|
232
|
-
*/
|
|
233
|
-
|
|
234
|
-
declare const shadows: Shadows;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Border radius design tokens
|
|
253
|
+
* Box Shadow design tokens
|
|
238
254
|
*/
|
|
255
|
+
declare const boxShadows: {
|
|
256
|
+
100: string;
|
|
257
|
+
200: string;
|
|
258
|
+
300: string;
|
|
259
|
+
400: string;
|
|
260
|
+
};
|
|
239
261
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export { type BodyTokens as B, type ColorToken as C, type FontWeights as F, type HeadingTokens as H, type SubtitleTokens as S, type ThemeColors as T, fontWeight as a, fontFamily as b, body as c, typography as d, spacing as e, fontSize as f, shadows as g, headings as h, borderRadius as i, type TypographyScale as j, type TypographyToken as k, lineHeight as l, type TitleTokens as m, type SpacingScale as n, type BorderRadius as o, type Shadows as p, type Theme as q, subtitles as s, titles as t };
|
|
262
|
+
export { type BodyTokens as B, type ColorToken as C, type FontWeights as F, type HeadingTokens as H, type SubtitleTokens as S, type ThemeColors as T, fontWeight as a, fontFamily as b, font as c, boxShadows as d, type TypographyScale as e, fontSize as f, type TypographyToken as g, type TitleTokens as h, type SpacingScale as i, type BorderRadius as j, type Shadows as k, lineHeight as l, type Theme as m, typography as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ColorToken } from './index-
|
|
2
|
-
export { B as BodyTokens,
|
|
1
|
+
import { C as ColorToken } from './index-CaPjiKxd.mjs';
|
|
2
|
+
export { B as BodyTokens, j as BorderRadius, F as FontWeights, H as HeadingTokens, k as Shadows, i as SpacingScale, S as SubtitleTokens, m as Theme, T as ThemeColors, h as TitleTokens, e as TypographyScale, g as TypographyToken, d as boxShadows, c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-CaPjiKxd.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Theme configuration types
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ColorToken } from './index-
|
|
2
|
-
export { B as BodyTokens,
|
|
1
|
+
import { C as ColorToken } from './index-CaPjiKxd.js';
|
|
2
|
+
export { B as BodyTokens, j as BorderRadius, F as FontWeights, H as HeadingTokens, k as Shadows, i as SpacingScale, S as SubtitleTokens, m as Theme, T as ThemeColors, h as TitleTokens, e as TypographyScale, g as TypographyToken, d as boxShadows, c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-CaPjiKxd.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Theme configuration types
|