@almadar/ui 6.29.0 → 6.31.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
@@ -1,51 +1,20 @@
1
1
  /**
2
- * Terminal Theme
3
- *
4
- * Hyper-compact brutalist CRT/Bloomberg terminal aesthetic pure mono, 3pt rhythm, sharp 0px corners, zero shadows.
5
- * Light = white paper with phosphor-green primary; dark = black CRT with phosphor-green glow body text.
2
+ * GENERATED — do not edit by hand.
3
+ * Source: packages/almadar-core/themes/terminal.json
4
+ * Regenerate: node tools/almadar-pattern-sync/dist/index.js themes (or `almadar-sync themes`)
6
5
  */
7
6
 
8
- /* ==========================================================================
9
- * LIGHT MODE
10
- * ========================================================================== */
11
7
  [data-theme="terminal-light"] {
12
- /* Shadows - NONE. Hierarchy is borders + color, never elevation. */
13
- --shadow-none: none;
14
- --shadow-sm: none;
15
- --shadow-main: none;
16
- --shadow-lg: none;
17
- --shadow-inner: none;
18
- --shadow-hover: none;
19
- --shadow-active: none;
20
-
21
- /* Border radius - SHARP. 0px everywhere except --radius-full (avatars/dots). */
22
- --radius-none: 0px;
23
- --radius-sm: 0px;
24
- --radius-md: 0px;
25
- --radius-lg: 0px;
26
- --radius-xl: 0px;
27
- --radius-full: 9999px;
28
-
29
- /* Border width - Heavy mechanical rules */
30
- --border-width: 2px;
31
- --border-width-thin: 1px;
32
- --border-width-thick: 3px;
33
-
34
- /* Colors - White paper, pure black ink, phosphor green primary, single amber accent */
35
8
  --color-primary: #00ff66;
36
9
  --color-primary-hover: #00cc52;
37
10
  --color-primary-foreground: #000000;
38
-
39
11
  --color-secondary: #000000;
40
12
  --color-secondary-hover: #1a1a1a;
41
13
  --color-secondary-foreground: #ffffff;
42
-
43
14
  --color-accent: #ffb300;
44
15
  --color-accent-foreground: #000000;
45
-
46
16
  --color-muted: #f2f2f2;
47
17
  --color-muted-foreground: #555555;
48
-
49
18
  --color-background: #ffffff;
50
19
  --color-foreground: #000000;
51
20
  --color-card: #ffffff;
@@ -54,16 +23,12 @@
54
23
  --color-border: #000000;
55
24
  --color-input: #000000;
56
25
  --color-ring: #00ff66;
57
-
58
- /* Optional table tokens */
59
26
  --color-table-header: #000000;
60
27
  --color-table-border: #000000;
61
28
  --color-table-row-hover: #f2f2f2;
62
29
  --color-surface-hover: #e8e8e8;
63
30
  --color-border-hover: #000000;
64
31
  --color-placeholder: #777777;
65
-
66
- /* Semantic colors - flat CRT signal palette */
67
32
  --color-error: #e6002e;
68
33
  --color-error-foreground: #ffffff;
69
34
  --color-success: #00cc52;
@@ -72,41 +37,41 @@
72
37
  --color-warning-foreground: #000000;
73
38
  --color-info: #00aaff;
74
39
  --color-info-foreground: #000000;
75
-
76
- /* Typography - DENSE MONO. Every family slot is mono. */
40
+ --radius-none: 0px;
41
+ --radius-sm: 0px;
42
+ --radius-md: 0px;
43
+ --radius-lg: 0px;
44
+ --radius-xl: 0px;
45
+ --radius-full: 9999px;
46
+ --border-width: 2px;
47
+ --border-width-thin: 1px;
48
+ --border-width-thick: 3px;
77
49
  --font-family: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
78
- --font-family-display: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
79
- --font-family-body: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
80
- --font-family-mono: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
81
50
  --font-weight-normal: 400;
82
51
  --font-weight-medium: 500;
83
52
  --font-weight-bold: 700;
84
53
  --letter-spacing: 0;
85
54
  --line-height: 1.35;
86
-
87
- /* Icon styling - phosphor-fill, no stroke (filled glyphs) */
88
- --icon-stroke-width: 0;
89
55
  --icon-color: currentColor;
90
-
91
- /* Transitions - MECHANICAL. Linear easings, sub-150ms only. */
92
56
  --transition-fast: 60ms;
93
57
  --transition-normal: 100ms;
94
58
  --transition-slow: 140ms;
95
59
  --transition-timing: linear;
96
-
97
- /* Hover/Active transforms - color shift only, no motion */
98
60
  --hover-scale: 1;
99
61
  --hover-translate-y: 0;
100
62
  --hover-translate-x: 0;
101
63
  --active-scale: 1;
102
64
  --active-translate-y: 0;
103
-
104
- /* Focus ring */
105
65
  --focus-ring-width: 2px;
106
66
  --focus-ring-offset: 0px;
107
67
  --focus-ring-color: #00ff66;
108
-
109
- /* --- Layer 1: Density axis --- */
68
+ --shadow-none: none;
69
+ --shadow-sm: none;
70
+ --shadow-main: none;
71
+ --shadow-lg: none;
72
+ --shadow-inner: none;
73
+ --shadow-hover: none;
74
+ --shadow-active: none;
110
75
  --space-0: 0px;
111
76
  --space-1: 3px;
112
77
  --space-2: 6px;
@@ -120,7 +85,6 @@
120
85
  --space-10: 30px;
121
86
  --space-11: 33px;
122
87
  --space-12: 36px;
123
-
124
88
  --button-height-sm: 20px;
125
89
  --button-height-md: 24px;
126
90
  --button-height-lg: 30px;
@@ -130,36 +94,34 @@
130
94
  --row-height-compact: 22px;
131
95
  --row-height-normal: 28px;
132
96
  --row-height-spacious: 34px;
133
-
134
97
  --card-padding-sm: 6px;
135
98
  --card-padding-md: 8px;
136
99
  --card-padding-lg: 12px;
137
100
  --dialog-padding: 12px;
138
101
  --section-gap: 16px;
139
-
140
- /* --- Layer 1: Type axis --- */
102
+ --font-family-display: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
103
+ --font-family-body: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
104
+ --font-family-mono: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
141
105
  --text-xs: 11px;
142
- --text-sm: 12px;
143
- --text-base: 13px;
144
- --text-lg: 14px;
145
- --text-xl: 15px;
146
- --text-2xl: 16px;
147
- --text-3xl: 18px;
148
- --text-4xl: 20px;
149
- --text-display-1: 24px;
150
- --text-display-2: 28px;
151
-
152
106
  --leading-xs: 14px;
107
+ --text-sm: 12px;
153
108
  --leading-sm: 16px;
109
+ --text-base: 13px;
154
110
  --leading-base: 17px;
111
+ --text-lg: 14px;
155
112
  --leading-lg: 18px;
113
+ --text-xl: 15px;
156
114
  --leading-xl: 20px;
115
+ --text-2xl: 16px;
157
116
  --leading-2xl: 20px;
117
+ --text-3xl: 18px;
158
118
  --leading-3xl: 22px;
119
+ --text-4xl: 20px;
159
120
  --leading-4xl: 24px;
121
+ --text-display-1: 24px;
160
122
  --leading-display-1: 28px;
123
+ --text-display-2: 28px;
161
124
  --leading-display-2: 32px;
162
-
163
125
  --intent-heading-major-size: var(--text-2xl);
164
126
  --intent-heading-major-weight: var(--font-weight-bold);
165
127
  --intent-heading-major-leading: var(--leading-2xl);
@@ -181,30 +143,22 @@
181
143
  --intent-numeric-size: var(--text-sm);
182
144
  --intent-numeric-weight: var(--font-weight-medium);
183
145
  --intent-numeric-leading: var(--leading-sm);
184
-
185
- /* --- Layer 1: Motion axis - all linear --- */
186
146
  --duration-instant: 0ms;
187
147
  --duration-fast: var(--transition-fast);
188
148
  --duration-normal: var(--transition-normal);
189
149
  --duration-slow: var(--transition-slow);
190
150
  --duration-dramatic: 200ms;
191
-
192
151
  --easing-linear: linear;
193
152
  --easing-standard: linear;
194
153
  --easing-emphasized: linear;
195
154
  --easing-spring: linear;
196
-
197
- /* --- Layer 1: Iconography axis --- */
198
155
  --icon-family: phosphor-fill;
156
+ --icon-stroke-width: 0;
199
157
  --icon-default-size: 14px;
200
-
201
- /* --- Layer 1: Elevation axis - all none --- */
202
158
  --elevation-card: none;
203
159
  --elevation-popover: none;
204
160
  --elevation-dialog: none;
205
161
  --elevation-toast: none;
206
-
207
- /* --- Layer 1: Geometry axis - sharp pill enforced --- */
208
162
  --radius-container: 0px;
209
163
  --radius-interactive: 0px;
210
164
  --radius-pill: 0px;
@@ -213,47 +167,17 @@
213
167
  --border-heavy: var(--border-width-thick);
214
168
  }
215
169
 
216
- /* ==========================================================================
217
- * DARK MODE
218
- * ========================================================================== */
219
170
  [data-theme="terminal-dark"] {
220
- /* Shadows - NONE. CRT screens don't cast shadows. */
221
- --shadow-none: none;
222
- --shadow-sm: none;
223
- --shadow-main: none;
224
- --shadow-lg: none;
225
- --shadow-inner: none;
226
- --shadow-hover: none;
227
- --shadow-active: none;
228
-
229
- /* Border radius - SHARP. */
230
- --radius-none: 0px;
231
- --radius-sm: 0px;
232
- --radius-md: 0px;
233
- --radius-lg: 0px;
234
- --radius-xl: 0px;
235
- --radius-full: 9999px;
236
-
237
- /* Border width */
238
- --border-width: 2px;
239
- --border-width-thin: 1px;
240
- --border-width-thick: 3px;
241
-
242
- /* Colors - Pure black CRT, phosphor green glow, amber accent */
243
171
  --color-primary: #00ff66;
244
172
  --color-primary-hover: #33ff85;
245
173
  --color-primary-foreground: #000000;
246
-
247
174
  --color-secondary: #1a1a1a;
248
175
  --color-secondary-hover: #262626;
249
176
  --color-secondary-foreground: #00ff66;
250
-
251
177
  --color-accent: #ffb300;
252
178
  --color-accent-foreground: #000000;
253
-
254
179
  --color-muted: #0d0d0d;
255
180
  --color-muted-foreground: #888888;
256
-
257
181
  --color-background: #000000;
258
182
  --color-foreground: #aaffaa;
259
183
  --color-card: #050505;
@@ -262,16 +186,12 @@
262
186
  --color-border: #00ff66;
263
187
  --color-input: #00ff66;
264
188
  --color-ring: #00ff66;
265
-
266
- /* Optional table tokens */
267
189
  --color-table-header: #00ff66;
268
190
  --color-table-border: #00ff66;
269
191
  --color-table-row-hover: #0d0d0d;
270
192
  --color-surface-hover: #1a1a1a;
271
193
  --color-border-hover: #33ff85;
272
194
  --color-placeholder: #557755;
273
-
274
- /* Semantic colors - bright CRT signal palette */
275
195
  --color-error: #ff3355;
276
196
  --color-error-foreground: #000000;
277
197
  --color-success: #00ff66;
@@ -280,41 +200,41 @@
280
200
  --color-warning-foreground: #000000;
281
201
  --color-info: #00ccff;
282
202
  --color-info-foreground: #000000;
283
-
284
- /* Typography */
203
+ --radius-none: 0px;
204
+ --radius-sm: 0px;
205
+ --radius-md: 0px;
206
+ --radius-lg: 0px;
207
+ --radius-xl: 0px;
208
+ --radius-full: 9999px;
209
+ --border-width: 2px;
210
+ --border-width-thin: 1px;
211
+ --border-width-thick: 3px;
285
212
  --font-family: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
286
- --font-family-display: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
287
- --font-family-body: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
288
- --font-family-mono: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
289
213
  --font-weight-normal: 400;
290
214
  --font-weight-medium: 500;
291
215
  --font-weight-bold: 700;
292
216
  --letter-spacing: 0;
293
217
  --line-height: 1.35;
294
-
295
- /* Icon styling - phosphor-fill */
296
- --icon-stroke-width: 0;
297
218
  --icon-color: currentColor;
298
-
299
- /* Transitions */
300
219
  --transition-fast: 60ms;
301
220
  --transition-normal: 100ms;
302
221
  --transition-slow: 140ms;
303
222
  --transition-timing: linear;
304
-
305
- /* Hover/Active transforms - color shift only */
306
223
  --hover-scale: 1;
307
224
  --hover-translate-y: 0;
308
225
  --hover-translate-x: 0;
309
226
  --active-scale: 1;
310
227
  --active-translate-y: 0;
311
-
312
- /* Focus ring */
313
228
  --focus-ring-width: 2px;
314
229
  --focus-ring-offset: 0px;
315
230
  --focus-ring-color: #00ff66;
316
-
317
- /* --- Layer 1: Density axis --- */
231
+ --shadow-none: none;
232
+ --shadow-sm: none;
233
+ --shadow-main: none;
234
+ --shadow-lg: none;
235
+ --shadow-inner: none;
236
+ --shadow-hover: none;
237
+ --shadow-active: none;
318
238
  --space-0: 0px;
319
239
  --space-1: 3px;
320
240
  --space-2: 6px;
@@ -328,7 +248,6 @@
328
248
  --space-10: 30px;
329
249
  --space-11: 33px;
330
250
  --space-12: 36px;
331
-
332
251
  --button-height-sm: 20px;
333
252
  --button-height-md: 24px;
334
253
  --button-height-lg: 30px;
@@ -338,36 +257,34 @@
338
257
  --row-height-compact: 22px;
339
258
  --row-height-normal: 28px;
340
259
  --row-height-spacious: 34px;
341
-
342
260
  --card-padding-sm: 6px;
343
261
  --card-padding-md: 8px;
344
262
  --card-padding-lg: 12px;
345
263
  --dialog-padding: 12px;
346
264
  --section-gap: 16px;
347
-
348
- /* --- Layer 1: Type axis --- */
265
+ --font-family-display: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
266
+ --font-family-body: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
267
+ --font-family-mono: "JetBrains Mono", "Fira Code", "SF Mono", ui-monospace;
349
268
  --text-xs: 11px;
350
- --text-sm: 12px;
351
- --text-base: 13px;
352
- --text-lg: 14px;
353
- --text-xl: 15px;
354
- --text-2xl: 16px;
355
- --text-3xl: 18px;
356
- --text-4xl: 20px;
357
- --text-display-1: 24px;
358
- --text-display-2: 28px;
359
-
360
269
  --leading-xs: 14px;
270
+ --text-sm: 12px;
361
271
  --leading-sm: 16px;
272
+ --text-base: 13px;
362
273
  --leading-base: 17px;
274
+ --text-lg: 14px;
363
275
  --leading-lg: 18px;
276
+ --text-xl: 15px;
364
277
  --leading-xl: 20px;
278
+ --text-2xl: 16px;
365
279
  --leading-2xl: 20px;
280
+ --text-3xl: 18px;
366
281
  --leading-3xl: 22px;
282
+ --text-4xl: 20px;
367
283
  --leading-4xl: 24px;
284
+ --text-display-1: 24px;
368
285
  --leading-display-1: 28px;
286
+ --text-display-2: 28px;
369
287
  --leading-display-2: 32px;
370
-
371
288
  --intent-heading-major-size: var(--text-2xl);
372
289
  --intent-heading-major-weight: var(--font-weight-bold);
373
290
  --intent-heading-major-leading: var(--leading-2xl);
@@ -389,30 +306,22 @@
389
306
  --intent-numeric-size: var(--text-sm);
390
307
  --intent-numeric-weight: var(--font-weight-medium);
391
308
  --intent-numeric-leading: var(--leading-sm);
392
-
393
- /* --- Layer 1: Motion axis - all linear --- */
394
309
  --duration-instant: 0ms;
395
310
  --duration-fast: var(--transition-fast);
396
311
  --duration-normal: var(--transition-normal);
397
312
  --duration-slow: var(--transition-slow);
398
313
  --duration-dramatic: 200ms;
399
-
400
314
  --easing-linear: linear;
401
315
  --easing-standard: linear;
402
316
  --easing-emphasized: linear;
403
317
  --easing-spring: linear;
404
-
405
- /* --- Layer 1: Iconography axis --- */
406
318
  --icon-family: phosphor-fill;
319
+ --icon-stroke-width: 0;
407
320
  --icon-default-size: 14px;
408
-
409
- /* --- Layer 1: Elevation axis - all none --- */
410
321
  --elevation-card: none;
411
322
  --elevation-popover: none;
412
323
  --elevation-dialog: none;
413
324
  --elevation-toast: none;
414
-
415
- /* --- Layer 1: Geometry axis - sharp pill enforced --- */
416
325
  --radius-container: 0px;
417
326
  --radius-interactive: 0px;
418
327
  --radius-pill: 0px;