@mohasinac/appkit 2.7.22 → 2.7.24

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.
Files changed (51) hide show
  1. package/dist/client.d.ts +4 -0
  2. package/dist/client.js +3 -0
  3. package/dist/features/auth/consent-otp.js +8 -8
  4. package/dist/features/auth/permissions/constants.d.ts +1 -1
  5. package/dist/features/auth/permissions/constants.js +2 -0
  6. package/dist/features/before-after/messages/en.json +7 -7
  7. package/dist/features/collections/messages/en.json +9 -9
  8. package/dist/features/consultation/messages/en.json +24 -24
  9. package/dist/features/contact/email.js +179 -179
  10. package/dist/features/corporate/messages/en.json +25 -25
  11. package/dist/features/loyalty/messages/en.json +18 -18
  12. package/dist/features/media/messages/en.json +63 -63
  13. package/dist/features/pre-orders/messages/en.json +12 -12
  14. package/dist/features/site-settings/components/ActionPermissionsManager.d.ts +7 -0
  15. package/dist/features/site-settings/components/ActionPermissionsManager.js +99 -0
  16. package/dist/features/site-settings/components/NavPermissionsManager.d.ts +18 -0
  17. package/dist/features/site-settings/components/NavPermissionsManager.js +33 -0
  18. package/dist/features/whatsapp-bot/messages/en.json +6 -6
  19. package/dist/index.d.ts +4 -0
  20. package/dist/index.js +3 -0
  21. package/dist/next/routing/route-map.d.ts +4 -0
  22. package/dist/next/routing/route-map.js +2 -0
  23. package/dist/styles.css +21 -21
  24. package/dist/tailwind-utilities.css +1 -1
  25. package/dist/tokens/tokens.css +436 -436
  26. package/dist/ui/components/ActiveFilterChips.style.css +66 -66
  27. package/dist/ui/components/AvatarDisplay.style.css +46 -46
  28. package/dist/ui/components/BackgroundRenderer.style.css +31 -31
  29. package/dist/ui/components/Breadcrumb.style.css +60 -60
  30. package/dist/ui/components/CountdownDisplay.style.css +4 -4
  31. package/dist/ui/components/Div.style.css +6 -6
  32. package/dist/ui/components/EmptyState.style.css +28 -28
  33. package/dist/ui/components/FlowDiagram.style.css +77 -77
  34. package/dist/ui/components/FormGrid.style.css +32 -32
  35. package/dist/ui/components/ImageGallery.style.css +163 -163
  36. package/dist/ui/components/ImageLightbox.style.css +58 -58
  37. package/dist/ui/components/ItemRow.style.css +33 -33
  38. package/dist/ui/components/Layout.style.css +229 -229
  39. package/dist/ui/components/Menu.style.css +6 -6
  40. package/dist/ui/components/NavigationLoader.style.css +19 -19
  41. package/dist/ui/components/ResponsiveView.style.css +69 -69
  42. package/dist/ui/components/RoleBadge.style.css +7 -7
  43. package/dist/ui/components/SectionTabs.style.css +164 -164
  44. package/dist/ui/components/Semantic.style.css +14 -14
  45. package/dist/ui/components/SkipToMain.style.css +34 -34
  46. package/dist/ui/components/SortDropdown.style.css +12 -12
  47. package/dist/ui/components/StatusBadge.style.css +5 -5
  48. package/dist/ui/components/UnsavedChangesModal.style.css +33 -33
  49. package/dist/ui/components/ViewToggle.style.css +50 -50
  50. package/dist/ui/components/index.style.css +78 -78
  51. package/package.json +1 -1
@@ -1,436 +1,436 @@
1
- /*
2
- * @mohasinac/tokens — Design tokens as CSS custom properties
3
- *
4
- * All values are prefixed --appkit-* for the @mohasinac/* package system.
5
- * Consumer projects override only what they need to rebrand:
6
- *
7
- * /* my-brand/globals.css * /
8
- * @import "@mohasinac/tokens/tokens.css";
9
- * :root {
10
- * --appkit-color-primary: #your-primary;
11
- * --appkit-color-secondary: #your-secondary;
12
- * }
13
- *
14
- * Default values reflect a lime + magenta palette (override --appkit-color-primary etc. to rebrand).
15
- */
16
-
17
- /* --- Colour — Brand ------------------------------------------------------- */
18
- /*
19
- * Light mode (image 1 — cobalt-blue body + lime-green blades):
20
- * primary = Cobalt Blue (dominant body colour)
21
- * secondary = Lime Green (blade / accent colour)
22
- *
23
- * Dark mode (image 2 — hot-pink blades + near-black body):
24
- * primary = Hot Pink (dominant accent colour) ← overridden in .dark below
25
- * secondary = Hot Pink (same — unified accent) ← overridden in .dark below
26
- */
27
- :root {
28
- /* Primary — Cobalt Blue (light mode dominant, matches Beyblade 1 blue body) */
29
- --appkit-color-primary: #3570fc;
30
- --appkit-color-primary-50: #eef5ff;
31
- --appkit-color-primary-100: #d9e8ff;
32
- --appkit-color-primary-200: #bcd4ff;
33
- --appkit-color-primary-300: #8eb9ff;
34
- --appkit-color-primary-400: #5992ff;
35
- --appkit-color-primary-500: #3570fc;
36
- --appkit-color-primary-600: #1a55f2;
37
- --appkit-color-primary-700: #1343de;
38
- --appkit-color-primary-800: #1536b4;
39
- --appkit-color-primary-900: #18318e;
40
- --appkit-color-primary-950: #111e58;
41
-
42
- /* Secondary — Lime Green (light mode accent, matches Beyblade 1 green blades) */
43
- --appkit-color-secondary: #65c408;
44
- --appkit-color-secondary-50: #f3ffe3;
45
- --appkit-color-secondary-100: #e4ffc5;
46
- --appkit-color-secondary-200: #c8ff90;
47
- --appkit-color-secondary-300: #a3f550;
48
- --appkit-color-secondary-400: #84e122;
49
- --appkit-color-secondary-500: #65c408;
50
- --appkit-color-secondary-600: #509c02;
51
- --appkit-color-secondary-700: #3e7708;
52
- --appkit-color-secondary-800: #345e0d;
53
- --appkit-color-secondary-900: #2c5011;
54
- --appkit-color-secondary-950: #142d03;
55
-
56
- /* Cobalt — Blue accent (links, nav) */
57
- --appkit-color-cobalt: #3570fc;
58
- --appkit-color-cobalt-50: #eef5ff;
59
- --appkit-color-cobalt-100: #d9e8ff;
60
- --appkit-color-cobalt-200: #bcd4ff;
61
- --appkit-color-cobalt-300: #8eb9ff;
62
- --appkit-color-cobalt-400: #5992ff;
63
- --appkit-color-cobalt-500: #3570fc;
64
- --appkit-color-cobalt-600: #1a55f2;
65
- --appkit-color-cobalt-700: #1343de;
66
- --appkit-color-cobalt-800: #1536b4;
67
- --appkit-color-cobalt-900: #18318e;
68
- --appkit-color-cobalt-950: #111e58;
69
-
70
- /* Accent — Metallic Steel (frame silver) */
71
- --appkit-color-accent: #8393b2;
72
- --appkit-color-accent-50: #f5f7fa;
73
- --appkit-color-accent-100: #eaeef4;
74
- --appkit-color-accent-200: #d1dae6;
75
- --appkit-color-accent-300: #adb9cf;
76
- --appkit-color-accent-400: #8393b2;
77
- --appkit-color-accent-500: #657599;
78
- --appkit-color-accent-600: #505f7f;
79
- --appkit-color-accent-700: #424d67;
80
- --appkit-color-accent-800: #394257;
81
- --appkit-color-accent-900: #333b4b;
82
- --appkit-color-accent-950: #222730;
83
- }
84
-
85
- /* --- Colour — Extended Palettes ------------------------------------------ */
86
- /* Tailwind-aligned palette scales. Pure values — no dark-mode override needed. */
87
- /* Used by component CSS to reference specific shades via var(--appkit-color-*). */
88
- :root {
89
- /* Zinc (neutrals used for borders, muted text, surfaces) */
90
- --appkit-color-zinc-50: #fafafa;
91
- --appkit-color-zinc-100: #f4f4f5;
92
- --appkit-color-zinc-200: #e4e4e7;
93
- --appkit-color-zinc-300: #d4d4d8;
94
- --appkit-color-zinc-400: #a1a1aa;
95
- --appkit-color-zinc-500: #71717a;
96
- --appkit-color-zinc-600: #52525b;
97
- --appkit-color-zinc-700: #3f3f46;
98
- --appkit-color-zinc-800: #27272a;
99
- --appkit-color-zinc-900: #18181b;
100
- --appkit-color-zinc-950: #09090b;
101
-
102
- /* Slate (used for dark-mode chrome, dev tools, panel backgrounds) */
103
- --appkit-color-slate-50: #f8fafc;
104
- --appkit-color-slate-100: #f1f5f9;
105
- --appkit-color-slate-200: #e2e8f0;
106
- --appkit-color-slate-300: #cbd5e1;
107
- --appkit-color-slate-400: #94a3b8;
108
- --appkit-color-slate-500: #64748b;
109
- --appkit-color-slate-600: #475569;
110
- --appkit-color-slate-700: #334155;
111
- --appkit-color-slate-800: #1e293b;
112
- --appkit-color-slate-900: #0f172a;
113
- --appkit-color-slate-950: #020617;
114
-
115
- /* Emerald (success states, verified badges) */
116
- --appkit-color-emerald-50: #ecfdf5;
117
- --appkit-color-emerald-100: #d1fae5;
118
- --appkit-color-emerald-200: #a7f3d0;
119
- --appkit-color-emerald-300: #6ee7b7;
120
- --appkit-color-emerald-400: #34d399;
121
- --appkit-color-emerald-500: #10b981;
122
- --appkit-color-emerald-600: #059669;
123
- --appkit-color-emerald-700: #047857;
124
- --appkit-color-emerald-800: #065f46;
125
- --appkit-color-emerald-900: #064e3b;
126
- --appkit-color-emerald-950: #022c22;
127
-
128
- /* Amber (warning states, pending badges) */
129
- --appkit-color-amber-50: #fffbeb;
130
- --appkit-color-amber-100: #fef3c7;
131
- --appkit-color-amber-200: #fde68a;
132
- --appkit-color-amber-300: #fcd34d;
133
- --appkit-color-amber-400: #fbbf24;
134
- --appkit-color-amber-500: #f59e0b;
135
- --appkit-color-amber-600: #d97706;
136
- --appkit-color-amber-700: #b45309;
137
- --appkit-color-amber-800: #92400e;
138
- --appkit-color-amber-900: #78350f;
139
- --appkit-color-amber-950: #451a03;
140
-
141
- /* Rose (danger states, rejected badges) */
142
- --appkit-color-rose-50: #fff1f2;
143
- --appkit-color-rose-100: #ffe4e6;
144
- --appkit-color-rose-200: #fecdd3;
145
- --appkit-color-rose-300: #fda4af;
146
- --appkit-color-rose-400: #fb7185;
147
- --appkit-color-rose-500: #f43f5e;
148
- --appkit-color-rose-600: #e11d48;
149
- --appkit-color-rose-700: #be123c;
150
- --appkit-color-rose-800: #9f1239;
151
- --appkit-color-rose-900: #881337;
152
- --appkit-color-rose-950: #4c0519;
153
-
154
- /* Sky (info states, link colors) */
155
- --appkit-color-sky-50: #f0f9ff;
156
- --appkit-color-sky-100: #e0f2fe;
157
- --appkit-color-sky-200: #bae6fd;
158
- --appkit-color-sky-300: #7dd3fc;
159
- --appkit-color-sky-400: #38bdf8;
160
- --appkit-color-sky-500: #0ea5e9;
161
- --appkit-color-sky-600: #0284c7;
162
- --appkit-color-sky-700: #0369a1;
163
- --appkit-color-sky-800: #075985;
164
- --appkit-color-sky-900: #0c4a6e;
165
- --appkit-color-sky-950: #082f49;
166
-
167
- /* Purple (admin badges, premium states) */
168
- --appkit-color-purple-50: #faf5ff;
169
- --appkit-color-purple-100: #f3e8ff;
170
- --appkit-color-purple-200: #e9d5ff;
171
- --appkit-color-purple-300: #d8b4fe;
172
- --appkit-color-purple-400: #c084fc;
173
- --appkit-color-purple-500: #a855f7;
174
- --appkit-color-purple-600: #9333ea;
175
- --appkit-color-purple-700: #7e22ce;
176
- --appkit-color-purple-800: #6b21a8;
177
- --appkit-color-purple-900: #581c87;
178
- --appkit-color-purple-950: #3b0764;
179
-
180
- /* Teal (seller badges, verified states) */
181
- --appkit-color-teal-50: #f0fdfa;
182
- --appkit-color-teal-100: #ccfbf1;
183
- --appkit-color-teal-200: #99f6e4;
184
- --appkit-color-teal-300: #5eead4;
185
- --appkit-color-teal-400: #2dd4bf;
186
- --appkit-color-teal-500: #14b8a6;
187
- --appkit-color-teal-600: #0d9488;
188
- --appkit-color-teal-700: #0f766e;
189
- --appkit-color-teal-800: #115e59;
190
- --appkit-color-teal-900: #134e4a;
191
- --appkit-color-teal-950: #042f2e;
192
-
193
- /* Green (active/live indicators, availability) */
194
- --appkit-color-green-50: #f0fdf4;
195
- --appkit-color-green-100: #dcfce7;
196
- --appkit-color-green-200: #bbf7d0;
197
- --appkit-color-green-300: #86efac;
198
- --appkit-color-green-400: #4ade80;
199
- --appkit-color-green-500: #22c55e;
200
- --appkit-color-green-600: #16a34a;
201
- --appkit-color-green-700: #15803d;
202
- --appkit-color-green-800: #166534;
203
- --appkit-color-green-900: #14532d;
204
- --appkit-color-green-950: #052e16;
205
- }
206
-
207
- /* --- Colour — Social Brand Tokens ---------------------------------------- */
208
- :root {
209
- --appkit-color-instagram: #E1306C;
210
- --appkit-color-facebook: #1877F2;
211
- --appkit-color-tiktok: #010101;
212
- --appkit-color-deviantart: #05CC47;
213
- --appkit-color-whatsapp: #25D366;
214
- --appkit-color-youtube: #FF0000;
215
- }
216
-
217
- /* --- Colour — Semantic (light mode defaults) ------------------------------ */
218
- :root {
219
- --appkit-color-bg: #fafafa; /* zinc-50 */
220
- --appkit-color-surface: #ffffff; /* white */
221
- --appkit-color-surface-elevated: #ffffff;
222
- --appkit-color-surface-input: #ffffff;
223
-
224
- --appkit-color-border: #e4e4e7; /* zinc-200 */
225
- --appkit-color-border-subtle: #f4f4f5; /* zinc-100 */
226
-
227
- --appkit-color-text: #18181b; /* zinc-900 */
228
- --appkit-color-text-muted: #71717a; /* zinc-500 */
229
- --appkit-color-text-faint: #a1a1aa; /* zinc-400 */
230
- --appkit-color-text-on-primary: #ffffff;
231
- --appkit-color-text-on-dark: #ffffff;
232
-
233
- --appkit-color-success: #059669; /* emerald-600 */
234
- --appkit-color-success-surface: #ecfdf5; /* emerald-50 */
235
- --appkit-color-warning: #d97706; /* amber-600 */
236
- --appkit-color-warning-surface: #fffbeb; /* amber-50 */
237
- --appkit-color-error: #dc2626; /* red-600 */
238
- --appkit-color-error-hover: #ef4444; /* red-500 — danger button hover */
239
- --appkit-color-error-surface: #fef2f2; /* red-50 */
240
- --appkit-color-error-title: #7f1d1d; /* red-900 */
241
- --appkit-color-error-text: #991b1b; /* red-800 */
242
- --appkit-color-info: #0284c7; /* sky-600 */
243
- --appkit-color-info-surface: #f0f9ff; /* sky-50 */
244
-
245
- --appkit-color-focus-ring: #3570fc; /* primary-500 = cobalt blue */
246
- }
247
-
248
- /* --- Colour — Brand (dark mode overrides) --------------------------------- */
249
- /* Dark mode: both primary & secondary become Hot Pink (Beyblade 2 dominant colour) */
250
- .dark {
251
- --appkit-color-primary: #e91e8c;
252
- --appkit-color-primary-50: #fdf0f8;
253
- --appkit-color-primary-100: #fce2f2;
254
- --appkit-color-primary-200: #fac6e6;
255
- --appkit-color-primary-300: #f79dd2;
256
- --appkit-color-primary-400: #f063b9;
257
- --appkit-color-primary-500: #e91e8c;
258
- --appkit-color-primary-600: #d4107a;
259
- --appkit-color-primary-700: #b00d66;
260
- --appkit-color-primary-800: #900f56;
261
- --appkit-color-primary-900: #771249;
262
- --appkit-color-primary-950: #480525;
263
-
264
- --appkit-color-secondary: #e91e8c;
265
- --appkit-color-secondary-50: #fdf0f8;
266
- --appkit-color-secondary-100: #fce2f2;
267
- --appkit-color-secondary-200: #fac6e6;
268
- --appkit-color-secondary-300: #f79dd2;
269
- --appkit-color-secondary-400: #f063b9;
270
- --appkit-color-secondary-500: #e91e8c;
271
- --appkit-color-secondary-600: #d4107a;
272
- --appkit-color-secondary-700: #b00d66;
273
- --appkit-color-secondary-800: #900f56;
274
- --appkit-color-secondary-900: #771249;
275
- --appkit-color-secondary-950: #480525;
276
- }
277
-
278
- /* --- Colour — Semantic (dark mode overrides) ------------------------------ */
279
- .dark {
280
- --appkit-color-bg: #020617; /* slate-950 */
281
- --appkit-color-surface: #0f172a; /* slate-900 */
282
- --appkit-color-surface-elevated: rgba(15, 23, 42, 0.9);
283
- --appkit-color-surface-input: rgba(30, 41, 59, 0.6); /* slate-800/60 */
284
-
285
- --appkit-color-border: #334155; /* slate-700 */
286
- --appkit-color-border-subtle: rgba(30, 41, 59, 0.6); /* slate-800/60 */
287
-
288
- --appkit-color-text: #fafafa; /* zinc-50 */
289
- --appkit-color-text-muted: #a1a1aa; /* zinc-400 */
290
- --appkit-color-text-faint: #71717a; /* zinc-500 */
291
-
292
- --appkit-color-success: #34d399; /* emerald-400 */
293
- --appkit-color-success-surface: rgba(6, 78, 59, 0.25);
294
- --appkit-color-warning: #fbbf24; /* amber-400 */
295
- --appkit-color-warning-surface: #1c1508; /* dark amber tint */
296
- --appkit-color-error: #f87171; /* red-400 */
297
- --appkit-color-error-surface: rgba(127, 29, 29, 0.25);
298
- --appkit-color-error-title: #fecaca; /* red-200 */
299
- --appkit-color-error-text: #fca5a5; /* red-300 */
300
- --appkit-color-info: #38bdf8; /* sky-400 */
301
- --appkit-color-info-surface: rgba(12, 74, 110, 0.25);
302
-
303
- --appkit-color-focus-ring: #f063b9; /* primary-400 in dark = hot pink */
304
- /* Dark-mode glow: use hot pink instead of cobalt */
305
- --appkit-shadow-glow: 0 0 0 1px rgba(233,30,140,0.12), 0 4px 16px -4px rgba(233,30,140,0.22);
306
- --appkit-shadow-glow-pink: 0 0 0 1px rgba(233,30,140,0.14), 0 4px 20px -4px rgba(233,30,140,0.28);
307
- }
308
-
309
- /* --- Typography ----------------------------------------------------------- */
310
- :root {
311
- --appkit-font-sans: var(--font-body), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
312
- --appkit-font-display: var(--font-display), "Poppins", ui-sans-serif, system-ui, sans-serif;
313
- --appkit-font-editorial: var(--font-editorial), "Georgia", serif;
314
- --appkit-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
315
-
316
- --appkit-text-2xs: 0.625rem; /* 10px */
317
- --appkit-text-xs: 0.75rem; /* 12px */
318
- --appkit-text-sm: 0.875rem; /* 14px */
319
- --appkit-text-base: 1rem; /* 16px */
320
- --appkit-text-lg: 1.125rem; /* 18px */
321
- --appkit-text-xl: 1.25rem; /* 20px */
322
- --appkit-text-2xl: 1.5rem; /* 24px */
323
- --appkit-text-3xl: 1.875rem; /* 30px */
324
- --appkit-text-4xl: 2.25rem; /* 36px */
325
- --appkit-text-5xl: 3rem; /* 48px */
326
-
327
- --appkit-leading-tight: 1.15;
328
- --appkit-leading-snug: 1.375;
329
- --appkit-leading-normal: 1.5;
330
- --appkit-leading-relaxed: 1.7;
331
-
332
- --appkit-tracking-tighter: -0.02em;
333
- --appkit-tracking-tight: -0.011em;
334
- --appkit-tracking-normal: 0em;
335
- --appkit-tracking-wide: 0.025em;
336
- --appkit-tracking-wider: 0.05em;
337
- }
338
-
339
- /* --- Spacing -------------------------------------------------------------- */
340
- :root {
341
- --appkit-space-1: 0.25rem; /* 4px */
342
- --appkit-space-2: 0.5rem; /* 8px */
343
- --appkit-space-3: 0.75rem; /* 12px */
344
- --appkit-space-4: 1rem; /* 16px */
345
- --appkit-space-5: 1.25rem; /* 20px */
346
- --appkit-space-6: 1.5rem; /* 24px */
347
- --appkit-space-8: 2rem; /* 32px */
348
- --appkit-space-10: 2.5rem; /* 40px */
349
- --appkit-space-12: 3rem; /* 48px */
350
- --appkit-space-16: 4rem; /* 64px */
351
- --appkit-space-20: 5rem; /* 80px */
352
- --appkit-space-18: 4.5rem; /* 72px — custom */
353
- --appkit-space-24: 6rem; /* 96px */
354
- }
355
-
356
- /* --- Border Radius -------------------------------------------------------- */
357
- :root {
358
- --appkit-radius-sm: 0.25rem; /* 4px */
359
- --appkit-radius-md: 0.375rem; /* 6px */
360
- --appkit-radius-lg: 0.5rem; /* 8px */
361
- --appkit-radius-xl: 0.75rem; /* 12px */
362
- --appkit-radius-2xl: 1rem; /* 16px */
363
- --appkit-radius-3xl: 1.5rem; /* 24px */
364
- --appkit-radius-card: 1rem; /* 16px — alias */
365
- --appkit-radius-btn: 0.75rem; /* 12px — rounded-xl */
366
- --appkit-radius-full: 9999px;
367
- }
368
-
369
- /* --- Shadow --------------------------------------------------------------- */
370
- :root {
371
- --appkit-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
372
- --appkit-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
373
- --appkit-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
374
- --appkit-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
375
- --appkit-shadow-soft: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
376
- /* Themed glow: tight ring + soft bloom — no bleed into neighbours */
377
- --appkit-shadow-glow: 0 0 0 1px rgba(53,112,252,0.10), 0 4px 16px -4px rgba(53,112,252,0.20);
378
- --appkit-shadow-glow-pink: 0 0 0 1px rgba(233,30,140,0.12), 0 4px 16px -4px rgba(233,30,140,0.22);
379
- }
380
-
381
- /* --- Z-index -------------------------------------------------------------- */
382
- :root {
383
- --appkit-z-below: -1;
384
- --appkit-z-base: 0;
385
- --appkit-z-raised: 10;
386
- --appkit-z-dropdown: 30;
387
- --appkit-z-search-backdrop: 35;
388
- --appkit-z-overlay: 45;
389
- --appkit-z-navbar: 40;
390
- --appkit-z-bottom-nav: 40;
391
- --appkit-z-sidebar: 50;
392
- --appkit-z-title-bar: 50;
393
- --appkit-z-modal: 60;
394
- --appkit-z-toast: 70;
395
- --appkit-z-tooltip: 80;
396
-
397
- /* Layout dimensions */
398
- --appkit-navbar-height: 2.5rem; /* h-10 = 40px (mobile), h-12 = 48px (md) */
399
- --appkit-sidebar-width: 20rem; /* w-80 = 320px */
400
- --appkit-bottom-nav-height: 3.5rem; /* h-14 = 56px */
401
- --appkit-title-bar-height: 3rem; /* h-12 = 48px */
402
- }
403
-
404
- /* --- Component Sizes ------------------------------------------------------- */
405
- :root {
406
- /* Input heights */
407
- --appkit-size-input-sm: 2rem; /* 32px */
408
- --appkit-size-input-md: 2.5rem; /* 40px */
409
- --appkit-size-input-lg: 2.75rem; /* 44px */
410
-
411
- /* Avatar sizes */
412
- --appkit-size-avatar-xs: 1.5rem; /* 24px */
413
- --appkit-size-avatar-sm: 2rem; /* 32px */
414
- --appkit-size-avatar-md: 2.5rem; /* 40px */
415
- --appkit-size-avatar-lg: 3rem; /* 48px */
416
- }
417
-
418
- /* --- Grid ------------------------------------------------------------------ */
419
- :root {
420
- /* Minimum column widths for auto-fill grid layouts (used in minmax()) */
421
- --appkit-grid-min-card-xs: 130px;
422
- --appkit-grid-min-card-sm: 160px;
423
- --appkit-grid-min-card: 220px;
424
- --appkit-grid-min-card-lg: 300px;
425
- }
426
-
427
- /* --- Transition ----------------------------------------------------------- */
428
- :root {
429
- --appkit-duration-fast: 150ms;
430
- --appkit-duration-base: 200ms;
431
- --appkit-duration-slow: 300ms;
432
- --appkit-duration-slower: 400ms;
433
- --appkit-ease-default: cubic-bezier(0.4, 0, 0.2, 1);
434
- --appkit-ease-in: cubic-bezier(0.4, 0, 1, 1);
435
- --appkit-ease-out: cubic-bezier(0, 0, 0.2, 1);
436
- }
1
+ /*
2
+ * @mohasinac/tokens — Design tokens as CSS custom properties
3
+ *
4
+ * All values are prefixed --appkit-* for the @mohasinac/* package system.
5
+ * Consumer projects override only what they need to rebrand:
6
+ *
7
+ * /* my-brand/globals.css * /
8
+ * @import "@mohasinac/tokens/tokens.css";
9
+ * :root {
10
+ * --appkit-color-primary: #your-primary;
11
+ * --appkit-color-secondary: #your-secondary;
12
+ * }
13
+ *
14
+ * Default values reflect a lime + magenta palette (override --appkit-color-primary etc. to rebrand).
15
+ */
16
+
17
+ /* --- Colour — Brand ------------------------------------------------------- */
18
+ /*
19
+ * Light mode (image 1 — cobalt-blue body + lime-green blades):
20
+ * primary = Cobalt Blue (dominant body colour)
21
+ * secondary = Lime Green (blade / accent colour)
22
+ *
23
+ * Dark mode (image 2 — hot-pink blades + near-black body):
24
+ * primary = Hot Pink (dominant accent colour) ← overridden in .dark below
25
+ * secondary = Hot Pink (same — unified accent) ← overridden in .dark below
26
+ */
27
+ :root {
28
+ /* Primary — Cobalt Blue (light mode dominant, matches Beyblade 1 blue body) */
29
+ --appkit-color-primary: #3570fc;
30
+ --appkit-color-primary-50: #eef5ff;
31
+ --appkit-color-primary-100: #d9e8ff;
32
+ --appkit-color-primary-200: #bcd4ff;
33
+ --appkit-color-primary-300: #8eb9ff;
34
+ --appkit-color-primary-400: #5992ff;
35
+ --appkit-color-primary-500: #3570fc;
36
+ --appkit-color-primary-600: #1a55f2;
37
+ --appkit-color-primary-700: #1343de;
38
+ --appkit-color-primary-800: #1536b4;
39
+ --appkit-color-primary-900: #18318e;
40
+ --appkit-color-primary-950: #111e58;
41
+
42
+ /* Secondary — Lime Green (light mode accent, matches Beyblade 1 green blades) */
43
+ --appkit-color-secondary: #65c408;
44
+ --appkit-color-secondary-50: #f3ffe3;
45
+ --appkit-color-secondary-100: #e4ffc5;
46
+ --appkit-color-secondary-200: #c8ff90;
47
+ --appkit-color-secondary-300: #a3f550;
48
+ --appkit-color-secondary-400: #84e122;
49
+ --appkit-color-secondary-500: #65c408;
50
+ --appkit-color-secondary-600: #509c02;
51
+ --appkit-color-secondary-700: #3e7708;
52
+ --appkit-color-secondary-800: #345e0d;
53
+ --appkit-color-secondary-900: #2c5011;
54
+ --appkit-color-secondary-950: #142d03;
55
+
56
+ /* Cobalt — Blue accent (links, nav) */
57
+ --appkit-color-cobalt: #3570fc;
58
+ --appkit-color-cobalt-50: #eef5ff;
59
+ --appkit-color-cobalt-100: #d9e8ff;
60
+ --appkit-color-cobalt-200: #bcd4ff;
61
+ --appkit-color-cobalt-300: #8eb9ff;
62
+ --appkit-color-cobalt-400: #5992ff;
63
+ --appkit-color-cobalt-500: #3570fc;
64
+ --appkit-color-cobalt-600: #1a55f2;
65
+ --appkit-color-cobalt-700: #1343de;
66
+ --appkit-color-cobalt-800: #1536b4;
67
+ --appkit-color-cobalt-900: #18318e;
68
+ --appkit-color-cobalt-950: #111e58;
69
+
70
+ /* Accent — Metallic Steel (frame silver) */
71
+ --appkit-color-accent: #8393b2;
72
+ --appkit-color-accent-50: #f5f7fa;
73
+ --appkit-color-accent-100: #eaeef4;
74
+ --appkit-color-accent-200: #d1dae6;
75
+ --appkit-color-accent-300: #adb9cf;
76
+ --appkit-color-accent-400: #8393b2;
77
+ --appkit-color-accent-500: #657599;
78
+ --appkit-color-accent-600: #505f7f;
79
+ --appkit-color-accent-700: #424d67;
80
+ --appkit-color-accent-800: #394257;
81
+ --appkit-color-accent-900: #333b4b;
82
+ --appkit-color-accent-950: #222730;
83
+ }
84
+
85
+ /* --- Colour — Extended Palettes ------------------------------------------ */
86
+ /* Tailwind-aligned palette scales. Pure values — no dark-mode override needed. */
87
+ /* Used by component CSS to reference specific shades via var(--appkit-color-*). */
88
+ :root {
89
+ /* Zinc (neutrals used for borders, muted text, surfaces) */
90
+ --appkit-color-zinc-50: #fafafa;
91
+ --appkit-color-zinc-100: #f4f4f5;
92
+ --appkit-color-zinc-200: #e4e4e7;
93
+ --appkit-color-zinc-300: #d4d4d8;
94
+ --appkit-color-zinc-400: #a1a1aa;
95
+ --appkit-color-zinc-500: #71717a;
96
+ --appkit-color-zinc-600: #52525b;
97
+ --appkit-color-zinc-700: #3f3f46;
98
+ --appkit-color-zinc-800: #27272a;
99
+ --appkit-color-zinc-900: #18181b;
100
+ --appkit-color-zinc-950: #09090b;
101
+
102
+ /* Slate (used for dark-mode chrome, dev tools, panel backgrounds) */
103
+ --appkit-color-slate-50: #f8fafc;
104
+ --appkit-color-slate-100: #f1f5f9;
105
+ --appkit-color-slate-200: #e2e8f0;
106
+ --appkit-color-slate-300: #cbd5e1;
107
+ --appkit-color-slate-400: #94a3b8;
108
+ --appkit-color-slate-500: #64748b;
109
+ --appkit-color-slate-600: #475569;
110
+ --appkit-color-slate-700: #334155;
111
+ --appkit-color-slate-800: #1e293b;
112
+ --appkit-color-slate-900: #0f172a;
113
+ --appkit-color-slate-950: #020617;
114
+
115
+ /* Emerald (success states, verified badges) */
116
+ --appkit-color-emerald-50: #ecfdf5;
117
+ --appkit-color-emerald-100: #d1fae5;
118
+ --appkit-color-emerald-200: #a7f3d0;
119
+ --appkit-color-emerald-300: #6ee7b7;
120
+ --appkit-color-emerald-400: #34d399;
121
+ --appkit-color-emerald-500: #10b981;
122
+ --appkit-color-emerald-600: #059669;
123
+ --appkit-color-emerald-700: #047857;
124
+ --appkit-color-emerald-800: #065f46;
125
+ --appkit-color-emerald-900: #064e3b;
126
+ --appkit-color-emerald-950: #022c22;
127
+
128
+ /* Amber (warning states, pending badges) */
129
+ --appkit-color-amber-50: #fffbeb;
130
+ --appkit-color-amber-100: #fef3c7;
131
+ --appkit-color-amber-200: #fde68a;
132
+ --appkit-color-amber-300: #fcd34d;
133
+ --appkit-color-amber-400: #fbbf24;
134
+ --appkit-color-amber-500: #f59e0b;
135
+ --appkit-color-amber-600: #d97706;
136
+ --appkit-color-amber-700: #b45309;
137
+ --appkit-color-amber-800: #92400e;
138
+ --appkit-color-amber-900: #78350f;
139
+ --appkit-color-amber-950: #451a03;
140
+
141
+ /* Rose (danger states, rejected badges) */
142
+ --appkit-color-rose-50: #fff1f2;
143
+ --appkit-color-rose-100: #ffe4e6;
144
+ --appkit-color-rose-200: #fecdd3;
145
+ --appkit-color-rose-300: #fda4af;
146
+ --appkit-color-rose-400: #fb7185;
147
+ --appkit-color-rose-500: #f43f5e;
148
+ --appkit-color-rose-600: #e11d48;
149
+ --appkit-color-rose-700: #be123c;
150
+ --appkit-color-rose-800: #9f1239;
151
+ --appkit-color-rose-900: #881337;
152
+ --appkit-color-rose-950: #4c0519;
153
+
154
+ /* Sky (info states, link colors) */
155
+ --appkit-color-sky-50: #f0f9ff;
156
+ --appkit-color-sky-100: #e0f2fe;
157
+ --appkit-color-sky-200: #bae6fd;
158
+ --appkit-color-sky-300: #7dd3fc;
159
+ --appkit-color-sky-400: #38bdf8;
160
+ --appkit-color-sky-500: #0ea5e9;
161
+ --appkit-color-sky-600: #0284c7;
162
+ --appkit-color-sky-700: #0369a1;
163
+ --appkit-color-sky-800: #075985;
164
+ --appkit-color-sky-900: #0c4a6e;
165
+ --appkit-color-sky-950: #082f49;
166
+
167
+ /* Purple (admin badges, premium states) */
168
+ --appkit-color-purple-50: #faf5ff;
169
+ --appkit-color-purple-100: #f3e8ff;
170
+ --appkit-color-purple-200: #e9d5ff;
171
+ --appkit-color-purple-300: #d8b4fe;
172
+ --appkit-color-purple-400: #c084fc;
173
+ --appkit-color-purple-500: #a855f7;
174
+ --appkit-color-purple-600: #9333ea;
175
+ --appkit-color-purple-700: #7e22ce;
176
+ --appkit-color-purple-800: #6b21a8;
177
+ --appkit-color-purple-900: #581c87;
178
+ --appkit-color-purple-950: #3b0764;
179
+
180
+ /* Teal (seller badges, verified states) */
181
+ --appkit-color-teal-50: #f0fdfa;
182
+ --appkit-color-teal-100: #ccfbf1;
183
+ --appkit-color-teal-200: #99f6e4;
184
+ --appkit-color-teal-300: #5eead4;
185
+ --appkit-color-teal-400: #2dd4bf;
186
+ --appkit-color-teal-500: #14b8a6;
187
+ --appkit-color-teal-600: #0d9488;
188
+ --appkit-color-teal-700: #0f766e;
189
+ --appkit-color-teal-800: #115e59;
190
+ --appkit-color-teal-900: #134e4a;
191
+ --appkit-color-teal-950: #042f2e;
192
+
193
+ /* Green (active/live indicators, availability) */
194
+ --appkit-color-green-50: #f0fdf4;
195
+ --appkit-color-green-100: #dcfce7;
196
+ --appkit-color-green-200: #bbf7d0;
197
+ --appkit-color-green-300: #86efac;
198
+ --appkit-color-green-400: #4ade80;
199
+ --appkit-color-green-500: #22c55e;
200
+ --appkit-color-green-600: #16a34a;
201
+ --appkit-color-green-700: #15803d;
202
+ --appkit-color-green-800: #166534;
203
+ --appkit-color-green-900: #14532d;
204
+ --appkit-color-green-950: #052e16;
205
+ }
206
+
207
+ /* --- Colour — Social Brand Tokens ---------------------------------------- */
208
+ :root {
209
+ --appkit-color-instagram: #E1306C;
210
+ --appkit-color-facebook: #1877F2;
211
+ --appkit-color-tiktok: #010101;
212
+ --appkit-color-deviantart: #05CC47;
213
+ --appkit-color-whatsapp: #25D366;
214
+ --appkit-color-youtube: #FF0000;
215
+ }
216
+
217
+ /* --- Colour — Semantic (light mode defaults) ------------------------------ */
218
+ :root {
219
+ --appkit-color-bg: #fafafa; /* zinc-50 */
220
+ --appkit-color-surface: #ffffff; /* white */
221
+ --appkit-color-surface-elevated: #ffffff;
222
+ --appkit-color-surface-input: #ffffff;
223
+
224
+ --appkit-color-border: #e4e4e7; /* zinc-200 */
225
+ --appkit-color-border-subtle: #f4f4f5; /* zinc-100 */
226
+
227
+ --appkit-color-text: #18181b; /* zinc-900 */
228
+ --appkit-color-text-muted: #71717a; /* zinc-500 */
229
+ --appkit-color-text-faint: #a1a1aa; /* zinc-400 */
230
+ --appkit-color-text-on-primary: #ffffff;
231
+ --appkit-color-text-on-dark: #ffffff;
232
+
233
+ --appkit-color-success: #059669; /* emerald-600 */
234
+ --appkit-color-success-surface: #ecfdf5; /* emerald-50 */
235
+ --appkit-color-warning: #d97706; /* amber-600 */
236
+ --appkit-color-warning-surface: #fffbeb; /* amber-50 */
237
+ --appkit-color-error: #dc2626; /* red-600 */
238
+ --appkit-color-error-hover: #ef4444; /* red-500 — danger button hover */
239
+ --appkit-color-error-surface: #fef2f2; /* red-50 */
240
+ --appkit-color-error-title: #7f1d1d; /* red-900 */
241
+ --appkit-color-error-text: #991b1b; /* red-800 */
242
+ --appkit-color-info: #0284c7; /* sky-600 */
243
+ --appkit-color-info-surface: #f0f9ff; /* sky-50 */
244
+
245
+ --appkit-color-focus-ring: #3570fc; /* primary-500 = cobalt blue */
246
+ }
247
+
248
+ /* --- Colour — Brand (dark mode overrides) --------------------------------- */
249
+ /* Dark mode: both primary & secondary become Hot Pink (Beyblade 2 dominant colour) */
250
+ .dark {
251
+ --appkit-color-primary: #e91e8c;
252
+ --appkit-color-primary-50: #fdf0f8;
253
+ --appkit-color-primary-100: #fce2f2;
254
+ --appkit-color-primary-200: #fac6e6;
255
+ --appkit-color-primary-300: #f79dd2;
256
+ --appkit-color-primary-400: #f063b9;
257
+ --appkit-color-primary-500: #e91e8c;
258
+ --appkit-color-primary-600: #d4107a;
259
+ --appkit-color-primary-700: #b00d66;
260
+ --appkit-color-primary-800: #900f56;
261
+ --appkit-color-primary-900: #771249;
262
+ --appkit-color-primary-950: #480525;
263
+
264
+ --appkit-color-secondary: #e91e8c;
265
+ --appkit-color-secondary-50: #fdf0f8;
266
+ --appkit-color-secondary-100: #fce2f2;
267
+ --appkit-color-secondary-200: #fac6e6;
268
+ --appkit-color-secondary-300: #f79dd2;
269
+ --appkit-color-secondary-400: #f063b9;
270
+ --appkit-color-secondary-500: #e91e8c;
271
+ --appkit-color-secondary-600: #d4107a;
272
+ --appkit-color-secondary-700: #b00d66;
273
+ --appkit-color-secondary-800: #900f56;
274
+ --appkit-color-secondary-900: #771249;
275
+ --appkit-color-secondary-950: #480525;
276
+ }
277
+
278
+ /* --- Colour — Semantic (dark mode overrides) ------------------------------ */
279
+ .dark {
280
+ --appkit-color-bg: #020617; /* slate-950 */
281
+ --appkit-color-surface: #0f172a; /* slate-900 */
282
+ --appkit-color-surface-elevated: rgba(15, 23, 42, 0.9);
283
+ --appkit-color-surface-input: rgba(30, 41, 59, 0.6); /* slate-800/60 */
284
+
285
+ --appkit-color-border: #334155; /* slate-700 */
286
+ --appkit-color-border-subtle: rgba(30, 41, 59, 0.6); /* slate-800/60 */
287
+
288
+ --appkit-color-text: #fafafa; /* zinc-50 */
289
+ --appkit-color-text-muted: #a1a1aa; /* zinc-400 */
290
+ --appkit-color-text-faint: #71717a; /* zinc-500 */
291
+
292
+ --appkit-color-success: #34d399; /* emerald-400 */
293
+ --appkit-color-success-surface: rgba(6, 78, 59, 0.25);
294
+ --appkit-color-warning: #fbbf24; /* amber-400 */
295
+ --appkit-color-warning-surface: #1c1508; /* dark amber tint */
296
+ --appkit-color-error: #f87171; /* red-400 */
297
+ --appkit-color-error-surface: rgba(127, 29, 29, 0.25);
298
+ --appkit-color-error-title: #fecaca; /* red-200 */
299
+ --appkit-color-error-text: #fca5a5; /* red-300 */
300
+ --appkit-color-info: #38bdf8; /* sky-400 */
301
+ --appkit-color-info-surface: rgba(12, 74, 110, 0.25);
302
+
303
+ --appkit-color-focus-ring: #f063b9; /* primary-400 in dark = hot pink */
304
+ /* Dark-mode glow: use hot pink instead of cobalt */
305
+ --appkit-shadow-glow: 0 0 0 1px rgba(233,30,140,0.12), 0 4px 16px -4px rgba(233,30,140,0.22);
306
+ --appkit-shadow-glow-pink: 0 0 0 1px rgba(233,30,140,0.14), 0 4px 20px -4px rgba(233,30,140,0.28);
307
+ }
308
+
309
+ /* --- Typography ----------------------------------------------------------- */
310
+ :root {
311
+ --appkit-font-sans: var(--font-body), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
312
+ --appkit-font-display: var(--font-display), "Poppins", ui-sans-serif, system-ui, sans-serif;
313
+ --appkit-font-editorial: var(--font-editorial), "Georgia", serif;
314
+ --appkit-font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Consolas", monospace;
315
+
316
+ --appkit-text-2xs: 0.625rem; /* 10px */
317
+ --appkit-text-xs: 0.75rem; /* 12px */
318
+ --appkit-text-sm: 0.875rem; /* 14px */
319
+ --appkit-text-base: 1rem; /* 16px */
320
+ --appkit-text-lg: 1.125rem; /* 18px */
321
+ --appkit-text-xl: 1.25rem; /* 20px */
322
+ --appkit-text-2xl: 1.5rem; /* 24px */
323
+ --appkit-text-3xl: 1.875rem; /* 30px */
324
+ --appkit-text-4xl: 2.25rem; /* 36px */
325
+ --appkit-text-5xl: 3rem; /* 48px */
326
+
327
+ --appkit-leading-tight: 1.15;
328
+ --appkit-leading-snug: 1.375;
329
+ --appkit-leading-normal: 1.5;
330
+ --appkit-leading-relaxed: 1.7;
331
+
332
+ --appkit-tracking-tighter: -0.02em;
333
+ --appkit-tracking-tight: -0.011em;
334
+ --appkit-tracking-normal: 0em;
335
+ --appkit-tracking-wide: 0.025em;
336
+ --appkit-tracking-wider: 0.05em;
337
+ }
338
+
339
+ /* --- Spacing -------------------------------------------------------------- */
340
+ :root {
341
+ --appkit-space-1: 0.25rem; /* 4px */
342
+ --appkit-space-2: 0.5rem; /* 8px */
343
+ --appkit-space-3: 0.75rem; /* 12px */
344
+ --appkit-space-4: 1rem; /* 16px */
345
+ --appkit-space-5: 1.25rem; /* 20px */
346
+ --appkit-space-6: 1.5rem; /* 24px */
347
+ --appkit-space-8: 2rem; /* 32px */
348
+ --appkit-space-10: 2.5rem; /* 40px */
349
+ --appkit-space-12: 3rem; /* 48px */
350
+ --appkit-space-16: 4rem; /* 64px */
351
+ --appkit-space-20: 5rem; /* 80px */
352
+ --appkit-space-18: 4.5rem; /* 72px — custom */
353
+ --appkit-space-24: 6rem; /* 96px */
354
+ }
355
+
356
+ /* --- Border Radius -------------------------------------------------------- */
357
+ :root {
358
+ --appkit-radius-sm: 0.25rem; /* 4px */
359
+ --appkit-radius-md: 0.375rem; /* 6px */
360
+ --appkit-radius-lg: 0.5rem; /* 8px */
361
+ --appkit-radius-xl: 0.75rem; /* 12px */
362
+ --appkit-radius-2xl: 1rem; /* 16px */
363
+ --appkit-radius-3xl: 1.5rem; /* 24px */
364
+ --appkit-radius-card: 1rem; /* 16px — alias */
365
+ --appkit-radius-btn: 0.75rem; /* 12px — rounded-xl */
366
+ --appkit-radius-full: 9999px;
367
+ }
368
+
369
+ /* --- Shadow --------------------------------------------------------------- */
370
+ :root {
371
+ --appkit-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
372
+ --appkit-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
373
+ --appkit-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
374
+ --appkit-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
375
+ --appkit-shadow-soft: 0 2px 15px -3px rgba(0,0,0,0.07), 0 10px 20px -2px rgba(0,0,0,0.04);
376
+ /* Themed glow: tight ring + soft bloom — no bleed into neighbours */
377
+ --appkit-shadow-glow: 0 0 0 1px rgba(53,112,252,0.10), 0 4px 16px -4px rgba(53,112,252,0.20);
378
+ --appkit-shadow-glow-pink: 0 0 0 1px rgba(233,30,140,0.12), 0 4px 16px -4px rgba(233,30,140,0.22);
379
+ }
380
+
381
+ /* --- Z-index -------------------------------------------------------------- */
382
+ :root {
383
+ --appkit-z-below: -1;
384
+ --appkit-z-base: 0;
385
+ --appkit-z-raised: 10;
386
+ --appkit-z-dropdown: 30;
387
+ --appkit-z-search-backdrop: 35;
388
+ --appkit-z-overlay: 45;
389
+ --appkit-z-navbar: 40;
390
+ --appkit-z-bottom-nav: 40;
391
+ --appkit-z-sidebar: 50;
392
+ --appkit-z-title-bar: 50;
393
+ --appkit-z-modal: 60;
394
+ --appkit-z-toast: 70;
395
+ --appkit-z-tooltip: 80;
396
+
397
+ /* Layout dimensions */
398
+ --appkit-navbar-height: 2.5rem; /* h-10 = 40px (mobile), h-12 = 48px (md) */
399
+ --appkit-sidebar-width: 20rem; /* w-80 = 320px */
400
+ --appkit-bottom-nav-height: 3.5rem; /* h-14 = 56px */
401
+ --appkit-title-bar-height: 3rem; /* h-12 = 48px */
402
+ }
403
+
404
+ /* --- Component Sizes ------------------------------------------------------- */
405
+ :root {
406
+ /* Input heights */
407
+ --appkit-size-input-sm: 2rem; /* 32px */
408
+ --appkit-size-input-md: 2.5rem; /* 40px */
409
+ --appkit-size-input-lg: 2.75rem; /* 44px */
410
+
411
+ /* Avatar sizes */
412
+ --appkit-size-avatar-xs: 1.5rem; /* 24px */
413
+ --appkit-size-avatar-sm: 2rem; /* 32px */
414
+ --appkit-size-avatar-md: 2.5rem; /* 40px */
415
+ --appkit-size-avatar-lg: 3rem; /* 48px */
416
+ }
417
+
418
+ /* --- Grid ------------------------------------------------------------------ */
419
+ :root {
420
+ /* Minimum column widths for auto-fill grid layouts (used in minmax()) */
421
+ --appkit-grid-min-card-xs: 130px;
422
+ --appkit-grid-min-card-sm: 160px;
423
+ --appkit-grid-min-card: 220px;
424
+ --appkit-grid-min-card-lg: 300px;
425
+ }
426
+
427
+ /* --- Transition ----------------------------------------------------------- */
428
+ :root {
429
+ --appkit-duration-fast: 150ms;
430
+ --appkit-duration-base: 200ms;
431
+ --appkit-duration-slow: 300ms;
432
+ --appkit-duration-slower: 400ms;
433
+ --appkit-ease-default: cubic-bezier(0.4, 0, 0.2, 1);
434
+ --appkit-ease-in: cubic-bezier(0.4, 0, 1, 1);
435
+ --appkit-ease-out: cubic-bezier(0, 0, 0.2, 1);
436
+ }