@almadar/ui 6.29.0 → 6.30.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.
Files changed (52) hide show
  1. package/dist/{EntityBindingContext-UyeCfEBS.d.cts → EntityBindingContext-ChCONv2W.d.cts} +1 -50
  2. package/dist/{EntityBindingContext-UyeCfEBS.d.ts → EntityBindingContext-ChCONv2W.d.ts} +1 -50
  3. package/dist/avl/index.cjs +5 -6
  4. package/dist/avl/index.js +5 -6
  5. package/dist/components/index.cjs +4 -5
  6. package/dist/components/index.js +4 -5
  7. package/dist/context/index.cjs +135 -105
  8. package/dist/context/index.d.cts +2 -60
  9. package/dist/context/index.d.ts +2 -60
  10. package/dist/context/index.js +135 -105
  11. package/dist/lib/index.cjs +455 -0
  12. package/dist/lib/index.d.cts +42 -1
  13. package/dist/lib/index.d.ts +42 -1
  14. package/dist/lib/index.js +438 -1
  15. package/dist/marketing/index.cjs +4 -5
  16. package/dist/marketing/index.js +4 -5
  17. package/dist/providers/index.cjs +143 -116
  18. package/dist/providers/index.d.cts +1 -1
  19. package/dist/providers/index.d.ts +1 -1
  20. package/dist/providers/index.js +143 -116
  21. package/dist/runtime/index.cjs +5 -6
  22. package/dist/runtime/index.d.cts +2 -2
  23. package/dist/runtime/index.d.ts +2 -2
  24. package/dist/runtime/index.js +5 -6
  25. package/dist/themeTokens-DVRwufw8.d.cts +112 -0
  26. package/dist/themeTokens-DVRwufw8.d.ts +112 -0
  27. package/package.json +6 -5
  28. package/scripts/audit-tailwind-safelist.ts +4 -0
  29. package/tailwind-preset.cjs +155 -28
  30. package/themes/almadar-website.css +37 -107
  31. package/themes/almadar.css +37 -108
  32. package/themes/atelier.css +145 -240
  33. package/themes/bloomberg-dense.css +145 -252
  34. package/themes/clay.css +39 -137
  35. package/themes/comic.css +39 -145
  36. package/themes/corporate.css +39 -131
  37. package/themes/game-adventure.css +22 -87
  38. package/themes/game-rpg.css +22 -84
  39. package/themes/game-sci-fi.css +22 -88
  40. package/themes/game-ui-pack.css +22 -85
  41. package/themes/gazette.css +43 -135
  42. package/themes/glass.css +39 -148
  43. package/themes/kiosk.css +51 -146
  44. package/themes/linear-clean.css +145 -215
  45. package/themes/minimalist.css +39 -125
  46. package/themes/neon.css +39 -132
  47. package/themes/notion-editorial.css +145 -215
  48. package/themes/prism.css +37 -100
  49. package/themes/retro.css +39 -130
  50. package/themes/terminal.css +61 -152
  51. package/themes/trait-wars.css +121 -285
  52. package/themes/wireframe.css +41 -128
package/themes/neon.css CHANGED
@@ -1,56 +1,20 @@
1
1
  /**
2
- * Neon Theme "Cyberpunk"
3
- *
4
- * A high-contrast cyberpunk palette with bright cyan and pink on dark
5
- * backgrounds. Features neon glow box-shadows that intensify on hover,
6
- * razor-sharp corners for a tech aesthetic, thick outlined borders, and
7
- * near-instant linear transitions that feel digital and responsive.
8
- * Wide letter-spacing and heavy weights evoke sci-fi terminal readouts.
2
+ * GENERATEDdo not edit by hand.
3
+ * Source: packages/almadar-core/themes/neon.json
4
+ * Regenerate: node tools/almadar-pattern-sync/dist/index.js themes (or `almadar-sync themes`)
9
5
  */
10
6
 
11
- /* ==========================================================================
12
- * LIGHT MODE
13
- * ========================================================================== */
14
7
  [data-theme="neon-light"] {
15
- /* Shadows - Soft standard (light mode is more restrained) */
16
- --shadow-main: 0 2px 8px rgba(34, 211, 238, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
17
- --shadow-sm: 0 1px 4px rgba(34, 211, 238, 0.08);
18
- --shadow-lg:
19
- 0 6px 20px rgba(34, 211, 238, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
20
- --shadow-inner: inset 0 1px 3px rgba(34, 211, 238, 0.06);
21
- --shadow-none: none;
22
- --shadow-hover:
23
- 0 6px 24px rgba(34, 211, 238, 0.16), 0 2px 8px rgba(244, 114, 182, 0.06);
24
- --shadow-active: 0 1px 4px rgba(34, 211, 238, 0.1);
25
-
26
- /* Border radius - Sharp, tech aesthetic */
27
- --radius-none: 0px;
28
- --radius-sm: 2px;
29
- --radius-md: 6px;
30
- --radius-lg: 10px;
31
- --radius-xl: 6px;
32
- --radius-full: 9999px;
33
-
34
- /* Border width - Thick outlined look */
35
- --border-width: 2px;
36
- --border-width-thin: 1px;
37
- --border-width-thick: 3px;
38
-
39
- /* Colors - Teal-tinted light mode */
40
8
  --color-primary: #0e7490;
41
9
  --color-primary-hover: #155e75;
42
10
  --color-primary-foreground: #ffffff;
43
-
44
11
  --color-secondary: #ccfbf1;
45
12
  --color-secondary-hover: #99f6e4;
46
13
  --color-secondary-foreground: #134e4a;
47
-
48
14
  --color-accent: #be185d;
49
15
  --color-accent-foreground: #ffffff;
50
-
51
16
  --color-muted: #ccfbf1;
52
17
  --color-muted-foreground: #475569;
53
-
54
18
  --color-background: #f0fdfa;
55
19
  --color-foreground: #134e4a;
56
20
  --color-card: #ffffff;
@@ -59,8 +23,6 @@
59
23
  --color-border: rgba(34, 211, 238, 0.3);
60
24
  --color-input: rgba(34, 211, 238, 0.35);
61
25
  --color-ring: #22d3ee;
62
-
63
- /* Semantic colors */
64
26
  --color-error: #dc2626;
65
27
  --color-error-foreground: #ffffff;
66
28
  --color-success: #15803d;
@@ -69,40 +31,41 @@
69
31
  --color-warning-foreground: #000000;
70
32
  --color-info: #2563eb;
71
33
  --color-info-foreground: #ffffff;
72
-
73
- /* Typography - Wide, tech */
74
- --font-family:
75
- "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
34
+ --radius-none: 0px;
35
+ --radius-sm: 2px;
36
+ --radius-md: 6px;
37
+ --radius-lg: 10px;
38
+ --radius-xl: 6px;
39
+ --radius-full: 9999px;
40
+ --border-width: 2px;
41
+ --border-width-thin: 1px;
42
+ --border-width-thick: 3px;
43
+ --font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
76
44
  --font-weight-normal: 500;
77
45
  --font-weight-medium: 600;
78
46
  --font-weight-bold: 800;
79
47
  --letter-spacing: 0.05em;
80
48
  --line-height: 1.5;
81
-
82
- /* Icon styling */
83
- --icon-stroke-width: 2.0;
84
49
  --icon-color: #22d3ee;
85
-
86
- /* Transitions - Instant, digital */
87
50
  --transition-fast: 50ms;
88
51
  --transition-normal: 100ms;
89
52
  --transition-slow: 150ms;
90
53
  --transition-timing: linear;
91
-
92
- /* Hover/Active transforms - Glow comes from shadow, not movement */
93
54
  --hover-scale: 1.0;
94
55
  --hover-translate-y: 0;
95
56
  --hover-translate-x: 0;
96
57
  --active-scale: 0.98;
97
58
  --active-translate-y: 0;
98
-
99
- /* Focus ring */
100
59
  --focus-ring-width: 2px;
101
60
  --focus-ring-offset: 2px;
102
61
  --focus-ring-color: #22d3ee;
103
-
104
- /* Layer 1 backfill (preserves current visual output, see themes/_contract.md) */
105
- /* Density axis spacing scale */
62
+ --shadow-main: 0 2px 8px rgba(34, 211, 238, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
63
+ --shadow-sm: 0 1px 4px rgba(34, 211, 238, 0.08);
64
+ --shadow-lg: 0 6px 20px rgba(34, 211, 238, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06);
65
+ --shadow-inner: inset 0 1px 3px rgba(34, 211, 238, 0.06);
66
+ --shadow-none: none;
67
+ --shadow-hover: 0 6px 24px rgba(34, 211, 238, 0.16), 0 2px 8px rgba(244, 114, 182, 0.06);
68
+ --shadow-active: 0 1px 4px rgba(34, 211, 238, 0.1);
106
69
  --space-0: 0px;
107
70
  --space-1: 4px;
108
71
  --space-2: 8px;
@@ -116,7 +79,6 @@
116
79
  --space-10: 40px;
117
80
  --space-11: 44px;
118
81
  --space-12: 48px;
119
- /* Density axis — per-element heights */
120
82
  --button-height-sm: 28px;
121
83
  --button-height-md: 36px;
122
84
  --button-height-lg: 44px;
@@ -126,17 +88,14 @@
126
88
  --row-height-compact: 32px;
127
89
  --row-height-normal: 40px;
128
90
  --row-height-spacious: 48px;
129
- /* Density axis — per-element padding */
130
91
  --card-padding-sm: 12px;
131
92
  --card-padding-md: 16px;
132
93
  --card-padding-lg: 24px;
133
94
  --dialog-padding: 24px;
134
95
  --section-gap: 32px;
135
- /* Type axis — family triplet (aliases existing --font-family for backward compat) */
136
96
  --font-family-display: var(--font-family);
137
97
  --font-family-body: var(--font-family);
138
98
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
139
- /* Type axis — size scale */
140
99
  --text-xs: 12px;
141
100
  --leading-xs: 16px;
142
101
  --text-sm: 14px;
@@ -157,7 +116,6 @@
157
116
  --leading-display-1: 52px;
158
117
  --text-display-2: 60px;
159
118
  --leading-display-2: 64px;
160
- /* Type axis — intent mapping */
161
119
  --intent-heading-major-size: var(--text-2xl);
162
120
  --intent-heading-major-weight: var(--font-weight-bold);
163
121
  --intent-heading-major-leading: var(--leading-2xl);
@@ -179,81 +137,41 @@
179
137
  --intent-numeric-size: var(--text-sm);
180
138
  --intent-numeric-weight: var(--font-weight-medium);
181
139
  --intent-numeric-leading: var(--leading-sm);
182
- /* Motion axis — duration palette */
183
140
  --duration-instant: 0ms;
184
141
  --duration-fast: var(--transition-fast);
185
142
  --duration-normal: var(--transition-normal);
186
143
  --duration-slow: var(--transition-slow);
187
144
  --duration-dramatic: 600ms;
188
- /* Motion axis — easing palette */
189
145
  --easing-linear: linear;
190
146
  --easing-standard: var(--transition-timing);
191
147
  --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
192
148
  --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
193
- /* Iconography axis */
194
149
  --icon-family: lucide;
150
+ --icon-stroke-width: 2.0;
195
151
  --icon-default-size: 16px;
196
- /* Elevation axis — per-layer mapping */
197
152
  --elevation-card: var(--shadow-sm);
198
153
  --elevation-popover: var(--shadow-main);
199
154
  --elevation-dialog: var(--shadow-lg);
200
155
  --elevation-toast: var(--shadow-main);
201
- /* Geometry axis — radius rhythm with intent */
202
156
  --radius-container: var(--radius-md);
203
157
  --radius-interactive: var(--radius-md);
204
158
  --radius-pill: var(--radius-full);
205
- /* Geometry axis — border-width rhythm */
206
159
  --border-hairline: 1px;
207
160
  --border-standard: var(--border-width);
208
161
  --border-heavy: var(--border-width-thick);
209
162
  }
210
163
 
211
- /* ==========================================================================
212
- * DARK MODE
213
- * ========================================================================== */
214
164
  [data-theme="neon-dark"] {
215
- /* Shadows - NEON GLOW effect */
216
- --shadow-main:
217
- 0 0 12px rgba(34, 211, 238, 0.3), 0 4px 14px rgba(0, 0, 0, 0.4);
218
- --shadow-sm:
219
- 0 0 6px rgba(34, 211, 238, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3);
220
- --shadow-lg:
221
- 0 0 24px rgba(34, 211, 238, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5);
222
- --shadow-inner: inset 0 0 8px rgba(34, 211, 238, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.3);
223
- --shadow-none: none;
224
- --shadow-hover:
225
- 0 0 20px rgba(34, 211, 238, 0.5), 0 0 40px rgba(244, 114, 182, 0.2);
226
- --shadow-active:
227
- 0 0 8px rgba(34, 211, 238, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
228
-
229
- /* Border radius - Sharp, tech aesthetic */
230
- --radius-none: 0px;
231
- --radius-sm: 2px;
232
- --radius-md: 6px;
233
- --radius-lg: 10px;
234
- --radius-xl: 6px;
235
- --radius-full: 9999px;
236
-
237
- /* Border width - Thick outlined look */
238
- --border-width: 2px;
239
- --border-width-thin: 1px;
240
- --border-width-thick: 3px;
241
-
242
- /* Colors - Cyberpunk dark */
243
165
  --color-primary: #22d3ee;
244
166
  --color-primary-hover: #06b6d4;
245
167
  --color-primary-foreground: #042f2e;
246
-
247
168
  --color-secondary: #0f172a;
248
169
  --color-secondary-hover: #1e293b;
249
170
  --color-secondary-foreground: #e2e8f0;
250
-
251
171
  --color-accent: #f472b6;
252
172
  --color-accent-foreground: #4a044e;
253
-
254
173
  --color-muted: #1e293b;
255
174
  --color-muted-foreground: #67e8f9;
256
-
257
175
  --color-background: #020617;
258
176
  --color-foreground: #e2e8f0;
259
177
  --color-card: #0f172a;
@@ -262,8 +180,6 @@
262
180
  --color-border: rgba(34, 211, 238, 0.3);
263
181
  --color-input: rgba(34, 211, 238, 0.35);
264
182
  --color-ring: #22d3ee;
265
-
266
- /* Semantic colors - Neon-bright for dark mode */
267
183
  --color-error: #ff6b6b;
268
184
  --color-error-foreground: #000000;
269
185
  --color-success: #4ade80;
@@ -272,40 +188,41 @@
272
188
  --color-warning-foreground: #000000;
273
189
  --color-info: #38bdf8;
274
190
  --color-info-foreground: #000000;
275
-
276
- /* Typography - Wide, tech */
277
- --font-family:
278
- "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
191
+ --radius-none: 0px;
192
+ --radius-sm: 2px;
193
+ --radius-md: 6px;
194
+ --radius-lg: 10px;
195
+ --radius-xl: 6px;
196
+ --radius-full: 9999px;
197
+ --border-width: 2px;
198
+ --border-width-thin: 1px;
199
+ --border-width-thick: 3px;
200
+ --font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
279
201
  --font-weight-normal: 500;
280
202
  --font-weight-medium: 600;
281
203
  --font-weight-bold: 800;
282
204
  --letter-spacing: 0.05em;
283
205
  --line-height: 1.5;
284
-
285
- /* Icon styling */
286
- --icon-stroke-width: 2.0;
287
206
  --icon-color: #22d3ee;
288
-
289
- /* Transitions - Instant, digital */
290
207
  --transition-fast: 50ms;
291
208
  --transition-normal: 100ms;
292
209
  --transition-slow: 150ms;
293
210
  --transition-timing: linear;
294
-
295
- /* Hover/Active transforms - Glow comes from shadow, not movement */
296
211
  --hover-scale: 1.0;
297
212
  --hover-translate-y: 0;
298
213
  --hover-translate-x: 0;
299
214
  --active-scale: 0.98;
300
215
  --active-translate-y: 0;
301
-
302
- /* Focus ring */
303
216
  --focus-ring-width: 2px;
304
217
  --focus-ring-offset: 2px;
305
218
  --focus-ring-color: #22d3ee;
306
-
307
- /* Layer 1 backfill (preserves current visual output, see themes/_contract.md) */
308
- /* Density axis spacing scale */
219
+ --shadow-main: 0 0 12px rgba(34, 211, 238, 0.3), 0 4px 14px rgba(0, 0, 0, 0.4);
220
+ --shadow-sm: 0 0 6px rgba(34, 211, 238, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3);
221
+ --shadow-lg: 0 0 24px rgba(34, 211, 238, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5);
222
+ --shadow-inner: inset 0 0 8px rgba(34, 211, 238, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.3);
223
+ --shadow-none: none;
224
+ --shadow-hover: 0 0 20px rgba(34, 211, 238, 0.5), 0 0 40px rgba(244, 114, 182, 0.2);
225
+ --shadow-active: 0 0 8px rgba(34, 211, 238, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
309
226
  --space-0: 0px;
310
227
  --space-1: 4px;
311
228
  --space-2: 8px;
@@ -319,7 +236,6 @@
319
236
  --space-10: 40px;
320
237
  --space-11: 44px;
321
238
  --space-12: 48px;
322
- /* Density axis — per-element heights */
323
239
  --button-height-sm: 28px;
324
240
  --button-height-md: 36px;
325
241
  --button-height-lg: 44px;
@@ -329,17 +245,14 @@
329
245
  --row-height-compact: 32px;
330
246
  --row-height-normal: 40px;
331
247
  --row-height-spacious: 48px;
332
- /* Density axis — per-element padding */
333
248
  --card-padding-sm: 12px;
334
249
  --card-padding-md: 16px;
335
250
  --card-padding-lg: 24px;
336
251
  --dialog-padding: 24px;
337
252
  --section-gap: 32px;
338
- /* Type axis — family triplet (aliases existing --font-family for backward compat) */
339
253
  --font-family-display: var(--font-family);
340
254
  --font-family-body: var(--font-family);
341
255
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
342
- /* Type axis — size scale */
343
256
  --text-xs: 12px;
344
257
  --leading-xs: 16px;
345
258
  --text-sm: 14px;
@@ -360,7 +273,6 @@
360
273
  --leading-display-1: 52px;
361
274
  --text-display-2: 60px;
362
275
  --leading-display-2: 64px;
363
- /* Type axis — intent mapping */
364
276
  --intent-heading-major-size: var(--text-2xl);
365
277
  --intent-heading-major-weight: var(--font-weight-bold);
366
278
  --intent-heading-major-leading: var(--leading-2xl);
@@ -382,30 +294,25 @@
382
294
  --intent-numeric-size: var(--text-sm);
383
295
  --intent-numeric-weight: var(--font-weight-medium);
384
296
  --intent-numeric-leading: var(--leading-sm);
385
- /* Motion axis — duration palette */
386
297
  --duration-instant: 0ms;
387
298
  --duration-fast: var(--transition-fast);
388
299
  --duration-normal: var(--transition-normal);
389
300
  --duration-slow: var(--transition-slow);
390
301
  --duration-dramatic: 600ms;
391
- /* Motion axis — easing palette */
392
302
  --easing-linear: linear;
393
303
  --easing-standard: var(--transition-timing);
394
304
  --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
395
305
  --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
396
- /* Iconography axis */
397
306
  --icon-family: lucide;
307
+ --icon-stroke-width: 2.0;
398
308
  --icon-default-size: 16px;
399
- /* Elevation axis — per-layer mapping */
400
309
  --elevation-card: var(--shadow-sm);
401
310
  --elevation-popover: var(--shadow-main);
402
311
  --elevation-dialog: var(--shadow-lg);
403
312
  --elevation-toast: var(--shadow-main);
404
- /* Geometry axis — radius rhythm with intent */
405
313
  --radius-container: var(--radius-md);
406
314
  --radius-interactive: var(--radius-md);
407
315
  --radius-pill: var(--radius-full);
408
- /* Geometry axis — border-width rhythm */
409
316
  --border-hairline: 1px;
410
317
  --border-standard: var(--border-width);
411
318
  --border-heavy: var(--border-width-thick);