@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.
@@ -1,404 +1,428 @@
1
- /**
2
- * Whity design tokens — standalone Tailwind v4 theme CSS.
3
- * Source of truth: src/design/tokens/base.json (version 3.0.0).
4
- * Do not edit manually - run: npm run tokens:generate
5
- *
6
- * Import this AFTER `@import "tailwindcss";` in your own entry CSS. Every
7
- * value below is a real, self-sufficient default (no Next.js/font-loader
8
- * dependency) — override any custom property afterwards to customize.
9
- */
10
-
11
- @custom-variant dark (&:is(.dark *));
12
-
13
- @theme inline {
14
- /* Typography */
15
- --font-sans: var(--font-sans);
16
- --font-mono: var(--font-mono);
17
- --font-heading: var(--font-heading);
18
- --font-arabic: var(--font-arabic);
19
- --font-display: var(--font-display);
20
- --text-2xs: var(--text-2xs);
21
- --text-2xs--line-height: 1.5;
22
- --text-xs: var(--text-xs);
23
- --text-xs--line-height: 1.5;
24
- --text-sm: var(--text-sm);
25
- --text-sm--line-height: 1.5;
26
- --text-base: var(--text-base);
27
- --text-base--line-height: 1.5;
28
- --text-lg: var(--text-lg);
29
- --text-lg--line-height: 1.25;
30
- --text-xl: var(--text-xl);
31
- --text-xl--line-height: 1.25;
32
- --text-2xl: var(--text-2xl);
33
- --text-2xl--line-height: 1.25;
34
- --text-3xl: var(--text-3xl);
35
- --text-3xl--line-height: 1.25;
36
- --text-4xl: var(--text-4xl);
37
- --text-4xl--line-height: 1.1;
38
- --font-weight-normal: var(--font-weight-normal);
39
- --font-weight-medium: var(--font-weight-medium);
40
- --font-weight-semibold: var(--font-weight-semibold);
41
- --leading-none: var(--leading-none);
42
- --leading-tight: var(--leading-tight);
43
- --leading-snug: var(--leading-snug);
44
- --leading-normal: var(--leading-normal);
45
- --leading-relaxed: var(--leading-relaxed);
46
- --tracking-tighter: var(--tracking-tighter);
47
- --tracking-tight: var(--tracking-tight);
48
- --tracking-normal: var(--tracking-normal);
49
- --tracking-wide: var(--tracking-wide);
50
- --tracking-wider: var(--tracking-wider);
51
-
52
- --color-background: var(--background);
53
- --color-foreground: var(--foreground);
54
- --color-card: var(--card);
55
- --color-card-foreground: var(--card-foreground);
56
- --color-popover: var(--popover);
57
- --color-popover-foreground: var(--popover-foreground);
58
- --color-primary: var(--primary);
59
- --color-primary-foreground: var(--primary-foreground);
60
- --color-secondary: var(--secondary);
61
- --color-secondary-foreground: var(--secondary-foreground);
62
- --color-muted: var(--muted);
63
- --color-muted-foreground: var(--muted-foreground);
64
- --color-accent: var(--accent);
65
- --color-accent-foreground: var(--accent-foreground);
66
- --color-brand: var(--brand);
67
- --color-brand-foreground: var(--brand-foreground);
68
- --color-destructive: var(--destructive);
69
- --color-success: var(--success);
70
- --color-success-foreground: var(--success-foreground);
71
- --color-warning: var(--warning);
72
- --color-warning-foreground: var(--warning-foreground);
73
- --color-error: var(--error);
74
- --color-error-foreground: var(--error-foreground);
75
- --color-info: var(--info);
76
- --color-info-foreground: var(--info-foreground);
77
- --color-border: var(--border);
78
- --color-input: var(--input);
79
- --color-ring: var(--ring);
80
- --color-chart-1: var(--chart-1);
81
- --color-chart-2: var(--chart-2);
82
- --color-chart-3: var(--chart-3);
83
- --color-chart-4: var(--chart-4);
84
- --color-chart-5: var(--chart-5);
85
- --color-sidebar: var(--sidebar);
86
- --color-sidebar-foreground: var(--sidebar-foreground);
87
- --color-sidebar-primary: var(--sidebar-primary);
88
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
89
- --color-sidebar-accent: var(--sidebar-accent);
90
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
91
- --color-sidebar-border: var(--sidebar-border);
92
- --color-sidebar-ring: var(--sidebar-ring);
93
- --color-overlay: var(--overlay);
94
- --color-mark-sheet: var(--mark-sheet);
95
- --color-blueprint: var(--blueprint);
96
- --color-blueprint-line: var(--blueprint-line);
97
- --color-blueprint-line-strong: var(--blueprint-line-strong);
98
- --color-plane-deep: var(--plane-deep);
99
- --color-divider: var(--divider);
100
- --color-table-header: var(--table-header);
101
- --color-success-text: var(--success-text);
102
- --color-success-tint: var(--success-tint);
103
- --color-warning-text: var(--warning-text);
104
- --color-warning-tint: var(--warning-tint);
105
- --color-error-text: var(--error-text);
106
- --color-error-tint: var(--error-tint);
107
- --color-info-text: var(--info-text);
108
- --color-info-tint: var(--info-tint);
109
- --color-destructive-foreground: var(--destructive-foreground);
110
- --color-primary-tint: var(--primary-tint);
111
- --color-primary-tint-foreground: var(--primary-tint-foreground);
112
- --color-chart-6: var(--chart-6);
113
- --radius-sm: 4px;
114
- --radius-md: 7px;
115
- --radius-lg: 10px;
116
- --radius-xl: 12px;
117
- --radius-2xl: 16px;
118
- --radius-control-sm: 7px;
119
- --radius-control: 9px;
120
- --radius-control-lg: 10px;
121
- --radius-card: 12px;
122
- --radius-dialog: 16px;
123
- --radius-full: 999px;
124
- --shadow-plane: var(--plane-rest);
125
- --shadow-plane-hover: var(--plane-hover);
126
- --shadow-plane-primary: var(--plane-primary-rest);
127
- --shadow-plane-primary-hover: var(--plane-primary-hover);
128
- --shadow-float: var(--shadow-float);
129
- --ease-out-whity: cubic-bezier(0.2, 0, 0, 1);
130
- }
131
-
132
- @utility plane-lift { transition: box-shadow 120ms cubic-bezier(0.2, 0, 0, 1), translate 120ms cubic-bezier(0.2, 0, 0, 1); &:hover { translate: 1px -1px; } }
133
- @utility bg-blueprint-grid { background-color: var(--blueprint); background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px), linear-gradient(var(--blueprint-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line-strong) 1px, transparent 1px); background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px; }
134
-
135
- :root {
136
- --font-sans: 'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
137
- --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
138
- --font-heading: 'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
139
- --font-arabic: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
140
- --font-display: 'Readex Pro', 'Noto Sans', sans-serif;
141
- --background: oklch(0.95 0 0);
142
- --foreground: oklch(0.145 0 0);
143
- --card: oklch(1 0 0);
144
- --card-foreground: oklch(0.145 0 0);
145
- --popover: oklch(1 0 0);
146
- --popover-foreground: oklch(0.145 0 0);
147
- --primary: oklch(0.5 0.16 255);
148
- --primary-foreground: oklch(1 0 0);
149
- --secondary: oklch(0.97 0 0);
150
- --secondary-foreground: oklch(0.205 0 0);
151
- --muted: oklch(0.97 0 0);
152
- --muted-foreground: oklch(0.52 0 0);
153
- --accent: oklch(0.97 0 0);
154
- --accent-foreground: oklch(0.205 0 0);
155
- --brand: oklch(0.5 0.16 255);
156
- --brand-foreground: oklch(1 0 0);
157
- --destructive: oklch(0.5494 0.1994 27.1);
158
- --success: oklch(0.5197 0.1394 150.14);
159
- --success-foreground: oklch(1 0 0);
160
- --warning: oklch(0.7998 0.1501 78.05);
161
- --warning-foreground: oklch(0.1889 0.026 77.5);
162
- --error: oklch(0.5494 0.1994 27.1);
163
- --error-foreground: oklch(1 0 0);
164
- --info: oklch(0.4495 0 0);
165
- --info-foreground: oklch(1 0 0);
166
- --border: oklch(0.922 0 0);
167
- --input: oklch(0.66 0 0);
168
- --ring: oklch(0.5 0.16 255);
169
- --chart-1: oklch(0.5 0.16 255);
170
- --chart-2: oklch(0.7788 0.16 69.88);
171
- --chart-3: oklch(0.8509 0.0799 219.47);
172
- --chart-4: oklch(0.5005 0.2006 329.92);
173
- --chart-5: oklch(0.6599 0.13 159.92);
174
- --sidebar: oklch(0.985 0 0);
175
- --sidebar-foreground: oklch(0.145 0 0);
176
- --sidebar-primary: oklch(0.9607 0.0148 251.16);
177
- --sidebar-primary-foreground: oklch(0.5 0.16 255);
178
- --sidebar-accent: oklch(0.97 0 0);
179
- --sidebar-accent-foreground: oklch(0.205 0 0);
180
- --sidebar-border: oklch(0.922 0 0);
181
- --sidebar-ring: oklch(0.5 0.16 255);
182
- --overlay: oklch(0 0 0 / 0.45);
183
- --mark-sheet: oklch(1 0 0);
184
- --blueprint: oklch(0.5 0.16 255);
185
- --blueprint-line: oklch(1 0 0 / 0.12);
186
- --blueprint-line-strong: oklch(1 0 0 / 0.24);
187
- --plane-deep: oklch(0.3 0.1 255);
188
- --divider: oklch(0.94 0 0);
189
- --table-header: oklch(0.975 0 0);
190
- --success-text: oklch(0.4986 0.1343 150.06);
191
- --success-tint: oklch(0.9603 0.0399 149.82);
192
- --warning-text: oklch(0.5202 0.1204 59.76);
193
- --warning-tint: oklch(0.9694 0.0296 85.56);
194
- --error-text: oklch(0.5204 0.2004 26.99);
195
- --error-tint: oklch(0.9596 0.0154 27.28);
196
- --info-text: oklch(0.4495 0 0);
197
- --info-tint: oklch(0.9551 0 0);
198
- --destructive-foreground: oklch(1 0 0);
199
- --primary-tint: oklch(0.9607 0.0148 251.16);
200
- --primary-tint-foreground: oklch(0.5 0.16 255);
201
- --chart-6: oklch(0.3485 0 0);
202
- --plane-rest: -3px 3px 0 0 oklch(0.5 0.16 255);
203
- --plane-hover: -5px 5px 0 0 oklch(0.5 0.16 255);
204
- --plane-primary-rest: -3px 3px 0 0 oklch(0.3 0.1 255);
205
- --plane-primary-hover: -5px 5px 0 0 oklch(0.3 0.1 255);
206
- --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10);
207
- --radius: 0.5625rem;
208
- --plane-offset: 0.1875rem;
209
- --plane-lift: 0.3125rem;
210
- --control-h-sm: 28px;
211
- --control-h: 36px;
212
- --control-h-lg: 40px;
213
- --row-h: 44px;
214
- --icon: 16px;
215
- --sidebar-w: 240px;
216
- --sidebar-w-collapsed: 56px;
217
- --content-max: 1280px;
218
- --form-max: 720px;
219
- --gutter: 24px;
220
- --dur-fast: 120ms;
221
- --dur-base: 180ms;
222
- --dur-slow: 250ms;
223
- --ease-out: cubic-bezier(0.2, 0, 0, 1);
224
- --doc-text-sheet-body: 1rem;
225
- --doc-text-sheet-h1: 1.5rem;
226
- --doc-text-sheet-h2: 1.25rem;
227
- --doc-text-sheet-h3: 1.125rem;
228
- --doc-text-print-title: 22pt;
229
- --doc-text-print-body: 9.5pt;
230
- --doc-text-print-h1: 14pt;
231
- --doc-text-print-h2: 12pt;
232
- --doc-text-print-h3: 10.5pt;
233
- --doc-text-print-label: 8.5pt;
234
- --doc-leading-body: 1.5;
235
- --doc-leading-body-arabic: 1.7;
236
- --doc-leading-h1: 1.25;
237
- --doc-leading-h2: 1.3;
238
- --doc-leading-h3: 1.35;
239
- --doc-leading-title: 1.15;
240
- --text-2xs: 0.6875rem;
241
- --text-xs: 0.75rem;
242
- --text-sm: 0.875rem;
243
- --text-base: 1rem;
244
- --text-lg: 1.125rem;
245
- --text-xl: 1.25rem;
246
- --text-2xl: 1.5rem;
247
- --text-3xl: 1.875rem;
248
- --text-4xl: 2.25rem;
249
- --font-weight-normal: 400;
250
- --font-weight-medium: 500;
251
- --font-weight-semibold: 600;
252
- --leading-none: 1;
253
- --leading-tight: 1.25;
254
- --leading-snug: 1.375;
255
- --leading-normal: 1.5;
256
- --leading-relaxed: 1.625;
257
- --tracking-tighter: -0.05em;
258
- --tracking-tight: -0.025em;
259
- --tracking-normal: 0em;
260
- --tracking-wide: 0.025em;
261
- --tracking-wider: 0.05em;
262
- }
263
-
264
- .dark {
265
- --background: oklch(0.145 0 0);
266
- --foreground: oklch(0.985 0 0);
267
- --card: oklch(0.205 0 0);
268
- --card-foreground: oklch(0.985 0 0);
269
- --popover: oklch(0.205 0 0);
270
- --popover-foreground: oklch(0.985 0 0);
271
- --primary: oklch(0.7 0.15 255);
272
- --primary-foreground: oklch(0.205 0 0);
273
- --secondary: oklch(0.269 0 0);
274
- --secondary-foreground: oklch(0.985 0 0);
275
- --muted: oklch(0.269 0 0);
276
- --muted-foreground: oklch(0.708 0 0);
277
- --accent: oklch(0.269 0 0);
278
- --accent-foreground: oklch(0.985 0 0);
279
- --brand: oklch(0.7 0.15 255);
280
- --brand-foreground: oklch(0.205 0 0);
281
- --destructive: oklch(0.7005 0.1697 24.93);
282
- --success: oklch(0.7407 0.1507 149.85);
283
- --success-foreground: oklch(0.1448 0 0);
284
- --warning: oklch(0.8207 0.1504 79.92);
285
- --warning-foreground: oklch(0.1448 0 0);
286
- --error: oklch(0.7005 0.1697 24.93);
287
- --error-foreground: oklch(0.1448 0 0);
288
- --info: oklch(0.7508 0 0);
289
- --info-foreground: oklch(0.1448 0 0);
290
- --border: oklch(1 0 0 / 0.1);
291
- --input: oklch(0.52 0 0);
292
- --ring: oklch(0.7 0.15 255);
293
- --chart-1: oklch(0.7 0.15 255);
294
- --chart-2: oklch(0.7788 0.16 69.88);
295
- --chart-3: oklch(0.8509 0.0799 219.47);
296
- --chart-4: oklch(0.6597 0.1993 329.88);
297
- --chart-5: oklch(0.7407 0.1306 159.84);
298
- --sidebar: oklch(0.17 0 0);
299
- --sidebar-foreground: oklch(0.985 0 0);
300
- --sidebar-primary: oklch(0.2987 0.06 255.91);
301
- --sidebar-primary-foreground: oklch(0.6995 0.1498 255.09);
302
- --sidebar-accent: oklch(0.269 0 0);
303
- --sidebar-accent-foreground: oklch(0.985 0 0);
304
- --sidebar-border: oklch(1 0 0 / 0.1);
305
- --sidebar-ring: oklch(0.7 0.15 255);
306
- --overlay: oklch(0 0 0 / 0.45);
307
- --mark-sheet: oklch(1 0 0);
308
- --blueprint: oklch(0.5 0.16 255);
309
- --blueprint-line: oklch(1 0 0 / 0.12);
310
- --blueprint-line-strong: oklch(1 0 0 / 0.24);
311
- --plane-deep: oklch(0.42 0.13 255);
312
- --divider: oklch(1 0 0 / 0.07);
313
- --table-header: oklch(0.23 0 0);
314
- --success-text: oklch(0.7407 0.1507 149.85);
315
- --success-tint: oklch(0.2998 0.0601 150.03);
316
- --warning-text: oklch(0.8207 0.1504 79.92);
317
- --warning-tint: oklch(0.3206 0.0605 80.03);
318
- --error-text: oklch(0.7005 0.1697 24.93);
319
- --error-tint: oklch(0.3006 0.0805 25.3);
320
- --info-text: oklch(0.7508 0 0);
321
- --info-tint: oklch(0.2686 0 0);
322
- --destructive-foreground: oklch(0.1448 0 0);
323
- --primary-tint: oklch(0.2987 0.06 255.91);
324
- --primary-tint-foreground: oklch(0.6995 0.1498 255.09);
325
- --chart-6: oklch(0.6167 0 0);
326
- --plane-rest: -3px 3px 0 0 oklch(0.7 0.15 255);
327
- --plane-hover: -5px 5px 0 0 oklch(0.7 0.15 255);
328
- --plane-primary-rest: -3px 3px 0 0 oklch(0.42 0.13 255);
329
- --plane-primary-hover: -5px 5px 0 0 oklch(0.42 0.13 255);
330
- --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.55), 0 2px 6px -2px oklch(0 0 0 / 0.35);
331
- }
332
-
333
- .light {
334
- --background: oklch(0.95 0 0);
335
- --foreground: oklch(0.145 0 0);
336
- --card: oklch(1 0 0);
337
- --card-foreground: oklch(0.145 0 0);
338
- --popover: oklch(1 0 0);
339
- --popover-foreground: oklch(0.145 0 0);
340
- --primary: oklch(0.5 0.16 255);
341
- --primary-foreground: oklch(1 0 0);
342
- --secondary: oklch(0.97 0 0);
343
- --secondary-foreground: oklch(0.205 0 0);
344
- --muted: oklch(0.97 0 0);
345
- --muted-foreground: oklch(0.52 0 0);
346
- --accent: oklch(0.97 0 0);
347
- --accent-foreground: oklch(0.205 0 0);
348
- --brand: oklch(0.5 0.16 255);
349
- --brand-foreground: oklch(1 0 0);
350
- --destructive: oklch(0.5494 0.1994 27.1);
351
- --success: oklch(0.5197 0.1394 150.14);
352
- --success-foreground: oklch(1 0 0);
353
- --warning: oklch(0.7998 0.1501 78.05);
354
- --warning-foreground: oklch(0.1889 0.026 77.5);
355
- --error: oklch(0.5494 0.1994 27.1);
356
- --error-foreground: oklch(1 0 0);
357
- --info: oklch(0.4495 0 0);
358
- --info-foreground: oklch(1 0 0);
359
- --border: oklch(0.922 0 0);
360
- --input: oklch(0.66 0 0);
361
- --ring: oklch(0.5 0.16 255);
362
- --chart-1: oklch(0.5 0.16 255);
363
- --chart-2: oklch(0.7788 0.16 69.88);
364
- --chart-3: oklch(0.8509 0.0799 219.47);
365
- --chart-4: oklch(0.5005 0.2006 329.92);
366
- --chart-5: oklch(0.6599 0.13 159.92);
367
- --sidebar: oklch(0.985 0 0);
368
- --sidebar-foreground: oklch(0.145 0 0);
369
- --sidebar-primary: oklch(0.9607 0.0148 251.16);
370
- --sidebar-primary-foreground: oklch(0.5 0.16 255);
371
- --sidebar-accent: oklch(0.97 0 0);
372
- --sidebar-accent-foreground: oklch(0.205 0 0);
373
- --sidebar-border: oklch(0.922 0 0);
374
- --sidebar-ring: oklch(0.5 0.16 255);
375
- --overlay: oklch(0 0 0 / 0.45);
376
- --mark-sheet: oklch(1 0 0);
377
- --blueprint: oklch(0.5 0.16 255);
378
- --blueprint-line: oklch(1 0 0 / 0.12);
379
- --blueprint-line-strong: oklch(1 0 0 / 0.24);
380
- --plane-deep: oklch(0.3 0.1 255);
381
- --divider: oklch(0.94 0 0);
382
- --table-header: oklch(0.975 0 0);
383
- --success-text: oklch(0.4986 0.1343 150.06);
384
- --success-tint: oklch(0.9603 0.0399 149.82);
385
- --warning-text: oklch(0.5202 0.1204 59.76);
386
- --warning-tint: oklch(0.9694 0.0296 85.56);
387
- --error-text: oklch(0.5204 0.2004 26.99);
388
- --error-tint: oklch(0.9596 0.0154 27.28);
389
- --info-text: oklch(0.4495 0 0);
390
- --info-tint: oklch(0.9551 0 0);
391
- --destructive-foreground: oklch(1 0 0);
392
- --primary-tint: oklch(0.9607 0.0148 251.16);
393
- --primary-tint-foreground: oklch(0.5 0.16 255);
394
- --chart-6: oklch(0.3485 0 0);
395
- --plane-rest: -3px 3px 0 0 oklch(0.5 0.16 255);
396
- --plane-hover: -5px 5px 0 0 oklch(0.5 0.16 255);
397
- --plane-primary-rest: -3px 3px 0 0 oklch(0.3 0.1 255);
398
- --plane-primary-hover: -5px 5px 0 0 oklch(0.3 0.1 255);
399
- --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10);
400
- }
401
-
402
- @media (prefers-reduced-motion: reduce) {
403
- :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
404
- }
1
+ /**
2
+ * Whity design tokens — standalone Tailwind v4 theme CSS.
3
+ * Source of truth: src/design/tokens/base.json (version 3.0.0).
4
+ * Do not edit manually - run: npm run tokens:generate
5
+ *
6
+ * Import this AFTER `@import "tailwindcss";` in your own entry CSS. Every
7
+ * value below is a real, self-sufficient default (no Next.js/font-loader
8
+ * dependency) — override any custom property afterwards to customize.
9
+ */
10
+
11
+ @custom-variant dark (&:is(.dark *));
12
+
13
+ @theme inline {
14
+ /* Typography */
15
+ --font-sans: var(--font-sans);
16
+ --font-mono: var(--font-mono);
17
+ --font-heading: var(--font-heading);
18
+ --font-arabic: var(--font-arabic);
19
+ --font-display: var(--font-display);
20
+ --text-2xs: var(--text-2xs);
21
+ --text-2xs--line-height: 1.5;
22
+ --text-xs: var(--text-xs);
23
+ --text-xs--line-height: 1.5;
24
+ --text-sm: var(--text-sm);
25
+ --text-sm--line-height: 1.5;
26
+ --text-base: var(--text-base);
27
+ --text-base--line-height: 1.5;
28
+ --text-lg: var(--text-lg);
29
+ --text-lg--line-height: 1.25;
30
+ --text-xl: var(--text-xl);
31
+ --text-xl--line-height: 1.25;
32
+ --text-2xl: var(--text-2xl);
33
+ --text-2xl--line-height: 1.25;
34
+ --text-3xl: var(--text-3xl);
35
+ --text-3xl--line-height: 1.25;
36
+ --text-4xl: var(--text-4xl);
37
+ --text-4xl--line-height: 1.1;
38
+ --font-weight-normal: var(--font-weight-normal);
39
+ --font-weight-medium: var(--font-weight-medium);
40
+ --font-weight-semibold: var(--font-weight-semibold);
41
+ --leading-none: var(--leading-none);
42
+ --leading-tight: var(--leading-tight);
43
+ --leading-snug: var(--leading-snug);
44
+ --leading-normal: var(--leading-normal);
45
+ --leading-relaxed: var(--leading-relaxed);
46
+ --tracking-tighter: var(--tracking-tighter);
47
+ --tracking-tight: var(--tracking-tight);
48
+ --tracking-normal: var(--tracking-normal);
49
+ --tracking-wide: var(--tracking-wide);
50
+ --tracking-wider: var(--tracking-wider);
51
+
52
+ --color-background: var(--background);
53
+ --color-foreground: var(--foreground);
54
+ --color-card: var(--card);
55
+ --color-card-foreground: var(--card-foreground);
56
+ --color-popover: var(--popover);
57
+ --color-popover-foreground: var(--popover-foreground);
58
+ --color-primary: var(--primary);
59
+ --color-primary-foreground: var(--primary-foreground);
60
+ --color-secondary: var(--secondary);
61
+ --color-secondary-foreground: var(--secondary-foreground);
62
+ --color-muted: var(--muted);
63
+ --color-muted-foreground: var(--muted-foreground);
64
+ --color-accent: var(--accent);
65
+ --color-accent-foreground: var(--accent-foreground);
66
+ --color-brand: var(--brand);
67
+ --color-brand-foreground: var(--brand-foreground);
68
+ --color-destructive: var(--destructive);
69
+ --color-success: var(--success);
70
+ --color-success-foreground: var(--success-foreground);
71
+ --color-warning: var(--warning);
72
+ --color-warning-foreground: var(--warning-foreground);
73
+ --color-error: var(--error);
74
+ --color-error-foreground: var(--error-foreground);
75
+ --color-info: var(--info);
76
+ --color-info-foreground: var(--info-foreground);
77
+ --color-border: var(--border);
78
+ --color-input: var(--input);
79
+ --color-ring: var(--ring);
80
+ --color-chart-1: var(--chart-1);
81
+ --color-chart-2: var(--chart-2);
82
+ --color-chart-3: var(--chart-3);
83
+ --color-chart-4: var(--chart-4);
84
+ --color-chart-5: var(--chart-5);
85
+ --color-sidebar: var(--sidebar);
86
+ --color-sidebar-foreground: var(--sidebar-foreground);
87
+ --color-sidebar-primary: var(--sidebar-primary);
88
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
89
+ --color-sidebar-accent: var(--sidebar-accent);
90
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
91
+ --color-sidebar-border: var(--sidebar-border);
92
+ --color-sidebar-ring: var(--sidebar-ring);
93
+ --color-overlay: var(--overlay);
94
+ --color-mark-sheet: var(--mark-sheet);
95
+ --color-blueprint: var(--blueprint);
96
+ --color-blueprint-line: var(--blueprint-line);
97
+ --color-blueprint-line-strong: var(--blueprint-line-strong);
98
+ --color-plane-deep: var(--plane-deep);
99
+ --color-divider: var(--divider);
100
+ --color-table-header: var(--table-header);
101
+ --color-success-text: var(--success-text);
102
+ --color-success-tint: var(--success-tint);
103
+ --color-warning-text: var(--warning-text);
104
+ --color-warning-tint: var(--warning-tint);
105
+ --color-error-text: var(--error-text);
106
+ --color-error-tint: var(--error-tint);
107
+ --color-info-text: var(--info-text);
108
+ --color-info-tint: var(--info-tint);
109
+ --color-destructive-foreground: var(--destructive-foreground);
110
+ --color-primary-tint: var(--primary-tint);
111
+ --color-primary-tint-foreground: var(--primary-tint-foreground);
112
+ --color-chart-6: var(--chart-6);
113
+ --radius-sm: 4px;
114
+ --radius-md: 7px;
115
+ --radius-lg: 10px;
116
+ --radius-xl: 12px;
117
+ --radius-2xl: 16px;
118
+ --radius-control-sm: 8px;
119
+ --radius-control: 10px;
120
+ --radius-control-lg: 11px;
121
+ --radius-card: 12px;
122
+ --radius-dialog: 16px;
123
+ --radius-full: 999px;
124
+ --shadow-plane: var(--plane-rest);
125
+ --shadow-plane-hover: var(--plane-hover);
126
+ --shadow-plane-primary: var(--plane-primary-rest);
127
+ --shadow-plane-primary-hover: var(--plane-primary-hover);
128
+ --shadow-float: var(--shadow-float);
129
+ --ease-out-whity: cubic-bezier(0.2, 0, 0, 1);
130
+ }
131
+
132
+ @utility plane-lift { transition: box-shadow 120ms cubic-bezier(0.2, 0, 0, 1), translate 120ms cubic-bezier(0.2, 0, 0, 1); &:hover { translate: 1px -1px; } }
133
+ @utility bg-blueprint-grid { background-color: var(--blueprint); background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px), linear-gradient(var(--blueprint-line-strong) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line-strong) 1px, transparent 1px); background-size: 16px 16px, 16px 16px, 80px 80px, 80px 80px; }
134
+
135
+ :root {
136
+ --font-sans: 'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
137
+ --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
138
+ --font-heading: 'Noto Sans', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
139
+ --font-arabic: 'Noto Sans Arabic', 'Noto Sans', sans-serif;
140
+ --font-display: 'Readex Pro', 'Noto Sans', sans-serif;
141
+ --background: oklch(0.95 0 0);
142
+ --foreground: oklch(0.145 0 0);
143
+ --card: oklch(1 0 0);
144
+ --card-foreground: oklch(0.145 0 0);
145
+ --popover: oklch(1 0 0);
146
+ --popover-foreground: oklch(0.145 0 0);
147
+ --primary: oklch(0.5 0.16 255);
148
+ --primary-foreground: oklch(1 0 0);
149
+ --secondary: oklch(0.97 0 0);
150
+ --secondary-foreground: oklch(0.205 0 0);
151
+ --muted: oklch(0.97 0 0);
152
+ --muted-foreground: oklch(0.52 0 0);
153
+ --accent: oklch(0.97 0 0);
154
+ --accent-foreground: oklch(0.205 0 0);
155
+ --brand: oklch(0.5 0.16 255);
156
+ --brand-foreground: oklch(1 0 0);
157
+ --destructive: oklch(0.5494 0.1994 27.1);
158
+ --success: oklch(0.5197 0.1394 150.14);
159
+ --success-foreground: oklch(1 0 0);
160
+ --warning: oklch(0.7998 0.1501 78.05);
161
+ --warning-foreground: oklch(0.1889 0.026 77.5);
162
+ --error: oklch(0.5494 0.1994 27.1);
163
+ --error-foreground: oklch(1 0 0);
164
+ --info: oklch(0.4495 0 0);
165
+ --info-foreground: oklch(1 0 0);
166
+ --border: oklch(0.922 0 0);
167
+ --input: oklch(0.66 0 0);
168
+ --ring: oklch(0.5 0.16 255);
169
+ --chart-1: oklch(0.5 0.16 255);
170
+ --chart-2: oklch(0.7788 0.16 69.88);
171
+ --chart-3: oklch(0.8509 0.0799 219.47);
172
+ --chart-4: oklch(0.5005 0.2006 329.92);
173
+ --chart-5: oklch(0.6599 0.13 159.92);
174
+ --sidebar: oklch(0.985 0 0);
175
+ --sidebar-foreground: oklch(0.145 0 0);
176
+ --sidebar-primary: oklch(0.9607 0.0148 251.16);
177
+ --sidebar-primary-foreground: oklch(0.5 0.16 255);
178
+ --sidebar-accent: oklch(0.97 0 0);
179
+ --sidebar-accent-foreground: oklch(0.205 0 0);
180
+ --sidebar-border: oklch(0.922 0 0);
181
+ --sidebar-ring: oklch(0.5 0.16 255);
182
+ --overlay: oklch(0 0 0 / 0.45);
183
+ --mark-sheet: oklch(1 0 0);
184
+ --blueprint: oklch(0.5 0.16 255);
185
+ --blueprint-line: oklch(1 0 0 / 0.12);
186
+ --blueprint-line-strong: oklch(1 0 0 / 0.24);
187
+ --plane-deep: oklch(0.3 0.1 255);
188
+ --divider: oklch(0.94 0 0);
189
+ --table-header: oklch(0.975 0 0);
190
+ --success-text: oklch(0.4986 0.1343 150.06);
191
+ --success-tint: oklch(0.9603 0.0399 149.82);
192
+ --warning-text: oklch(0.5202 0.1204 59.76);
193
+ --warning-tint: oklch(0.9694 0.0296 85.56);
194
+ --error-text: oklch(0.5204 0.2004 26.99);
195
+ --error-tint: oklch(0.9596 0.0154 27.28);
196
+ --info-text: oklch(0.4495 0 0);
197
+ --info-tint: oklch(0.9551 0 0);
198
+ --destructive-foreground: oklch(1 0 0);
199
+ --primary-tint: oklch(0.9607 0.0148 251.16);
200
+ --primary-tint-foreground: oklch(0.5 0.16 255);
201
+ --chart-6: oklch(0.3485 0 0);
202
+ --plane-rest: -3px 3px 0 0 oklch(0.5 0.16 255);
203
+ --plane-hover: -5px 5px 0 0 oklch(0.5 0.16 255);
204
+ --plane-primary-rest: -3px 3px 0 0 oklch(0.3 0.1 255);
205
+ --plane-primary-hover: -5px 5px 0 0 oklch(0.3 0.1 255);
206
+ --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10);
207
+ --radius: 0.5625rem;
208
+ --plane-offset: 0.1875rem;
209
+ --plane-lift: 0.3125rem;
210
+ --space-0: 0px;
211
+ --space-1: 4px;
212
+ --space-2: 8px;
213
+ --space-3: 12px;
214
+ --space-4: 16px;
215
+ --space-6: 24px;
216
+ --space-8: 32px;
217
+ --control-h-sm: 32px;
218
+ --control-h: 40px;
219
+ --control-h-lg: 44px;
220
+ --row-h: 48px;
221
+ --icon: 16px;
222
+ --sidebar-w: 240px;
223
+ --sidebar-w-collapsed: 56px;
224
+ --content-max: 1280px;
225
+ --form-max: 720px;
226
+ --gutter: 24px;
227
+ --logo-min-mark: 16px;
228
+ --logo-min-horizontal: 20px;
229
+ --logo-min-stacked: 48px;
230
+ --mark-cut-switch: 24px;
231
+ --logo-clear-space: 25%;
232
+ --dur-fast: 120ms;
233
+ --dur-base: 180ms;
234
+ --dur-slow: 250ms;
235
+ --ease-out: cubic-bezier(0.2, 0, 0, 1);
236
+ --doc-text-sheet-body: 1rem;
237
+ --doc-text-sheet-h1: 1.5rem;
238
+ --doc-text-sheet-h2: 1.25rem;
239
+ --doc-text-sheet-h3: 1.125rem;
240
+ --doc-text-print-title: 22pt;
241
+ --doc-text-print-body: 9.5pt;
242
+ --doc-text-print-h1: 14pt;
243
+ --doc-text-print-h2: 12pt;
244
+ --doc-text-print-h3: 10.5pt;
245
+ --doc-text-print-label: 8.5pt;
246
+ --doc-leading-body: 1.5;
247
+ --doc-leading-body-arabic: 1.7;
248
+ --doc-leading-h1: 1.25;
249
+ --doc-leading-h2: 1.3;
250
+ --doc-leading-h3: 1.35;
251
+ --doc-leading-title: 1.15;
252
+ --text-2xs: 0.8125rem;
253
+ --text-xs: 0.8125rem;
254
+ --text-sm: 0.9375rem;
255
+ --text-base: 1rem;
256
+ --text-lg: 1.125rem;
257
+ --text-xl: 1.25rem;
258
+ --text-2xl: 1.5rem;
259
+ --text-3xl: 1.875rem;
260
+ --text-4xl: 2.25rem;
261
+ --font-weight-normal: 400;
262
+ --font-weight-medium: 500;
263
+ --font-weight-semibold: 600;
264
+ --leading-none: 1;
265
+ --leading-tight: 1.25;
266
+ --leading-snug: 1.375;
267
+ --leading-normal: 1.5;
268
+ --leading-relaxed: 1.625;
269
+ --tracking-tighter: -0.05em;
270
+ --tracking-tight: -0.025em;
271
+ --tracking-normal: 0em;
272
+ --tracking-wide: 0.025em;
273
+ --tracking-wider: 0.05em;
274
+ }
275
+
276
+ .dark {
277
+ --background: oklch(0.145 0 0);
278
+ --foreground: oklch(0.985 0 0);
279
+ --card: oklch(0.205 0 0);
280
+ --card-foreground: oklch(0.985 0 0);
281
+ --popover: oklch(0.205 0 0);
282
+ --popover-foreground: oklch(0.985 0 0);
283
+ --primary: oklch(0.7 0.15 255);
284
+ --primary-foreground: oklch(0.205 0 0);
285
+ --secondary: oklch(0.269 0 0);
286
+ --secondary-foreground: oklch(0.985 0 0);
287
+ --muted: oklch(0.269 0 0);
288
+ --muted-foreground: oklch(0.708 0 0);
289
+ --accent: oklch(0.269 0 0);
290
+ --accent-foreground: oklch(0.985 0 0);
291
+ --brand: oklch(0.7 0.15 255);
292
+ --brand-foreground: oklch(0.205 0 0);
293
+ --destructive: oklch(0.7005 0.1697 24.93);
294
+ --success: oklch(0.7407 0.1507 149.85);
295
+ --success-foreground: oklch(0.1448 0 0);
296
+ --warning: oklch(0.8207 0.1504 79.92);
297
+ --warning-foreground: oklch(0.1448 0 0);
298
+ --error: oklch(0.7005 0.1697 24.93);
299
+ --error-foreground: oklch(0.1448 0 0);
300
+ --info: oklch(0.7508 0 0);
301
+ --info-foreground: oklch(0.1448 0 0);
302
+ --border: oklch(1 0 0 / 0.1);
303
+ --input: oklch(0.52 0 0);
304
+ --ring: oklch(0.7 0.15 255);
305
+ --chart-1: oklch(0.7 0.15 255);
306
+ --chart-2: oklch(0.7788 0.16 69.88);
307
+ --chart-3: oklch(0.8509 0.0799 219.47);
308
+ --chart-4: oklch(0.6597 0.1993 329.88);
309
+ --chart-5: oklch(0.7407 0.1306 159.84);
310
+ --sidebar: oklch(0.17 0 0);
311
+ --sidebar-foreground: oklch(0.985 0 0);
312
+ --sidebar-primary: oklch(0.2987 0.06 255.91);
313
+ --sidebar-primary-foreground: oklch(0.6995 0.1498 255.09);
314
+ --sidebar-accent: oklch(0.269 0 0);
315
+ --sidebar-accent-foreground: oklch(0.985 0 0);
316
+ --sidebar-border: oklch(1 0 0 / 0.1);
317
+ --sidebar-ring: oklch(0.7 0.15 255);
318
+ --overlay: oklch(0 0 0 / 0.45);
319
+ --mark-sheet: oklch(1 0 0);
320
+ --blueprint: oklch(0.5 0.16 255);
321
+ --blueprint-line: oklch(1 0 0 / 0.12);
322
+ --blueprint-line-strong: oklch(1 0 0 / 0.24);
323
+ --plane-deep: oklch(0.42 0.13 255);
324
+ --divider: oklch(1 0 0 / 0.07);
325
+ --table-header: oklch(0.23 0 0);
326
+ --success-text: oklch(0.7407 0.1507 149.85);
327
+ --success-tint: oklch(0.2998 0.0601 150.03);
328
+ --warning-text: oklch(0.8207 0.1504 79.92);
329
+ --warning-tint: oklch(0.3206 0.0605 80.03);
330
+ --error-text: oklch(0.7005 0.1697 24.93);
331
+ --error-tint: oklch(0.3006 0.0805 25.3);
332
+ --info-text: oklch(0.7508 0 0);
333
+ --info-tint: oklch(0.2686 0 0);
334
+ --destructive-foreground: oklch(0.1448 0 0);
335
+ --primary-tint: oklch(0.2987 0.06 255.91);
336
+ --primary-tint-foreground: oklch(0.6995 0.1498 255.09);
337
+ --chart-6: oklch(0.6167 0 0);
338
+ --plane-rest: -3px 3px 0 0 oklch(0.7 0.15 255);
339
+ --plane-hover: -5px 5px 0 0 oklch(0.7 0.15 255);
340
+ --plane-primary-rest: -3px 3px 0 0 oklch(0.42 0.13 255);
341
+ --plane-primary-hover: -5px 5px 0 0 oklch(0.42 0.13 255);
342
+ --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.55), 0 2px 6px -2px oklch(0 0 0 / 0.35);
343
+ }
344
+
345
+ :root[data-text-size="larger"] {
346
+ --text-2xs: 0.9375rem;
347
+ --text-xs: 0.9375rem;
348
+ --text-sm: 1.0625rem;
349
+ --text-base: 1.125rem;
350
+ --text-lg: 1.25rem;
351
+ --text-xl: 1.5rem;
352
+ --text-2xl: 1.875rem;
353
+ --text-3xl: 2.25rem;
354
+ --text-4xl: 2.625rem;
355
+ }
356
+
357
+ .light {
358
+ --background: oklch(0.95 0 0);
359
+ --foreground: oklch(0.145 0 0);
360
+ --card: oklch(1 0 0);
361
+ --card-foreground: oklch(0.145 0 0);
362
+ --popover: oklch(1 0 0);
363
+ --popover-foreground: oklch(0.145 0 0);
364
+ --primary: oklch(0.5 0.16 255);
365
+ --primary-foreground: oklch(1 0 0);
366
+ --secondary: oklch(0.97 0 0);
367
+ --secondary-foreground: oklch(0.205 0 0);
368
+ --muted: oklch(0.97 0 0);
369
+ --muted-foreground: oklch(0.52 0 0);
370
+ --accent: oklch(0.97 0 0);
371
+ --accent-foreground: oklch(0.205 0 0);
372
+ --brand: oklch(0.5 0.16 255);
373
+ --brand-foreground: oklch(1 0 0);
374
+ --destructive: oklch(0.5494 0.1994 27.1);
375
+ --success: oklch(0.5197 0.1394 150.14);
376
+ --success-foreground: oklch(1 0 0);
377
+ --warning: oklch(0.7998 0.1501 78.05);
378
+ --warning-foreground: oklch(0.1889 0.026 77.5);
379
+ --error: oklch(0.5494 0.1994 27.1);
380
+ --error-foreground: oklch(1 0 0);
381
+ --info: oklch(0.4495 0 0);
382
+ --info-foreground: oklch(1 0 0);
383
+ --border: oklch(0.922 0 0);
384
+ --input: oklch(0.66 0 0);
385
+ --ring: oklch(0.5 0.16 255);
386
+ --chart-1: oklch(0.5 0.16 255);
387
+ --chart-2: oklch(0.7788 0.16 69.88);
388
+ --chart-3: oklch(0.8509 0.0799 219.47);
389
+ --chart-4: oklch(0.5005 0.2006 329.92);
390
+ --chart-5: oklch(0.6599 0.13 159.92);
391
+ --sidebar: oklch(0.985 0 0);
392
+ --sidebar-foreground: oklch(0.145 0 0);
393
+ --sidebar-primary: oklch(0.9607 0.0148 251.16);
394
+ --sidebar-primary-foreground: oklch(0.5 0.16 255);
395
+ --sidebar-accent: oklch(0.97 0 0);
396
+ --sidebar-accent-foreground: oklch(0.205 0 0);
397
+ --sidebar-border: oklch(0.922 0 0);
398
+ --sidebar-ring: oklch(0.5 0.16 255);
399
+ --overlay: oklch(0 0 0 / 0.45);
400
+ --mark-sheet: oklch(1 0 0);
401
+ --blueprint: oklch(0.5 0.16 255);
402
+ --blueprint-line: oklch(1 0 0 / 0.12);
403
+ --blueprint-line-strong: oklch(1 0 0 / 0.24);
404
+ --plane-deep: oklch(0.3 0.1 255);
405
+ --divider: oklch(0.94 0 0);
406
+ --table-header: oklch(0.975 0 0);
407
+ --success-text: oklch(0.4986 0.1343 150.06);
408
+ --success-tint: oklch(0.9603 0.0399 149.82);
409
+ --warning-text: oklch(0.5202 0.1204 59.76);
410
+ --warning-tint: oklch(0.9694 0.0296 85.56);
411
+ --error-text: oklch(0.5204 0.2004 26.99);
412
+ --error-tint: oklch(0.9596 0.0154 27.28);
413
+ --info-text: oklch(0.4495 0 0);
414
+ --info-tint: oklch(0.9551 0 0);
415
+ --destructive-foreground: oklch(1 0 0);
416
+ --primary-tint: oklch(0.9607 0.0148 251.16);
417
+ --primary-tint-foreground: oklch(0.5 0.16 255);
418
+ --chart-6: oklch(0.3485 0 0);
419
+ --plane-rest: -3px 3px 0 0 oklch(0.5 0.16 255);
420
+ --plane-hover: -5px 5px 0 0 oklch(0.5 0.16 255);
421
+ --plane-primary-rest: -3px 3px 0 0 oklch(0.3 0.1 255);
422
+ --plane-primary-hover: -5px 5px 0 0 oklch(0.3 0.1 255);
423
+ --shadow-float: 0 8px 24px -6px oklch(0 0 0 / 0.18), 0 2px 6px -2px oklch(0 0 0 / 0.10);
424
+ }
425
+
426
+ @media (prefers-reduced-motion: reduce) {
427
+ :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
428
+ }