@whity/tokens 0.2.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fonts/LICENSE-geist-mono.txt +92 -92
- package/fonts/LICENSE-noto-sans-arabic.txt +93 -93
- package/fonts/LICENSE-noto-sans.txt +93 -93
- package/fonts/LICENSE-readex-pro.txt +93 -93
- package/generated/base.css +32 -32
- package/generated/fonts.css +91 -91
- package/generated/theme.css +428 -404
- package/generated/tokens.json +298 -291
- package/package.json +26 -26
package/generated/tokens.json
CHANGED
|
@@ -1,291 +1,298 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "3.0.0",
|
|
3
|
-
"light": {
|
|
4
|
-
"background": "oklch(0.95 0 0)",
|
|
5
|
-
"foreground": "oklch(0.145 0 0)",
|
|
6
|
-
"card": "oklch(1 0 0)",
|
|
7
|
-
"card-foreground": "oklch(0.145 0 0)",
|
|
8
|
-
"popover": "oklch(1 0 0)",
|
|
9
|
-
"popover-foreground": "oklch(0.145 0 0)",
|
|
10
|
-
"primary": "oklch(0.5 0.16 255)",
|
|
11
|
-
"primary-foreground": "oklch(1 0 0)",
|
|
12
|
-
"secondary": "oklch(0.97 0 0)",
|
|
13
|
-
"secondary-foreground": "oklch(0.205 0 0)",
|
|
14
|
-
"muted": "oklch(0.97 0 0)",
|
|
15
|
-
"muted-foreground": "oklch(0.52 0 0)",
|
|
16
|
-
"accent": "oklch(0.97 0 0)",
|
|
17
|
-
"accent-foreground": "oklch(0.205 0 0)",
|
|
18
|
-
"brand": "oklch(0.5 0.16 255)",
|
|
19
|
-
"brand-foreground": "oklch(1 0 0)",
|
|
20
|
-
"destructive": "oklch(0.5494 0.1994 27.1)",
|
|
21
|
-
"success": "oklch(0.5197 0.1394 150.14)",
|
|
22
|
-
"success-foreground": "oklch(1 0 0)",
|
|
23
|
-
"warning": "oklch(0.7998 0.1501 78.05)",
|
|
24
|
-
"warning-foreground": "oklch(0.1889 0.026 77.5)",
|
|
25
|
-
"error": "oklch(0.5494 0.1994 27.1)",
|
|
26
|
-
"error-foreground": "oklch(1 0 0)",
|
|
27
|
-
"info": "oklch(0.4495 0 0)",
|
|
28
|
-
"info-foreground": "oklch(1 0 0)",
|
|
29
|
-
"border": "oklch(0.922 0 0)",
|
|
30
|
-
"input": "oklch(0.66 0 0)",
|
|
31
|
-
"ring": "oklch(0.5 0.16 255)",
|
|
32
|
-
"chart-1": "oklch(0.5 0.16 255)",
|
|
33
|
-
"chart-2": "oklch(0.7788 0.16 69.88)",
|
|
34
|
-
"chart-3": "oklch(0.8509 0.0799 219.47)",
|
|
35
|
-
"chart-4": "oklch(0.5005 0.2006 329.92)",
|
|
36
|
-
"chart-5": "oklch(0.6599 0.13 159.92)",
|
|
37
|
-
"sidebar": "oklch(0.985 0 0)",
|
|
38
|
-
"sidebar-foreground": "oklch(0.145 0 0)",
|
|
39
|
-
"sidebar-primary": "oklch(0.9607 0.0148 251.16)",
|
|
40
|
-
"sidebar-primary-foreground": "oklch(0.5 0.16 255)",
|
|
41
|
-
"sidebar-accent": "oklch(0.97 0 0)",
|
|
42
|
-
"sidebar-accent-foreground": "oklch(0.205 0 0)",
|
|
43
|
-
"sidebar-border": "oklch(0.922 0 0)",
|
|
44
|
-
"sidebar-ring": "oklch(0.5 0.16 255)",
|
|
45
|
-
"overlay": "oklch(0 0 0 / 0.45)",
|
|
46
|
-
"mark-sheet": "oklch(1 0 0)",
|
|
47
|
-
"blueprint": "oklch(0.5 0.16 255)",
|
|
48
|
-
"blueprint-line": "oklch(1 0 0 / 0.12)",
|
|
49
|
-
"blueprint-line-strong": "oklch(1 0 0 / 0.24)",
|
|
50
|
-
"plane-deep": "oklch(0.3 0.1 255)",
|
|
51
|
-
"divider": "oklch(0.94 0 0)",
|
|
52
|
-
"table-header": "oklch(0.975 0 0)",
|
|
53
|
-
"success-text": "oklch(0.4986 0.1343 150.06)",
|
|
54
|
-
"success-tint": "oklch(0.9603 0.0399 149.82)",
|
|
55
|
-
"warning-text": "oklch(0.5202 0.1204 59.76)",
|
|
56
|
-
"warning-tint": "oklch(0.9694 0.0296 85.56)",
|
|
57
|
-
"error-text": "oklch(0.5204 0.2004 26.99)",
|
|
58
|
-
"error-tint": "oklch(0.9596 0.0154 27.28)",
|
|
59
|
-
"info-text": "oklch(0.4495 0 0)",
|
|
60
|
-
"info-tint": "oklch(0.9551 0 0)",
|
|
61
|
-
"destructive-foreground": "oklch(1 0 0)",
|
|
62
|
-
"primary-tint": "oklch(0.9607 0.0148 251.16)",
|
|
63
|
-
"primary-tint-foreground": "oklch(0.5 0.16 255)",
|
|
64
|
-
"chart-6": "oklch(0.3485 0 0)"
|
|
65
|
-
},
|
|
66
|
-
"dark": {
|
|
67
|
-
"background": "oklch(0.145 0 0)",
|
|
68
|
-
"foreground": "oklch(0.985 0 0)",
|
|
69
|
-
"card": "oklch(0.205 0 0)",
|
|
70
|
-
"card-foreground": "oklch(0.985 0 0)",
|
|
71
|
-
"popover": "oklch(0.205 0 0)",
|
|
72
|
-
"popover-foreground": "oklch(0.985 0 0)",
|
|
73
|
-
"primary": "oklch(0.7 0.15 255)",
|
|
74
|
-
"primary-foreground": "oklch(0.205 0 0)",
|
|
75
|
-
"secondary": "oklch(0.269 0 0)",
|
|
76
|
-
"secondary-foreground": "oklch(0.985 0 0)",
|
|
77
|
-
"muted": "oklch(0.269 0 0)",
|
|
78
|
-
"muted-foreground": "oklch(0.708 0 0)",
|
|
79
|
-
"accent": "oklch(0.269 0 0)",
|
|
80
|
-
"accent-foreground": "oklch(0.985 0 0)",
|
|
81
|
-
"brand": "oklch(0.7 0.15 255)",
|
|
82
|
-
"brand-foreground": "oklch(0.205 0 0)",
|
|
83
|
-
"destructive": "oklch(0.7005 0.1697 24.93)",
|
|
84
|
-
"success": "oklch(0.7407 0.1507 149.85)",
|
|
85
|
-
"success-foreground": "oklch(0.1448 0 0)",
|
|
86
|
-
"warning": "oklch(0.8207 0.1504 79.92)",
|
|
87
|
-
"warning-foreground": "oklch(0.1448 0 0)",
|
|
88
|
-
"error": "oklch(0.7005 0.1697 24.93)",
|
|
89
|
-
"error-foreground": "oklch(0.1448 0 0)",
|
|
90
|
-
"info": "oklch(0.7508 0 0)",
|
|
91
|
-
"info-foreground": "oklch(0.1448 0 0)",
|
|
92
|
-
"border": "oklch(1 0 0 / 0.1)",
|
|
93
|
-
"input": "oklch(0.52 0 0)",
|
|
94
|
-
"ring": "oklch(0.7 0.15 255)",
|
|
95
|
-
"chart-1": "oklch(0.7 0.15 255)",
|
|
96
|
-
"chart-2": "oklch(0.7788 0.16 69.88)",
|
|
97
|
-
"chart-3": "oklch(0.8509 0.0799 219.47)",
|
|
98
|
-
"chart-4": "oklch(0.6597 0.1993 329.88)",
|
|
99
|
-
"chart-5": "oklch(0.7407 0.1306 159.84)",
|
|
100
|
-
"sidebar": "oklch(0.17 0 0)",
|
|
101
|
-
"sidebar-foreground": "oklch(0.985 0 0)",
|
|
102
|
-
"sidebar-primary": "oklch(0.2987 0.06 255.91)",
|
|
103
|
-
"sidebar-primary-foreground": "oklch(0.6995 0.1498 255.09)",
|
|
104
|
-
"sidebar-accent": "oklch(0.269 0 0)",
|
|
105
|
-
"sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
106
|
-
"sidebar-border": "oklch(1 0 0 / 0.1)",
|
|
107
|
-
"sidebar-ring": "oklch(0.7 0.15 255)",
|
|
108
|
-
"overlay": "oklch(0 0 0 / 0.45)",
|
|
109
|
-
"mark-sheet": "oklch(1 0 0)",
|
|
110
|
-
"blueprint": "oklch(0.5 0.16 255)",
|
|
111
|
-
"blueprint-line": "oklch(1 0 0 / 0.12)",
|
|
112
|
-
"blueprint-line-strong": "oklch(1 0 0 / 0.24)",
|
|
113
|
-
"plane-deep": "oklch(0.42 0.13 255)",
|
|
114
|
-
"divider": "oklch(1 0 0 / 0.07)",
|
|
115
|
-
"table-header": "oklch(0.23 0 0)",
|
|
116
|
-
"success-text": "oklch(0.7407 0.1507 149.85)",
|
|
117
|
-
"success-tint": "oklch(0.2998 0.0601 150.03)",
|
|
118
|
-
"warning-text": "oklch(0.8207 0.1504 79.92)",
|
|
119
|
-
"warning-tint": "oklch(0.3206 0.0605 80.03)",
|
|
120
|
-
"error-text": "oklch(0.7005 0.1697 24.93)",
|
|
121
|
-
"error-tint": "oklch(0.3006 0.0805 25.3)",
|
|
122
|
-
"info-text": "oklch(0.7508 0 0)",
|
|
123
|
-
"info-tint": "oklch(0.2686 0 0)",
|
|
124
|
-
"destructive-foreground": "oklch(0.1448 0 0)",
|
|
125
|
-
"primary-tint": "oklch(0.2987 0.06 255.91)",
|
|
126
|
-
"primary-tint-foreground": "oklch(0.6995 0.1498 255.09)",
|
|
127
|
-
"chart-6": "oklch(0.6167 0 0)"
|
|
128
|
-
},
|
|
129
|
-
"typography": {
|
|
130
|
-
"fontFamily": {
|
|
131
|
-
"sans": "'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
132
|
-
"mono": "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
133
|
-
"heading": "'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
134
|
-
"arabic": "'Noto Sans Arabic', 'Noto Sans', sans-serif",
|
|
135
|
-
"display": "'Readex Pro', 'Noto Sans', sans-serif"
|
|
136
|
-
},
|
|
137
|
-
"fontSize": {
|
|
138
|
-
"2xs": {
|
|
139
|
-
"rem": "0.
|
|
140
|
-
"px":
|
|
141
|
-
"lineHeight": 1.5
|
|
142
|
-
},
|
|
143
|
-
"xs": {
|
|
144
|
-
"rem": "0.
|
|
145
|
-
"px":
|
|
146
|
-
"lineHeight": 1.5
|
|
147
|
-
},
|
|
148
|
-
"sm": {
|
|
149
|
-
"rem": "0.
|
|
150
|
-
"px":
|
|
151
|
-
"lineHeight": 1.5
|
|
152
|
-
},
|
|
153
|
-
"base": {
|
|
154
|
-
"rem": "1rem",
|
|
155
|
-
"px": 16,
|
|
156
|
-
"lineHeight": 1.5
|
|
157
|
-
},
|
|
158
|
-
"lg": {
|
|
159
|
-
"rem": "1.125rem",
|
|
160
|
-
"px": 18,
|
|
161
|
-
"lineHeight": 1.25
|
|
162
|
-
},
|
|
163
|
-
"xl": {
|
|
164
|
-
"rem": "1.25rem",
|
|
165
|
-
"px": 20,
|
|
166
|
-
"lineHeight": 1.25
|
|
167
|
-
},
|
|
168
|
-
"2xl": {
|
|
169
|
-
"rem": "1.5rem",
|
|
170
|
-
"px": 24,
|
|
171
|
-
"lineHeight": 1.25
|
|
172
|
-
},
|
|
173
|
-
"3xl": {
|
|
174
|
-
"rem": "1.875rem",
|
|
175
|
-
"px": 30,
|
|
176
|
-
"lineHeight": 1.25
|
|
177
|
-
},
|
|
178
|
-
"4xl": {
|
|
179
|
-
"rem": "2.25rem",
|
|
180
|
-
"px": 36,
|
|
181
|
-
"lineHeight": 1.1
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"fontWeight": {
|
|
185
|
-
"normal": 400,
|
|
186
|
-
"medium": 500,
|
|
187
|
-
"semibold": 600
|
|
188
|
-
},
|
|
189
|
-
"lineHeight": {
|
|
190
|
-
"none": 1,
|
|
191
|
-
"tight": 1.25,
|
|
192
|
-
"snug": 1.375,
|
|
193
|
-
"normal": 1.5,
|
|
194
|
-
"relaxed": 1.625
|
|
195
|
-
},
|
|
196
|
-
"letterSpacing": {
|
|
197
|
-
"tighter": "-0.05em",
|
|
198
|
-
"tight": "-0.025em",
|
|
199
|
-
"normal": "0em",
|
|
200
|
-
"wide": "0.025em",
|
|
201
|
-
"wider": "0.05em"
|
|
202
|
-
}
|
|
203
|
-
},
|
|
204
|
-
"spacing": {
|
|
205
|
-
"unit": "8px",
|
|
206
|
-
"description": "8px base grid. The 4px step is a half-unit for fine adjustments.",
|
|
207
|
-
"scale": {
|
|
208
|
-
"0": "0px",
|
|
209
|
-
"1": "4px",
|
|
210
|
-
"2": "8px",
|
|
211
|
-
"3": "12px",
|
|
212
|
-
"4": "16px",
|
|
213
|
-
"6": "24px",
|
|
214
|
-
"8": "32px"
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"borderRadius": {
|
|
218
|
-
"base": "0.5625rem",
|
|
219
|
-
"sm": "4px",
|
|
220
|
-
"md": "7px",
|
|
221
|
-
"lg": "10px",
|
|
222
|
-
"xl": "12px",
|
|
223
|
-
"2xl": "16px",
|
|
224
|
-
"control-sm": "
|
|
225
|
-
"control": "
|
|
226
|
-
"control-lg": "
|
|
227
|
-
"card": "12px",
|
|
228
|
-
"dialog": "16px",
|
|
229
|
-
"full": "999px"
|
|
230
|
-
},
|
|
231
|
-
"shadow": {
|
|
232
|
-
"light": {
|
|
233
|
-
"plane-rest": "-3px 3px 0 0 oklch(0.5 0.16 255)",
|
|
234
|
-
"plane-hover": "-5px 5px 0 0 oklch(0.5 0.16 255)",
|
|
235
|
-
"plane-primary-rest": "-3px 3px 0 0 oklch(0.3 0.1 255)",
|
|
236
|
-
"plane-primary-hover": "-5px 5px 0 0 oklch(0.3 0.1 255)",
|
|
237
|
-
"shadow-float": "0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10)"
|
|
238
|
-
},
|
|
239
|
-
"dark": {
|
|
240
|
-
"plane-rest": "-3px 3px 0 0 oklch(0.7 0.15 255)",
|
|
241
|
-
"plane-hover": "-5px 5px 0 0 oklch(0.7 0.15 255)",
|
|
242
|
-
"plane-primary-rest": "-3px 3px 0 0 oklch(0.42 0.13 255)",
|
|
243
|
-
"plane-primary-hover": "-5px 5px 0 0 oklch(0.42 0.13 255)",
|
|
244
|
-
"shadow-float": "0 8px 24px -6px oklch(0 0 0 / 0.55), 0 2px 6px -2px oklch(0 0 0 / 0.35)"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
"plane": {
|
|
248
|
-
"plane-offset": "0.1875rem",
|
|
249
|
-
"plane-lift": "0.3125rem"
|
|
250
|
-
},
|
|
251
|
-
"size": {
|
|
252
|
-
"control-h-sm": "
|
|
253
|
-
"control-h": "
|
|
254
|
-
"control-h-lg": "
|
|
255
|
-
"row-h": "
|
|
256
|
-
"icon": "16px",
|
|
257
|
-
"sidebar-w": "240px",
|
|
258
|
-
"sidebar-w-collapsed": "56px",
|
|
259
|
-
"content-max": "1280px",
|
|
260
|
-
"form-max": "720px",
|
|
261
|
-
"gutter": "24px"
|
|
262
|
-
},
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"body":
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
1
|
+
{
|
|
2
|
+
"version": "3.0.0",
|
|
3
|
+
"light": {
|
|
4
|
+
"background": "oklch(0.95 0 0)",
|
|
5
|
+
"foreground": "oklch(0.145 0 0)",
|
|
6
|
+
"card": "oklch(1 0 0)",
|
|
7
|
+
"card-foreground": "oklch(0.145 0 0)",
|
|
8
|
+
"popover": "oklch(1 0 0)",
|
|
9
|
+
"popover-foreground": "oklch(0.145 0 0)",
|
|
10
|
+
"primary": "oklch(0.5 0.16 255)",
|
|
11
|
+
"primary-foreground": "oklch(1 0 0)",
|
|
12
|
+
"secondary": "oklch(0.97 0 0)",
|
|
13
|
+
"secondary-foreground": "oklch(0.205 0 0)",
|
|
14
|
+
"muted": "oklch(0.97 0 0)",
|
|
15
|
+
"muted-foreground": "oklch(0.52 0 0)",
|
|
16
|
+
"accent": "oklch(0.97 0 0)",
|
|
17
|
+
"accent-foreground": "oklch(0.205 0 0)",
|
|
18
|
+
"brand": "oklch(0.5 0.16 255)",
|
|
19
|
+
"brand-foreground": "oklch(1 0 0)",
|
|
20
|
+
"destructive": "oklch(0.5494 0.1994 27.1)",
|
|
21
|
+
"success": "oklch(0.5197 0.1394 150.14)",
|
|
22
|
+
"success-foreground": "oklch(1 0 0)",
|
|
23
|
+
"warning": "oklch(0.7998 0.1501 78.05)",
|
|
24
|
+
"warning-foreground": "oklch(0.1889 0.026 77.5)",
|
|
25
|
+
"error": "oklch(0.5494 0.1994 27.1)",
|
|
26
|
+
"error-foreground": "oklch(1 0 0)",
|
|
27
|
+
"info": "oklch(0.4495 0 0)",
|
|
28
|
+
"info-foreground": "oklch(1 0 0)",
|
|
29
|
+
"border": "oklch(0.922 0 0)",
|
|
30
|
+
"input": "oklch(0.66 0 0)",
|
|
31
|
+
"ring": "oklch(0.5 0.16 255)",
|
|
32
|
+
"chart-1": "oklch(0.5 0.16 255)",
|
|
33
|
+
"chart-2": "oklch(0.7788 0.16 69.88)",
|
|
34
|
+
"chart-3": "oklch(0.8509 0.0799 219.47)",
|
|
35
|
+
"chart-4": "oklch(0.5005 0.2006 329.92)",
|
|
36
|
+
"chart-5": "oklch(0.6599 0.13 159.92)",
|
|
37
|
+
"sidebar": "oklch(0.985 0 0)",
|
|
38
|
+
"sidebar-foreground": "oklch(0.145 0 0)",
|
|
39
|
+
"sidebar-primary": "oklch(0.9607 0.0148 251.16)",
|
|
40
|
+
"sidebar-primary-foreground": "oklch(0.5 0.16 255)",
|
|
41
|
+
"sidebar-accent": "oklch(0.97 0 0)",
|
|
42
|
+
"sidebar-accent-foreground": "oklch(0.205 0 0)",
|
|
43
|
+
"sidebar-border": "oklch(0.922 0 0)",
|
|
44
|
+
"sidebar-ring": "oklch(0.5 0.16 255)",
|
|
45
|
+
"overlay": "oklch(0 0 0 / 0.45)",
|
|
46
|
+
"mark-sheet": "oklch(1 0 0)",
|
|
47
|
+
"blueprint": "oklch(0.5 0.16 255)",
|
|
48
|
+
"blueprint-line": "oklch(1 0 0 / 0.12)",
|
|
49
|
+
"blueprint-line-strong": "oklch(1 0 0 / 0.24)",
|
|
50
|
+
"plane-deep": "oklch(0.3 0.1 255)",
|
|
51
|
+
"divider": "oklch(0.94 0 0)",
|
|
52
|
+
"table-header": "oklch(0.975 0 0)",
|
|
53
|
+
"success-text": "oklch(0.4986 0.1343 150.06)",
|
|
54
|
+
"success-tint": "oklch(0.9603 0.0399 149.82)",
|
|
55
|
+
"warning-text": "oklch(0.5202 0.1204 59.76)",
|
|
56
|
+
"warning-tint": "oklch(0.9694 0.0296 85.56)",
|
|
57
|
+
"error-text": "oklch(0.5204 0.2004 26.99)",
|
|
58
|
+
"error-tint": "oklch(0.9596 0.0154 27.28)",
|
|
59
|
+
"info-text": "oklch(0.4495 0 0)",
|
|
60
|
+
"info-tint": "oklch(0.9551 0 0)",
|
|
61
|
+
"destructive-foreground": "oklch(1 0 0)",
|
|
62
|
+
"primary-tint": "oklch(0.9607 0.0148 251.16)",
|
|
63
|
+
"primary-tint-foreground": "oklch(0.5 0.16 255)",
|
|
64
|
+
"chart-6": "oklch(0.3485 0 0)"
|
|
65
|
+
},
|
|
66
|
+
"dark": {
|
|
67
|
+
"background": "oklch(0.145 0 0)",
|
|
68
|
+
"foreground": "oklch(0.985 0 0)",
|
|
69
|
+
"card": "oklch(0.205 0 0)",
|
|
70
|
+
"card-foreground": "oklch(0.985 0 0)",
|
|
71
|
+
"popover": "oklch(0.205 0 0)",
|
|
72
|
+
"popover-foreground": "oklch(0.985 0 0)",
|
|
73
|
+
"primary": "oklch(0.7 0.15 255)",
|
|
74
|
+
"primary-foreground": "oklch(0.205 0 0)",
|
|
75
|
+
"secondary": "oklch(0.269 0 0)",
|
|
76
|
+
"secondary-foreground": "oklch(0.985 0 0)",
|
|
77
|
+
"muted": "oklch(0.269 0 0)",
|
|
78
|
+
"muted-foreground": "oklch(0.708 0 0)",
|
|
79
|
+
"accent": "oklch(0.269 0 0)",
|
|
80
|
+
"accent-foreground": "oklch(0.985 0 0)",
|
|
81
|
+
"brand": "oklch(0.7 0.15 255)",
|
|
82
|
+
"brand-foreground": "oklch(0.205 0 0)",
|
|
83
|
+
"destructive": "oklch(0.7005 0.1697 24.93)",
|
|
84
|
+
"success": "oklch(0.7407 0.1507 149.85)",
|
|
85
|
+
"success-foreground": "oklch(0.1448 0 0)",
|
|
86
|
+
"warning": "oklch(0.8207 0.1504 79.92)",
|
|
87
|
+
"warning-foreground": "oklch(0.1448 0 0)",
|
|
88
|
+
"error": "oklch(0.7005 0.1697 24.93)",
|
|
89
|
+
"error-foreground": "oklch(0.1448 0 0)",
|
|
90
|
+
"info": "oklch(0.7508 0 0)",
|
|
91
|
+
"info-foreground": "oklch(0.1448 0 0)",
|
|
92
|
+
"border": "oklch(1 0 0 / 0.1)",
|
|
93
|
+
"input": "oklch(0.52 0 0)",
|
|
94
|
+
"ring": "oklch(0.7 0.15 255)",
|
|
95
|
+
"chart-1": "oklch(0.7 0.15 255)",
|
|
96
|
+
"chart-2": "oklch(0.7788 0.16 69.88)",
|
|
97
|
+
"chart-3": "oklch(0.8509 0.0799 219.47)",
|
|
98
|
+
"chart-4": "oklch(0.6597 0.1993 329.88)",
|
|
99
|
+
"chart-5": "oklch(0.7407 0.1306 159.84)",
|
|
100
|
+
"sidebar": "oklch(0.17 0 0)",
|
|
101
|
+
"sidebar-foreground": "oklch(0.985 0 0)",
|
|
102
|
+
"sidebar-primary": "oklch(0.2987 0.06 255.91)",
|
|
103
|
+
"sidebar-primary-foreground": "oklch(0.6995 0.1498 255.09)",
|
|
104
|
+
"sidebar-accent": "oklch(0.269 0 0)",
|
|
105
|
+
"sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
106
|
+
"sidebar-border": "oklch(1 0 0 / 0.1)",
|
|
107
|
+
"sidebar-ring": "oklch(0.7 0.15 255)",
|
|
108
|
+
"overlay": "oklch(0 0 0 / 0.45)",
|
|
109
|
+
"mark-sheet": "oklch(1 0 0)",
|
|
110
|
+
"blueprint": "oklch(0.5 0.16 255)",
|
|
111
|
+
"blueprint-line": "oklch(1 0 0 / 0.12)",
|
|
112
|
+
"blueprint-line-strong": "oklch(1 0 0 / 0.24)",
|
|
113
|
+
"plane-deep": "oklch(0.42 0.13 255)",
|
|
114
|
+
"divider": "oklch(1 0 0 / 0.07)",
|
|
115
|
+
"table-header": "oklch(0.23 0 0)",
|
|
116
|
+
"success-text": "oklch(0.7407 0.1507 149.85)",
|
|
117
|
+
"success-tint": "oklch(0.2998 0.0601 150.03)",
|
|
118
|
+
"warning-text": "oklch(0.8207 0.1504 79.92)",
|
|
119
|
+
"warning-tint": "oklch(0.3206 0.0605 80.03)",
|
|
120
|
+
"error-text": "oklch(0.7005 0.1697 24.93)",
|
|
121
|
+
"error-tint": "oklch(0.3006 0.0805 25.3)",
|
|
122
|
+
"info-text": "oklch(0.7508 0 0)",
|
|
123
|
+
"info-tint": "oklch(0.2686 0 0)",
|
|
124
|
+
"destructive-foreground": "oklch(0.1448 0 0)",
|
|
125
|
+
"primary-tint": "oklch(0.2987 0.06 255.91)",
|
|
126
|
+
"primary-tint-foreground": "oklch(0.6995 0.1498 255.09)",
|
|
127
|
+
"chart-6": "oklch(0.6167 0 0)"
|
|
128
|
+
},
|
|
129
|
+
"typography": {
|
|
130
|
+
"fontFamily": {
|
|
131
|
+
"sans": "'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
132
|
+
"mono": "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
133
|
+
"heading": "'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
134
|
+
"arabic": "'Noto Sans Arabic', 'Noto Sans', sans-serif",
|
|
135
|
+
"display": "'Readex Pro', 'Noto Sans', sans-serif"
|
|
136
|
+
},
|
|
137
|
+
"fontSize": {
|
|
138
|
+
"2xs": {
|
|
139
|
+
"rem": "0.8125rem",
|
|
140
|
+
"px": 13,
|
|
141
|
+
"lineHeight": 1.5
|
|
142
|
+
},
|
|
143
|
+
"xs": {
|
|
144
|
+
"rem": "0.8125rem",
|
|
145
|
+
"px": 13,
|
|
146
|
+
"lineHeight": 1.5
|
|
147
|
+
},
|
|
148
|
+
"sm": {
|
|
149
|
+
"rem": "0.9375rem",
|
|
150
|
+
"px": 15,
|
|
151
|
+
"lineHeight": 1.5
|
|
152
|
+
},
|
|
153
|
+
"base": {
|
|
154
|
+
"rem": "1rem",
|
|
155
|
+
"px": 16,
|
|
156
|
+
"lineHeight": 1.5
|
|
157
|
+
},
|
|
158
|
+
"lg": {
|
|
159
|
+
"rem": "1.125rem",
|
|
160
|
+
"px": 18,
|
|
161
|
+
"lineHeight": 1.25
|
|
162
|
+
},
|
|
163
|
+
"xl": {
|
|
164
|
+
"rem": "1.25rem",
|
|
165
|
+
"px": 20,
|
|
166
|
+
"lineHeight": 1.25
|
|
167
|
+
},
|
|
168
|
+
"2xl": {
|
|
169
|
+
"rem": "1.5rem",
|
|
170
|
+
"px": 24,
|
|
171
|
+
"lineHeight": 1.25
|
|
172
|
+
},
|
|
173
|
+
"3xl": {
|
|
174
|
+
"rem": "1.875rem",
|
|
175
|
+
"px": 30,
|
|
176
|
+
"lineHeight": 1.25
|
|
177
|
+
},
|
|
178
|
+
"4xl": {
|
|
179
|
+
"rem": "2.25rem",
|
|
180
|
+
"px": 36,
|
|
181
|
+
"lineHeight": 1.1
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"fontWeight": {
|
|
185
|
+
"normal": 400,
|
|
186
|
+
"medium": 500,
|
|
187
|
+
"semibold": 600
|
|
188
|
+
},
|
|
189
|
+
"lineHeight": {
|
|
190
|
+
"none": 1,
|
|
191
|
+
"tight": 1.25,
|
|
192
|
+
"snug": 1.375,
|
|
193
|
+
"normal": 1.5,
|
|
194
|
+
"relaxed": 1.625
|
|
195
|
+
},
|
|
196
|
+
"letterSpacing": {
|
|
197
|
+
"tighter": "-0.05em",
|
|
198
|
+
"tight": "-0.025em",
|
|
199
|
+
"normal": "0em",
|
|
200
|
+
"wide": "0.025em",
|
|
201
|
+
"wider": "0.05em"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"spacing": {
|
|
205
|
+
"unit": "8px",
|
|
206
|
+
"description": "8px base grid. The 4px step is a half-unit for fine adjustments.",
|
|
207
|
+
"scale": {
|
|
208
|
+
"0": "0px",
|
|
209
|
+
"1": "4px",
|
|
210
|
+
"2": "8px",
|
|
211
|
+
"3": "12px",
|
|
212
|
+
"4": "16px",
|
|
213
|
+
"6": "24px",
|
|
214
|
+
"8": "32px"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"borderRadius": {
|
|
218
|
+
"base": "0.5625rem",
|
|
219
|
+
"sm": "4px",
|
|
220
|
+
"md": "7px",
|
|
221
|
+
"lg": "10px",
|
|
222
|
+
"xl": "12px",
|
|
223
|
+
"2xl": "16px",
|
|
224
|
+
"control-sm": "8px",
|
|
225
|
+
"control": "10px",
|
|
226
|
+
"control-lg": "11px",
|
|
227
|
+
"card": "12px",
|
|
228
|
+
"dialog": "16px",
|
|
229
|
+
"full": "999px"
|
|
230
|
+
},
|
|
231
|
+
"shadow": {
|
|
232
|
+
"light": {
|
|
233
|
+
"plane-rest": "-3px 3px 0 0 oklch(0.5 0.16 255)",
|
|
234
|
+
"plane-hover": "-5px 5px 0 0 oklch(0.5 0.16 255)",
|
|
235
|
+
"plane-primary-rest": "-3px 3px 0 0 oklch(0.3 0.1 255)",
|
|
236
|
+
"plane-primary-hover": "-5px 5px 0 0 oklch(0.3 0.1 255)",
|
|
237
|
+
"shadow-float": "0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10)"
|
|
238
|
+
},
|
|
239
|
+
"dark": {
|
|
240
|
+
"plane-rest": "-3px 3px 0 0 oklch(0.7 0.15 255)",
|
|
241
|
+
"plane-hover": "-5px 5px 0 0 oklch(0.7 0.15 255)",
|
|
242
|
+
"plane-primary-rest": "-3px 3px 0 0 oklch(0.42 0.13 255)",
|
|
243
|
+
"plane-primary-hover": "-5px 5px 0 0 oklch(0.42 0.13 255)",
|
|
244
|
+
"shadow-float": "0 8px 24px -6px oklch(0 0 0 / 0.55), 0 2px 6px -2px oklch(0 0 0 / 0.35)"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"plane": {
|
|
248
|
+
"plane-offset": "0.1875rem",
|
|
249
|
+
"plane-lift": "0.3125rem"
|
|
250
|
+
},
|
|
251
|
+
"size": {
|
|
252
|
+
"control-h-sm": "32px",
|
|
253
|
+
"control-h": "40px",
|
|
254
|
+
"control-h-lg": "44px",
|
|
255
|
+
"row-h": "48px",
|
|
256
|
+
"icon": "16px",
|
|
257
|
+
"sidebar-w": "240px",
|
|
258
|
+
"sidebar-w-collapsed": "56px",
|
|
259
|
+
"content-max": "1280px",
|
|
260
|
+
"form-max": "720px",
|
|
261
|
+
"gutter": "24px"
|
|
262
|
+
},
|
|
263
|
+
"logo": {
|
|
264
|
+
"logo-min-mark": "16px",
|
|
265
|
+
"logo-min-horizontal": "20px",
|
|
266
|
+
"logo-min-stacked": "48px",
|
|
267
|
+
"mark-cut-switch": "24px",
|
|
268
|
+
"logo-clear-space": "25%"
|
|
269
|
+
},
|
|
270
|
+
"motion": {
|
|
271
|
+
"dur-fast": "120ms",
|
|
272
|
+
"dur-base": "180ms",
|
|
273
|
+
"dur-slow": "250ms",
|
|
274
|
+
"ease-out": "cubic-bezier(0.2, 0, 0, 1)"
|
|
275
|
+
},
|
|
276
|
+
"document": {
|
|
277
|
+
"fontSize": {
|
|
278
|
+
"sheet-body": "1rem",
|
|
279
|
+
"sheet-h1": "1.5rem",
|
|
280
|
+
"sheet-h2": "1.25rem",
|
|
281
|
+
"sheet-h3": "1.125rem",
|
|
282
|
+
"print-title": "22pt",
|
|
283
|
+
"print-body": "9.5pt",
|
|
284
|
+
"print-h1": "14pt",
|
|
285
|
+
"print-h2": "12pt",
|
|
286
|
+
"print-h3": "10.5pt",
|
|
287
|
+
"print-label": "8.5pt"
|
|
288
|
+
},
|
|
289
|
+
"lineHeight": {
|
|
290
|
+
"body": 1.5,
|
|
291
|
+
"body-arabic": 1.7,
|
|
292
|
+
"h1": 1.25,
|
|
293
|
+
"h2": 1.3,
|
|
294
|
+
"h3": 1.35,
|
|
295
|
+
"title": 1.15
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@whity/tokens",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Design tokens (colors, typography, spacing, radius) for Whity products — generated from src/design/tokens/base.json. No React/Next dependency: a plain JSON bundle plus standalone importable Tailwind v4 theme CSS, a shadcn/Tailwind base-reset layer, and self-hosted @font-face CSS.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/whity-org/whity-core.git",
|
|
9
|
-
"directory": "packages/tokens"
|
|
10
|
-
},
|
|
11
|
-
"exports": {
|
|
12
|
-
".": "./generated/tokens.json",
|
|
13
|
-
"./css": "./generated/theme.css",
|
|
14
|
-
"./base.css": "./generated/base.css",
|
|
15
|
-
"./fonts.css": "./generated/fonts.css",
|
|
16
|
-
"./fonts/*": "./fonts/*"
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"generated",
|
|
20
|
-
"fonts"
|
|
21
|
-
],
|
|
22
|
-
"publishConfig": {
|
|
23
|
-
"access": "public",
|
|
24
|
-
"registry": "https://registry.npmjs.org"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@whity/tokens",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Design tokens (colors, typography, spacing, radius) for Whity products — generated from src/design/tokens/base.json. No React/Next dependency: a plain JSON bundle plus standalone importable Tailwind v4 theme CSS, a shadcn/Tailwind base-reset layer, and self-hosted @font-face CSS.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/whity-org/whity-core.git",
|
|
9
|
+
"directory": "packages/tokens"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./generated/tokens.json",
|
|
13
|
+
"./css": "./generated/theme.css",
|
|
14
|
+
"./base.css": "./generated/base.css",
|
|
15
|
+
"./fonts.css": "./generated/fonts.css",
|
|
16
|
+
"./fonts/*": "./fonts/*"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"generated",
|
|
20
|
+
"fonts"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public",
|
|
24
|
+
"registry": "https://registry.npmjs.org"
|
|
25
|
+
}
|
|
26
|
+
}
|