@almadar/core 10.97.0 → 10.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/builders.d.ts +5 -4
- package/dist/builders.js +62 -34
- package/dist/builders.js.map +1 -1
- package/dist/bus-D69s_77B.d.ts +588 -0
- package/dist/domain-Ds_7wZIL.d.ts +16213 -0
- package/dist/{effect-Bw8T4qh5.d.ts → effect-Hm_QDaSI.d.ts} +65 -4
- package/dist/{entityAccess-DfoXs9mc.d.ts → entityAccess-DdcKps16.d.ts} +3 -3
- package/dist/{expression-WfTp2arD.d.ts → expression-DRwzVnMu.d.ts} +5 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js +36 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +5 -4
- package/dist/factory-runtime/index.js +189 -34
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +45 -0
- package/dist/fixtures.js +704 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/{index-H0bOi9oP.d.ts → index-DPdJPQZe.d.ts} +8 -375
- package/dist/index.d.ts +19 -15
- package/dist/index.js +9112 -45
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +6 -5
- package/dist/mock/index.js +14 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +44 -9
- package/dist/patterns/index.js +29 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +15 -2
- package/dist/patterns/registry.json +15 -2
- package/dist/{schema-DPpES4qj.d.ts → schema-TqLV2wlK.d.ts} +411 -21713
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/themes/index.d.ts +19 -0
- package/dist/themes/index.js +9251 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/{trait-DXXRrRMP.d.ts → trait-YlNXc4H3.d.ts} +62 -26
- package/dist/types/index.d.ts +8 -6
- package/dist/types/index.js +236 -41
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BMaTUGyk.d.ts → types-Ug92oza4.d.ts} +2 -2
- package/fixtures/events-wire/cascade-emitted-events/request.json +9 -0
- package/fixtures/events-wire/cascade-emitted-events/response.json +30 -0
- package/fixtures/events-wire/client-effects-by-trait/request.json +4 -0
- package/fixtures/events-wire/client-effects-by-trait/response.json +52 -0
- package/fixtures/events-wire/effect-results/request.json +9 -0
- package/fixtures/events-wire/effect-results/response.json +42 -0
- package/fixtures/events-wire/effect-results-every-kind/request.json +9 -0
- package/fixtures/events-wire/effect-results-every-kind/response.json +70 -0
- package/fixtures/events-wire/guard-rejected/request.json +6 -0
- package/fixtures/events-wire/guard-rejected/response.json +11 -0
- package/fixtures/events-wire/live-push/live-push.json +12 -0
- package/fixtures/events-wire/live-push/request.json +9 -0
- package/fixtures/events-wire/live-push/response.json +33 -0
- package/fixtures/events-wire/navigate-1/request.json +5 -0
- package/fixtures/events-wire/navigate-1/response.json +16 -0
- package/fixtures/events-wire/navigate-2/request.json +8 -0
- package/fixtures/events-wire/navigate-2/response.json +19 -0
- package/fixtures/events-wire/navigate-3/request.json +8 -0
- package/fixtures/events-wire/navigate-3/response.json +22 -0
- package/fixtures/events-wire/navigate-back/request.json +5 -0
- package/fixtures/events-wire/navigate-back/response.json +15 -0
- package/fixtures/events-wire/render-ui-3/request.json +5 -0
- package/fixtures/events-wire/render-ui-3/response.json +20 -0
- package/fixtures/events-wire/render-ui-4/request.json +5 -0
- package/fixtures/events-wire/render-ui-4/response.json +41 -0
- package/fixtures/events-wire/render-ui-5/request.json +9 -0
- package/fixtures/events-wire/render-ui-5/response.json +52 -0
- package/fixtures/events-wire/render-ui-clear/request.json +5 -0
- package/fixtures/events-wire/render-ui-clear/response.json +27 -0
- package/fixtures/events-wire/sse-stream/request.json +9 -0
- package/fixtures/events-wire/sse-stream/response.json +79 -0
- package/fixtures/events-wire/sse-stream/stream.json +131 -0
- package/fixtures/events-wire/stateless-traits/request.json +27 -0
- package/fixtures/events-wire/stateless-traits/response.json +15 -0
- package/fixtures/theme-tokens/every-key.json +43 -0
- package/package.json +18 -3
- package/themes/almadar-website.json +207 -0
- package/themes/almadar.json +203 -0
- package/themes/atelier.json +459 -0
- package/themes/bloomberg-dense.json +459 -0
- package/themes/clay.json +445 -0
- package/themes/comic.json +457 -0
- package/themes/corporate.json +445 -0
- package/themes/game-adventure.json +229 -0
- package/themes/game-rpg.json +230 -0
- package/themes/game-sci-fi.json +229 -0
- package/themes/game-ui-pack.json +230 -0
- package/themes/gazette.json +445 -0
- package/themes/glass.json +445 -0
- package/themes/kiosk.json +441 -0
- package/themes/linear-clean.json +459 -0
- package/themes/minimalist.json +445 -0
- package/themes/neon.json +445 -0
- package/themes/notion-editorial.json +459 -0
- package/themes/prism.json +203 -0
- package/themes/retro.json +445 -0
- package/themes/terminal.json +457 -0
- package/themes/trait-wars.json +493 -0
- package/themes/wireframe.json +445 -0
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "notion-editorial",
|
|
3
|
+
"tokens": {
|
|
4
|
+
"density": {
|
|
5
|
+
"spacing": {
|
|
6
|
+
"space0": "0px",
|
|
7
|
+
"space1": "4px",
|
|
8
|
+
"space2": "8px",
|
|
9
|
+
"space3": "16px",
|
|
10
|
+
"space4": "24px",
|
|
11
|
+
"space5": "32px",
|
|
12
|
+
"space6": "40px",
|
|
13
|
+
"space7": "48px",
|
|
14
|
+
"space8": "56px",
|
|
15
|
+
"space9": "64px",
|
|
16
|
+
"space10": "72px",
|
|
17
|
+
"space11": "80px",
|
|
18
|
+
"space12": "96px"
|
|
19
|
+
},
|
|
20
|
+
"buttonHeightSm": "36px",
|
|
21
|
+
"buttonHeightMd": "44px",
|
|
22
|
+
"buttonHeightLg": "52px",
|
|
23
|
+
"inputHeightSm": "36px",
|
|
24
|
+
"inputHeightMd": "44px",
|
|
25
|
+
"inputHeightLg": "52px",
|
|
26
|
+
"rowHeightCompact": "48px",
|
|
27
|
+
"rowHeightNormal": "56px",
|
|
28
|
+
"rowHeightSpacious": "72px",
|
|
29
|
+
"cardPaddingSm": "24px",
|
|
30
|
+
"cardPaddingMd": "32px",
|
|
31
|
+
"cardPaddingLg": "48px",
|
|
32
|
+
"dialogPadding": "48px",
|
|
33
|
+
"sectionGap": "80px"
|
|
34
|
+
},
|
|
35
|
+
"typeScale": {
|
|
36
|
+
"displayFamily": "\"Fraunces\", \"Iowan Old Style\", Georgia, \"Times New Roman\", serif",
|
|
37
|
+
"bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
38
|
+
"monoFamily": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
39
|
+
"scale": {
|
|
40
|
+
"xs": {
|
|
41
|
+
"size": "13px",
|
|
42
|
+
"lineHeight": "22px"
|
|
43
|
+
},
|
|
44
|
+
"sm": {
|
|
45
|
+
"size": "15px",
|
|
46
|
+
"lineHeight": "26px"
|
|
47
|
+
},
|
|
48
|
+
"base": {
|
|
49
|
+
"size": "17px",
|
|
50
|
+
"lineHeight": "30px"
|
|
51
|
+
},
|
|
52
|
+
"lg": {
|
|
53
|
+
"size": "21px",
|
|
54
|
+
"lineHeight": "34px"
|
|
55
|
+
},
|
|
56
|
+
"xl": {
|
|
57
|
+
"size": "26px",
|
|
58
|
+
"lineHeight": "38px"
|
|
59
|
+
},
|
|
60
|
+
"2xl": {
|
|
61
|
+
"size": "32px",
|
|
62
|
+
"lineHeight": "44px"
|
|
63
|
+
},
|
|
64
|
+
"3xl": {
|
|
65
|
+
"size": "42px",
|
|
66
|
+
"lineHeight": "52px"
|
|
67
|
+
},
|
|
68
|
+
"4xl": {
|
|
69
|
+
"size": "56px",
|
|
70
|
+
"lineHeight": "64px"
|
|
71
|
+
},
|
|
72
|
+
"display-1": {
|
|
73
|
+
"size": "72px",
|
|
74
|
+
"lineHeight": "80px"
|
|
75
|
+
},
|
|
76
|
+
"display-2": {
|
|
77
|
+
"size": "96px",
|
|
78
|
+
"lineHeight": "104px"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"intents": {
|
|
82
|
+
"headingMajor": {
|
|
83
|
+
"slot": "display",
|
|
84
|
+
"size": "3xl",
|
|
85
|
+
"weight": "bold"
|
|
86
|
+
},
|
|
87
|
+
"headingMinor": {
|
|
88
|
+
"slot": "display",
|
|
89
|
+
"size": "xl",
|
|
90
|
+
"weight": "bold"
|
|
91
|
+
},
|
|
92
|
+
"bodyEmphasis": {
|
|
93
|
+
"slot": "body",
|
|
94
|
+
"size": "base",
|
|
95
|
+
"weight": "medium"
|
|
96
|
+
},
|
|
97
|
+
"bodyDefault": {
|
|
98
|
+
"slot": "body",
|
|
99
|
+
"size": "base",
|
|
100
|
+
"weight": "normal"
|
|
101
|
+
},
|
|
102
|
+
"bodyQuiet": {
|
|
103
|
+
"slot": "body",
|
|
104
|
+
"size": "sm",
|
|
105
|
+
"weight": "normal"
|
|
106
|
+
},
|
|
107
|
+
"caption": {
|
|
108
|
+
"slot": "body",
|
|
109
|
+
"size": "xs",
|
|
110
|
+
"weight": "medium"
|
|
111
|
+
},
|
|
112
|
+
"numeric": {
|
|
113
|
+
"slot": "mono",
|
|
114
|
+
"size": "4xl",
|
|
115
|
+
"weight": "bold"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"motion": {
|
|
120
|
+
"durations": {
|
|
121
|
+
"instant": "0ms",
|
|
122
|
+
"fast": "200ms",
|
|
123
|
+
"normal": "350ms",
|
|
124
|
+
"slow": "500ms",
|
|
125
|
+
"dramatic": "700ms"
|
|
126
|
+
},
|
|
127
|
+
"easings": {
|
|
128
|
+
"linear": "linear",
|
|
129
|
+
"standard": "cubic-bezier(0.0, 0.0, 0.2, 1)",
|
|
130
|
+
"emphasized": "cubic-bezier(0.2, 0.0, 0.0, 1)",
|
|
131
|
+
"spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"iconography": {
|
|
135
|
+
"family": "phosphor-duotone",
|
|
136
|
+
"strokeWidth": "1.5",
|
|
137
|
+
"defaultSize": "20px"
|
|
138
|
+
},
|
|
139
|
+
"elevation": {
|
|
140
|
+
"cardElevation": "0 1px 2px rgba(25, 25, 25, 0.06)",
|
|
141
|
+
"popoverElevation": "0 4px 12px rgba(25, 25, 25, 0.10), 0 1px 2px rgba(25, 25, 25, 0.04)",
|
|
142
|
+
"dialogElevation": "0 24px 48px rgba(25, 25, 25, 0.18), 0 8px 16px rgba(25, 25, 25, 0.08)",
|
|
143
|
+
"toastElevation": "0 8px 24px rgba(25, 25, 25, 0.14), 0 2px 6px rgba(25, 25, 25, 0.06)"
|
|
144
|
+
},
|
|
145
|
+
"geometry": {
|
|
146
|
+
"radiusContainer": "14px",
|
|
147
|
+
"radiusInteractive": "10px",
|
|
148
|
+
"radiusPill": "9999px",
|
|
149
|
+
"borderHairline": "1px",
|
|
150
|
+
"borderStandard": "1px",
|
|
151
|
+
"borderHeavy": "1px"
|
|
152
|
+
},
|
|
153
|
+
"colors": {
|
|
154
|
+
"primary": "#c2410c",
|
|
155
|
+
"primary-hover": "#9a3412",
|
|
156
|
+
"primary-foreground": "#fefdf9",
|
|
157
|
+
"secondary": "#f4f1ea",
|
|
158
|
+
"secondary-hover": "#ebe7dc",
|
|
159
|
+
"secondary-foreground": "#191919",
|
|
160
|
+
"accent": "#d13f0a",
|
|
161
|
+
"accent-foreground": "#fefdf9",
|
|
162
|
+
"muted": "#f4f1ea",
|
|
163
|
+
"muted-foreground": "#6b6660",
|
|
164
|
+
"background": "#fefdf9",
|
|
165
|
+
"foreground": "#191919",
|
|
166
|
+
"card": "#ffffff",
|
|
167
|
+
"card-foreground": "#191919",
|
|
168
|
+
"surface": "#f9f6ef",
|
|
169
|
+
"border": "#e8e3d6",
|
|
170
|
+
"input": "#d8d2c2",
|
|
171
|
+
"ring": "#ff6b35",
|
|
172
|
+
"table-header": "#f4f1ea",
|
|
173
|
+
"table-border": "#e8e3d6",
|
|
174
|
+
"table-row-hover": "#f9f6ef",
|
|
175
|
+
"surface-hover": "#ebe7dc",
|
|
176
|
+
"border-hover": "#c8c1ad",
|
|
177
|
+
"placeholder": "#a39c8f",
|
|
178
|
+
"error": "#b42318",
|
|
179
|
+
"error-foreground": "#fefdf9",
|
|
180
|
+
"success": "#067647",
|
|
181
|
+
"success-foreground": "#fefdf9",
|
|
182
|
+
"warning": "#b54708",
|
|
183
|
+
"warning-foreground": "#fefdf9",
|
|
184
|
+
"info": "#1849a9",
|
|
185
|
+
"info-foreground": "#fefdf9"
|
|
186
|
+
},
|
|
187
|
+
"radii": {
|
|
188
|
+
"none": "0px",
|
|
189
|
+
"sm": "6px",
|
|
190
|
+
"md": "10px",
|
|
191
|
+
"lg": "14px",
|
|
192
|
+
"xl": "20px",
|
|
193
|
+
"full": "9999px"
|
|
194
|
+
},
|
|
195
|
+
"shadows": {
|
|
196
|
+
"none": "none",
|
|
197
|
+
"sm": "0 1px 2px rgba(25, 25, 25, 0.06)",
|
|
198
|
+
"main": "0 2px 6px rgba(25, 25, 25, 0.08), 0 1px 2px rgba(25, 25, 25, 0.04)",
|
|
199
|
+
"lg": "0 10px 24px rgba(25, 25, 25, 0.10), 0 4px 8px rgba(25, 25, 25, 0.06)",
|
|
200
|
+
"inner": "inset 0 1px 2px rgba(25, 25, 25, 0.06)",
|
|
201
|
+
"hover": "0 4px 12px rgba(25, 25, 25, 0.10)",
|
|
202
|
+
"active": "0 1px 2px rgba(25, 25, 25, 0.06)"
|
|
203
|
+
},
|
|
204
|
+
"typography": {
|
|
205
|
+
"border-width": "1px",
|
|
206
|
+
"border-width-thin": "1px",
|
|
207
|
+
"border-width-thick": "1px",
|
|
208
|
+
"font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
209
|
+
"font-weight-normal": "400",
|
|
210
|
+
"font-weight-medium": "500",
|
|
211
|
+
"font-weight-bold": "700",
|
|
212
|
+
"letter-spacing": "-0.005em",
|
|
213
|
+
"line-height": "1.7",
|
|
214
|
+
"intent-numeric-family": "var(--font-family-display)",
|
|
215
|
+
"icon-color": "currentColor",
|
|
216
|
+
"transition-fast": "200ms",
|
|
217
|
+
"transition-normal": "350ms",
|
|
218
|
+
"transition-slow": "500ms",
|
|
219
|
+
"transition-timing": "cubic-bezier(0.0, 0.0, 0.2, 1)",
|
|
220
|
+
"hover-scale": "1.02",
|
|
221
|
+
"hover-translate-y": "-2px",
|
|
222
|
+
"hover-translate-x": "0",
|
|
223
|
+
"active-scale": "0.98",
|
|
224
|
+
"active-translate-y": "0",
|
|
225
|
+
"focus-ring-width": "3px",
|
|
226
|
+
"focus-ring-offset": "2px",
|
|
227
|
+
"focus-ring-color": "#ff6b35"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"variants": {
|
|
231
|
+
"dark": {
|
|
232
|
+
"density": {
|
|
233
|
+
"spacing": {
|
|
234
|
+
"space0": "0px",
|
|
235
|
+
"space1": "4px",
|
|
236
|
+
"space2": "8px",
|
|
237
|
+
"space3": "16px",
|
|
238
|
+
"space4": "24px",
|
|
239
|
+
"space5": "32px",
|
|
240
|
+
"space6": "40px",
|
|
241
|
+
"space7": "48px",
|
|
242
|
+
"space8": "56px",
|
|
243
|
+
"space9": "64px",
|
|
244
|
+
"space10": "72px",
|
|
245
|
+
"space11": "80px",
|
|
246
|
+
"space12": "96px"
|
|
247
|
+
},
|
|
248
|
+
"buttonHeightSm": "36px",
|
|
249
|
+
"buttonHeightMd": "44px",
|
|
250
|
+
"buttonHeightLg": "52px",
|
|
251
|
+
"inputHeightSm": "36px",
|
|
252
|
+
"inputHeightMd": "44px",
|
|
253
|
+
"inputHeightLg": "52px",
|
|
254
|
+
"rowHeightCompact": "48px",
|
|
255
|
+
"rowHeightNormal": "56px",
|
|
256
|
+
"rowHeightSpacious": "72px",
|
|
257
|
+
"cardPaddingSm": "24px",
|
|
258
|
+
"cardPaddingMd": "32px",
|
|
259
|
+
"cardPaddingLg": "48px",
|
|
260
|
+
"dialogPadding": "48px",
|
|
261
|
+
"sectionGap": "80px"
|
|
262
|
+
},
|
|
263
|
+
"typeScale": {
|
|
264
|
+
"displayFamily": "\"Fraunces\", \"Iowan Old Style\", Georgia, \"Times New Roman\", serif",
|
|
265
|
+
"bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
266
|
+
"monoFamily": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
|
|
267
|
+
"scale": {
|
|
268
|
+
"xs": {
|
|
269
|
+
"size": "13px",
|
|
270
|
+
"lineHeight": "22px"
|
|
271
|
+
},
|
|
272
|
+
"sm": {
|
|
273
|
+
"size": "15px",
|
|
274
|
+
"lineHeight": "26px"
|
|
275
|
+
},
|
|
276
|
+
"base": {
|
|
277
|
+
"size": "17px",
|
|
278
|
+
"lineHeight": "30px"
|
|
279
|
+
},
|
|
280
|
+
"lg": {
|
|
281
|
+
"size": "21px",
|
|
282
|
+
"lineHeight": "34px"
|
|
283
|
+
},
|
|
284
|
+
"xl": {
|
|
285
|
+
"size": "26px",
|
|
286
|
+
"lineHeight": "38px"
|
|
287
|
+
},
|
|
288
|
+
"2xl": {
|
|
289
|
+
"size": "32px",
|
|
290
|
+
"lineHeight": "44px"
|
|
291
|
+
},
|
|
292
|
+
"3xl": {
|
|
293
|
+
"size": "42px",
|
|
294
|
+
"lineHeight": "52px"
|
|
295
|
+
},
|
|
296
|
+
"4xl": {
|
|
297
|
+
"size": "56px",
|
|
298
|
+
"lineHeight": "64px"
|
|
299
|
+
},
|
|
300
|
+
"display-1": {
|
|
301
|
+
"size": "72px",
|
|
302
|
+
"lineHeight": "80px"
|
|
303
|
+
},
|
|
304
|
+
"display-2": {
|
|
305
|
+
"size": "96px",
|
|
306
|
+
"lineHeight": "104px"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"intents": {
|
|
310
|
+
"headingMajor": {
|
|
311
|
+
"slot": "display",
|
|
312
|
+
"size": "3xl",
|
|
313
|
+
"weight": "bold"
|
|
314
|
+
},
|
|
315
|
+
"headingMinor": {
|
|
316
|
+
"slot": "display",
|
|
317
|
+
"size": "xl",
|
|
318
|
+
"weight": "bold"
|
|
319
|
+
},
|
|
320
|
+
"bodyEmphasis": {
|
|
321
|
+
"slot": "body",
|
|
322
|
+
"size": "base",
|
|
323
|
+
"weight": "medium"
|
|
324
|
+
},
|
|
325
|
+
"bodyDefault": {
|
|
326
|
+
"slot": "body",
|
|
327
|
+
"size": "base",
|
|
328
|
+
"weight": "normal"
|
|
329
|
+
},
|
|
330
|
+
"bodyQuiet": {
|
|
331
|
+
"slot": "body",
|
|
332
|
+
"size": "sm",
|
|
333
|
+
"weight": "normal"
|
|
334
|
+
},
|
|
335
|
+
"caption": {
|
|
336
|
+
"slot": "body",
|
|
337
|
+
"size": "xs",
|
|
338
|
+
"weight": "medium"
|
|
339
|
+
},
|
|
340
|
+
"numeric": {
|
|
341
|
+
"slot": "mono",
|
|
342
|
+
"size": "4xl",
|
|
343
|
+
"weight": "bold"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"motion": {
|
|
348
|
+
"durations": {
|
|
349
|
+
"instant": "0ms",
|
|
350
|
+
"fast": "200ms",
|
|
351
|
+
"normal": "350ms",
|
|
352
|
+
"slow": "500ms",
|
|
353
|
+
"dramatic": "700ms"
|
|
354
|
+
},
|
|
355
|
+
"easings": {
|
|
356
|
+
"linear": "linear",
|
|
357
|
+
"standard": "cubic-bezier(0.0, 0.0, 0.2, 1)",
|
|
358
|
+
"emphasized": "cubic-bezier(0.2, 0.0, 0.0, 1)",
|
|
359
|
+
"spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"iconography": {
|
|
363
|
+
"family": "phosphor-duotone",
|
|
364
|
+
"strokeWidth": "1.5",
|
|
365
|
+
"defaultSize": "20px"
|
|
366
|
+
},
|
|
367
|
+
"elevation": {
|
|
368
|
+
"cardElevation": "0 1px 2px rgba(0, 0, 0, 0.4)",
|
|
369
|
+
"popoverElevation": "0 4px 12px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.3)",
|
|
370
|
+
"dialogElevation": "0 24px 48px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(0, 0, 0, 0.5)",
|
|
371
|
+
"toastElevation": "0 8px 24px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4)"
|
|
372
|
+
},
|
|
373
|
+
"geometry": {
|
|
374
|
+
"radiusContainer": "14px",
|
|
375
|
+
"radiusInteractive": "10px",
|
|
376
|
+
"radiusPill": "9999px",
|
|
377
|
+
"borderHairline": "1px",
|
|
378
|
+
"borderStandard": "1px",
|
|
379
|
+
"borderHeavy": "1px"
|
|
380
|
+
},
|
|
381
|
+
"colors": {
|
|
382
|
+
"primary": "#ff8557",
|
|
383
|
+
"primary-hover": "#ff9a73",
|
|
384
|
+
"primary-foreground": "#1a1a17",
|
|
385
|
+
"secondary": "#26241f",
|
|
386
|
+
"secondary-hover": "#2f2d27",
|
|
387
|
+
"secondary-foreground": "#f5f1e6",
|
|
388
|
+
"accent": "#ff8557",
|
|
389
|
+
"accent-foreground": "#1a1a17",
|
|
390
|
+
"muted": "#26241f",
|
|
391
|
+
"muted-foreground": "#a39c8f",
|
|
392
|
+
"background": "#1a1a17",
|
|
393
|
+
"foreground": "#f5f1e6",
|
|
394
|
+
"card": "#22211d",
|
|
395
|
+
"card-foreground": "#f5f1e6",
|
|
396
|
+
"surface": "#26241f",
|
|
397
|
+
"border": "#3a3730",
|
|
398
|
+
"input": "#45413a",
|
|
399
|
+
"ring": "#ff8557",
|
|
400
|
+
"table-header": "#26241f",
|
|
401
|
+
"table-border": "#3a3730",
|
|
402
|
+
"table-row-hover": "#201f1b",
|
|
403
|
+
"surface-hover": "#2f2d27",
|
|
404
|
+
"border-hover": "#524d44",
|
|
405
|
+
"placeholder": "#807a6e",
|
|
406
|
+
"error": "#f97066",
|
|
407
|
+
"error-foreground": "#1a1a17",
|
|
408
|
+
"success": "#75e0a7",
|
|
409
|
+
"success-foreground": "#1a1a17",
|
|
410
|
+
"warning": "#fdb022",
|
|
411
|
+
"warning-foreground": "#1a1a17",
|
|
412
|
+
"info": "#84caff",
|
|
413
|
+
"info-foreground": "#1a1a17"
|
|
414
|
+
},
|
|
415
|
+
"radii": {
|
|
416
|
+
"none": "0px",
|
|
417
|
+
"sm": "6px",
|
|
418
|
+
"md": "10px",
|
|
419
|
+
"lg": "14px",
|
|
420
|
+
"xl": "20px",
|
|
421
|
+
"full": "9999px"
|
|
422
|
+
},
|
|
423
|
+
"shadows": {
|
|
424
|
+
"none": "none",
|
|
425
|
+
"sm": "0 1px 2px rgba(0, 0, 0, 0.4)",
|
|
426
|
+
"main": "0 2px 6px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3)",
|
|
427
|
+
"lg": "0 10px 24px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4)",
|
|
428
|
+
"inner": "inset 0 1px 2px rgba(0, 0, 0, 0.4)",
|
|
429
|
+
"hover": "0 4px 12px rgba(0, 0, 0, 0.55)",
|
|
430
|
+
"active": "0 1px 2px rgba(0, 0, 0, 0.4)"
|
|
431
|
+
},
|
|
432
|
+
"typography": {
|
|
433
|
+
"border-width": "1px",
|
|
434
|
+
"border-width-thin": "1px",
|
|
435
|
+
"border-width-thick": "1px",
|
|
436
|
+
"font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
|
|
437
|
+
"font-weight-normal": "400",
|
|
438
|
+
"font-weight-medium": "500",
|
|
439
|
+
"font-weight-bold": "700",
|
|
440
|
+
"letter-spacing": "-0.005em",
|
|
441
|
+
"line-height": "1.7",
|
|
442
|
+
"intent-numeric-family": "var(--font-family-display)",
|
|
443
|
+
"icon-color": "currentColor",
|
|
444
|
+
"transition-fast": "200ms",
|
|
445
|
+
"transition-normal": "350ms",
|
|
446
|
+
"transition-slow": "500ms",
|
|
447
|
+
"transition-timing": "cubic-bezier(0.0, 0.0, 0.2, 1)",
|
|
448
|
+
"hover-scale": "1.02",
|
|
449
|
+
"hover-translate-y": "-2px",
|
|
450
|
+
"hover-translate-x": "0",
|
|
451
|
+
"active-scale": "0.98",
|
|
452
|
+
"active-translate-y": "0",
|
|
453
|
+
"focus-ring-width": "3px",
|
|
454
|
+
"focus-ring-offset": "2px",
|
|
455
|
+
"focus-ring-color": "#ff8557"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prism",
|
|
3
|
+
"tokens": {
|
|
4
|
+
"motion": {
|
|
5
|
+
"durations": {
|
|
6
|
+
"instant": "0ms",
|
|
7
|
+
"fast": "80ms",
|
|
8
|
+
"normal": "120ms",
|
|
9
|
+
"slow": "180ms",
|
|
10
|
+
"dramatic": "240ms"
|
|
11
|
+
},
|
|
12
|
+
"easings": {
|
|
13
|
+
"linear": "linear",
|
|
14
|
+
"standard": "linear",
|
|
15
|
+
"emphasized": "linear",
|
|
16
|
+
"spring": "linear"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"iconography": {
|
|
20
|
+
"family": "lucide",
|
|
21
|
+
"strokeWidth": "1.5",
|
|
22
|
+
"defaultSize": "14px"
|
|
23
|
+
},
|
|
24
|
+
"elevation": {
|
|
25
|
+
"cardElevation": "var(--shadow-sm)",
|
|
26
|
+
"popoverElevation": "var(--shadow-main)",
|
|
27
|
+
"dialogElevation": "var(--shadow-main)",
|
|
28
|
+
"toastElevation": "var(--shadow-sm)"
|
|
29
|
+
},
|
|
30
|
+
"geometry": {
|
|
31
|
+
"radiusContainer": "6px",
|
|
32
|
+
"radiusInteractive": "10px",
|
|
33
|
+
"radiusPill": "9999px",
|
|
34
|
+
"borderHairline": "1px",
|
|
35
|
+
"borderStandard": "1px",
|
|
36
|
+
"borderHeavy": "2px"
|
|
37
|
+
},
|
|
38
|
+
"colors": {
|
|
39
|
+
"primary": "#7c3aed",
|
|
40
|
+
"primary-hover": "#6d28d9",
|
|
41
|
+
"primary-foreground": "#ffffff",
|
|
42
|
+
"secondary": "#f1f5f9",
|
|
43
|
+
"secondary-hover": "#e2e8f0",
|
|
44
|
+
"secondary-foreground": "#0f172a",
|
|
45
|
+
"accent": "#84cc16",
|
|
46
|
+
"accent-foreground": "#1a2e05",
|
|
47
|
+
"muted": "#f1f5f9",
|
|
48
|
+
"muted-foreground": "#59677c",
|
|
49
|
+
"background": "#fafafa",
|
|
50
|
+
"foreground": "#0f172a",
|
|
51
|
+
"card": "#ffffff",
|
|
52
|
+
"card-foreground": "#0f172a",
|
|
53
|
+
"surface": "#f5f5f7",
|
|
54
|
+
"border": "#e2e8f0",
|
|
55
|
+
"input": "#cbd5e1",
|
|
56
|
+
"ring": "#7c3aed",
|
|
57
|
+
"error": "#dc2626",
|
|
58
|
+
"error-foreground": "#ffffff",
|
|
59
|
+
"success": "#15803d",
|
|
60
|
+
"success-foreground": "#ffffff",
|
|
61
|
+
"warning": "#b45309",
|
|
62
|
+
"warning-foreground": "#ffffff",
|
|
63
|
+
"info": "#2563eb",
|
|
64
|
+
"info-foreground": "#ffffff"
|
|
65
|
+
},
|
|
66
|
+
"radii": {
|
|
67
|
+
"none": "0px",
|
|
68
|
+
"sm": "4px",
|
|
69
|
+
"md": "6px",
|
|
70
|
+
"lg": "10px",
|
|
71
|
+
"xl": "12px",
|
|
72
|
+
"full": "9999px"
|
|
73
|
+
},
|
|
74
|
+
"shadows": {
|
|
75
|
+
"none": "none",
|
|
76
|
+
"sm": "0 1px 0 rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.04)",
|
|
77
|
+
"main": "0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04)",
|
|
78
|
+
"lg": "0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04)",
|
|
79
|
+
"inner": "inset 0 1px 1px rgba(15, 23, 42, 0.04)",
|
|
80
|
+
"hover": "0 2px 6px rgba(124, 58, 237, 0.12)",
|
|
81
|
+
"active": "0 1px 2px rgba(124, 58, 237, 0.08)"
|
|
82
|
+
},
|
|
83
|
+
"typography": {
|
|
84
|
+
"border-width": "1px",
|
|
85
|
+
"border-width-thin": "1px",
|
|
86
|
+
"border-width-thick": "2px",
|
|
87
|
+
"icon-color": "currentColor",
|
|
88
|
+
"transition-fast": "80ms",
|
|
89
|
+
"transition-normal": "120ms",
|
|
90
|
+
"transition-slow": "180ms",
|
|
91
|
+
"transition-timing": "linear",
|
|
92
|
+
"hover-scale": "1.0",
|
|
93
|
+
"hover-translate-y": "-1px",
|
|
94
|
+
"hover-translate-x": "0",
|
|
95
|
+
"active-scale": "0.99",
|
|
96
|
+
"active-translate-y": "0",
|
|
97
|
+
"focus-ring-width": "2px",
|
|
98
|
+
"focus-ring-offset": "2px",
|
|
99
|
+
"focus-ring-color": "#7c3aed"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"variants": {
|
|
103
|
+
"dark": {
|
|
104
|
+
"motion": {
|
|
105
|
+
"durations": {
|
|
106
|
+
"instant": "0ms",
|
|
107
|
+
"fast": "80ms",
|
|
108
|
+
"normal": "120ms",
|
|
109
|
+
"slow": "180ms",
|
|
110
|
+
"dramatic": "240ms"
|
|
111
|
+
},
|
|
112
|
+
"easings": {
|
|
113
|
+
"linear": "linear",
|
|
114
|
+
"standard": "linear",
|
|
115
|
+
"emphasized": "linear",
|
|
116
|
+
"spring": "linear"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"iconography": {
|
|
120
|
+
"family": "lucide",
|
|
121
|
+
"strokeWidth": "1.5",
|
|
122
|
+
"defaultSize": "14px"
|
|
123
|
+
},
|
|
124
|
+
"elevation": {
|
|
125
|
+
"cardElevation": "var(--shadow-sm)",
|
|
126
|
+
"popoverElevation": "var(--shadow-main)",
|
|
127
|
+
"dialogElevation": "var(--shadow-main)",
|
|
128
|
+
"toastElevation": "var(--shadow-sm)"
|
|
129
|
+
},
|
|
130
|
+
"geometry": {
|
|
131
|
+
"radiusContainer": "6px",
|
|
132
|
+
"radiusInteractive": "10px",
|
|
133
|
+
"radiusPill": "9999px",
|
|
134
|
+
"borderHairline": "1px",
|
|
135
|
+
"borderStandard": "1px",
|
|
136
|
+
"borderHeavy": "2px"
|
|
137
|
+
},
|
|
138
|
+
"colors": {
|
|
139
|
+
"primary": "#a78bfa",
|
|
140
|
+
"primary-hover": "#c4b5fd",
|
|
141
|
+
"primary-foreground": "#1e1b4b",
|
|
142
|
+
"secondary": "#1f1d3a",
|
|
143
|
+
"secondary-hover": "#2a2748",
|
|
144
|
+
"secondary-foreground": "#e2e8f0",
|
|
145
|
+
"accent": "#bef264",
|
|
146
|
+
"accent-foreground": "#1a2e05",
|
|
147
|
+
"muted": "#1f1d3a",
|
|
148
|
+
"muted-foreground": "#94a3b8",
|
|
149
|
+
"background": "#0c0a1a",
|
|
150
|
+
"foreground": "#e2e8f0",
|
|
151
|
+
"card": "#14122a",
|
|
152
|
+
"card-foreground": "#e2e8f0",
|
|
153
|
+
"surface": "#1f1d3a",
|
|
154
|
+
"border": "#2a2748",
|
|
155
|
+
"input": "#3a3658",
|
|
156
|
+
"ring": "#a78bfa",
|
|
157
|
+
"error": "#f87171",
|
|
158
|
+
"error-foreground": "#000000",
|
|
159
|
+
"success": "#4ade80",
|
|
160
|
+
"success-foreground": "#000000",
|
|
161
|
+
"warning": "#fbbf24",
|
|
162
|
+
"warning-foreground": "#000000",
|
|
163
|
+
"info": "#60a5fa",
|
|
164
|
+
"info-foreground": "#000000"
|
|
165
|
+
},
|
|
166
|
+
"radii": {
|
|
167
|
+
"none": "0px",
|
|
168
|
+
"sm": "4px",
|
|
169
|
+
"md": "6px",
|
|
170
|
+
"lg": "10px",
|
|
171
|
+
"xl": "12px",
|
|
172
|
+
"full": "9999px"
|
|
173
|
+
},
|
|
174
|
+
"shadows": {
|
|
175
|
+
"none": "none",
|
|
176
|
+
"sm": "0 1px 0 rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2)",
|
|
177
|
+
"main": "0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3)",
|
|
178
|
+
"lg": "0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3)",
|
|
179
|
+
"inner": "inset 0 1px 1px rgba(0, 0, 0, 0.3)",
|
|
180
|
+
"hover": "0 2px 8px rgba(167, 139, 250, 0.2)",
|
|
181
|
+
"active": "0 1px 2px rgba(167, 139, 250, 0.15)"
|
|
182
|
+
},
|
|
183
|
+
"typography": {
|
|
184
|
+
"border-width": "1px",
|
|
185
|
+
"border-width-thin": "1px",
|
|
186
|
+
"border-width-thick": "2px",
|
|
187
|
+
"icon-color": "currentColor",
|
|
188
|
+
"transition-fast": "80ms",
|
|
189
|
+
"transition-normal": "120ms",
|
|
190
|
+
"transition-slow": "180ms",
|
|
191
|
+
"transition-timing": "linear",
|
|
192
|
+
"hover-scale": "1.0",
|
|
193
|
+
"hover-translate-y": "-1px",
|
|
194
|
+
"hover-translate-x": "0",
|
|
195
|
+
"active-scale": "0.99",
|
|
196
|
+
"active-translate-y": "0",
|
|
197
|
+
"focus-ring-width": "2px",
|
|
198
|
+
"focus-ring-offset": "2px",
|
|
199
|
+
"focus-ring-color": "#a78bfa"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|