pixelplay 1.0.6 → 1.0.7
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/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +195 -0
- package/dist/server.d.ts +195 -0
- package/dist/server.js +1586 -0
- package/dist/server.js.map +1 -0
- package/dist/server.mjs +1557 -0
- package/dist/server.mjs.map +1 -0
- package/package.json +6 -1
package/dist/server.js
ADDED
|
@@ -0,0 +1,1586 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/server.ts
|
|
21
|
+
var server_exports = {};
|
|
22
|
+
__export(server_exports, {
|
|
23
|
+
darkTheme: () => darkTheme,
|
|
24
|
+
generateThemeCSS: () => generateThemeCSS,
|
|
25
|
+
lightTheme: () => lightTheme
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(server_exports);
|
|
28
|
+
|
|
29
|
+
// ../../app/ui-kit/pixelplay-ui/shared/config/tokens.ts
|
|
30
|
+
var colors = {
|
|
31
|
+
// ── Semantic / role colors ────────────────────────────────────────────────
|
|
32
|
+
// Curated shades for their specific UI role (slightly tuned vs. raw palette).
|
|
33
|
+
// brand → purple family | error → red family | warning → amber family
|
|
34
|
+
// success → green family | neutral base → gray
|
|
35
|
+
brand: {
|
|
36
|
+
25: "#FCFAFF",
|
|
37
|
+
50: "#F9F5FF",
|
|
38
|
+
100: "#F4EBFF",
|
|
39
|
+
200: "#E9D7FE",
|
|
40
|
+
300: "#D6BBFB",
|
|
41
|
+
400: "#B692F6",
|
|
42
|
+
500: "#9E77ED",
|
|
43
|
+
600: "#7F56D9",
|
|
44
|
+
700: "#6941C6",
|
|
45
|
+
800: "#53389E",
|
|
46
|
+
900: "#42307D",
|
|
47
|
+
950: "#26145A",
|
|
48
|
+
975: "#160C34"
|
|
49
|
+
},
|
|
50
|
+
error: {
|
|
51
|
+
25: "#FFFBFA",
|
|
52
|
+
50: "#FEF3F2",
|
|
53
|
+
100: "#FEE4E2",
|
|
54
|
+
200: "#FECDCA",
|
|
55
|
+
300: "#FDA29B",
|
|
56
|
+
400: "#F97066",
|
|
57
|
+
500: "#F04438",
|
|
58
|
+
600: "#D92D20",
|
|
59
|
+
700: "#B42318",
|
|
60
|
+
800: "#912018",
|
|
61
|
+
900: "#7A271A",
|
|
62
|
+
950: "#4C1108",
|
|
63
|
+
975: "#2B0904"
|
|
64
|
+
},
|
|
65
|
+
warning: {
|
|
66
|
+
25: "#FFFCF5",
|
|
67
|
+
50: "#FFFAEB",
|
|
68
|
+
100: "#FEF0C7",
|
|
69
|
+
200: "#FEDF89",
|
|
70
|
+
300: "#FEC84B",
|
|
71
|
+
400: "#FDB022",
|
|
72
|
+
500: "#F79009",
|
|
73
|
+
600: "#DC6803",
|
|
74
|
+
700: "#B54708",
|
|
75
|
+
800: "#93370D",
|
|
76
|
+
900: "#7A2E0E",
|
|
77
|
+
950: "#491A06",
|
|
78
|
+
975: "#291003"
|
|
79
|
+
},
|
|
80
|
+
success: {
|
|
81
|
+
25: "#F6FEF9",
|
|
82
|
+
50: "#ECFDF3",
|
|
83
|
+
100: "#D1FADF",
|
|
84
|
+
200: "#A6F4C5",
|
|
85
|
+
300: "#6CE9A6",
|
|
86
|
+
400: "#32D583",
|
|
87
|
+
500: "#12B76A",
|
|
88
|
+
600: "#039855",
|
|
89
|
+
700: "#027A48",
|
|
90
|
+
800: "#05603A",
|
|
91
|
+
900: "#054F31",
|
|
92
|
+
950: "#03301E",
|
|
93
|
+
975: "#021C11"
|
|
94
|
+
},
|
|
95
|
+
// ── Neutrals ──────────────────────────────────────────────────────────────
|
|
96
|
+
gray: {
|
|
97
|
+
25: "#FDFDFD",
|
|
98
|
+
50: "#FAFAFA",
|
|
99
|
+
100: "#F5F5F5",
|
|
100
|
+
200: "#E9EAEB",
|
|
101
|
+
300: "#D5D7DA",
|
|
102
|
+
400: "#A4A7AE",
|
|
103
|
+
500: "#717680",
|
|
104
|
+
600: "#535862",
|
|
105
|
+
700: "#414651",
|
|
106
|
+
800: "#252B37",
|
|
107
|
+
900: "#101828",
|
|
108
|
+
950: "#090E18",
|
|
109
|
+
975: "#05080E"
|
|
110
|
+
},
|
|
111
|
+
slate: {
|
|
112
|
+
25: "#FCFCFE",
|
|
113
|
+
50: "#F8FAFC",
|
|
114
|
+
100: "#F1F5F9",
|
|
115
|
+
200: "#E2E8F0",
|
|
116
|
+
300: "#CBD5E1",
|
|
117
|
+
400: "#94A3B8",
|
|
118
|
+
500: "#64748B",
|
|
119
|
+
600: "#475569",
|
|
120
|
+
700: "#334155",
|
|
121
|
+
800: "#1E293B",
|
|
122
|
+
900: "#0F172A",
|
|
123
|
+
950: "#090D19",
|
|
124
|
+
975: "#05070E"
|
|
125
|
+
},
|
|
126
|
+
zinc: {
|
|
127
|
+
25: "#FAFAFB",
|
|
128
|
+
50: "#FAFAFA",
|
|
129
|
+
100: "#F4F4F5",
|
|
130
|
+
200: "#E4E4E7",
|
|
131
|
+
300: "#D4D4D8",
|
|
132
|
+
400: "#A1A1AA",
|
|
133
|
+
500: "#71717A",
|
|
134
|
+
600: "#52525B",
|
|
135
|
+
700: "#3F3F46",
|
|
136
|
+
800: "#27272A",
|
|
137
|
+
900: "#18181B",
|
|
138
|
+
950: "#0E0E10",
|
|
139
|
+
975: "#080809"
|
|
140
|
+
},
|
|
141
|
+
stone: {
|
|
142
|
+
25: "#FAFAF9",
|
|
143
|
+
50: "#FAFAF9",
|
|
144
|
+
100: "#F5F5F4",
|
|
145
|
+
200: "#E7E5E4",
|
|
146
|
+
300: "#D6D3D1",
|
|
147
|
+
400: "#A8A29E",
|
|
148
|
+
500: "#78716C",
|
|
149
|
+
600: "#57534E",
|
|
150
|
+
700: "#44403C",
|
|
151
|
+
800: "#292524",
|
|
152
|
+
900: "#1C1917",
|
|
153
|
+
950: "#110F0D",
|
|
154
|
+
975: "#090807"
|
|
155
|
+
},
|
|
156
|
+
// ── Reds & oranges ────────────────────────────────────────────────────────
|
|
157
|
+
red: {
|
|
158
|
+
25: "#FFF5F5",
|
|
159
|
+
50: "#FEF2F2",
|
|
160
|
+
100: "#FEE2E2",
|
|
161
|
+
200: "#FECACA",
|
|
162
|
+
300: "#FCA5A5",
|
|
163
|
+
400: "#F87171",
|
|
164
|
+
500: "#EF4444",
|
|
165
|
+
600: "#DC2626",
|
|
166
|
+
700: "#B91C1C",
|
|
167
|
+
800: "#991B1B",
|
|
168
|
+
900: "#7F1D1D",
|
|
169
|
+
950: "#4C1111",
|
|
170
|
+
975: "#2B0909"
|
|
171
|
+
},
|
|
172
|
+
orange: {
|
|
173
|
+
25: "#FFFAF5",
|
|
174
|
+
50: "#FFF6ED",
|
|
175
|
+
100: "#FFEAD5",
|
|
176
|
+
200: "#FDDCAB",
|
|
177
|
+
300: "#FEB273",
|
|
178
|
+
400: "#FD853A",
|
|
179
|
+
500: "#FB6514",
|
|
180
|
+
600: "#EC4A0A",
|
|
181
|
+
700: "#C4320A",
|
|
182
|
+
800: "#9C2A10",
|
|
183
|
+
900: "#7E2410",
|
|
184
|
+
950: "#4C1509",
|
|
185
|
+
975: "#2B0C05"
|
|
186
|
+
},
|
|
187
|
+
amber: {
|
|
188
|
+
25: "#FFFDF5",
|
|
189
|
+
50: "#FFFBEB",
|
|
190
|
+
100: "#FEF3C7",
|
|
191
|
+
200: "#FDE68A",
|
|
192
|
+
300: "#FCD34D",
|
|
193
|
+
400: "#FBBF24",
|
|
194
|
+
500: "#F59E0B",
|
|
195
|
+
600: "#D97706",
|
|
196
|
+
700: "#B45309",
|
|
197
|
+
800: "#92400E",
|
|
198
|
+
900: "#78350F",
|
|
199
|
+
950: "#471E07",
|
|
200
|
+
975: "#280F03"
|
|
201
|
+
},
|
|
202
|
+
yellow: {
|
|
203
|
+
25: "#FEFEF2",
|
|
204
|
+
50: "#FEFCE8",
|
|
205
|
+
100: "#FEF9C3",
|
|
206
|
+
200: "#FEF08A",
|
|
207
|
+
300: "#FDE047",
|
|
208
|
+
400: "#FACC15",
|
|
209
|
+
500: "#EAB308",
|
|
210
|
+
600: "#CA8A04",
|
|
211
|
+
700: "#A16207",
|
|
212
|
+
800: "#854D0E",
|
|
213
|
+
900: "#713F12",
|
|
214
|
+
950: "#44250A",
|
|
215
|
+
975: "#261505"
|
|
216
|
+
},
|
|
217
|
+
// ── Greens ────────────────────────────────────────────────────────────────
|
|
218
|
+
lime: {
|
|
219
|
+
25: "#FBFFE7",
|
|
220
|
+
50: "#F7FEE7",
|
|
221
|
+
100: "#ECFCCB",
|
|
222
|
+
200: "#D9F99D",
|
|
223
|
+
300: "#BEF264",
|
|
224
|
+
400: "#A3E635",
|
|
225
|
+
500: "#84CC16",
|
|
226
|
+
600: "#65A30D",
|
|
227
|
+
700: "#4D7C0F",
|
|
228
|
+
800: "#3F6212",
|
|
229
|
+
900: "#365314",
|
|
230
|
+
950: "#20320C",
|
|
231
|
+
975: "#121C06"
|
|
232
|
+
},
|
|
233
|
+
green: {
|
|
234
|
+
25: "#F2FDF5",
|
|
235
|
+
50: "#F0FDF4",
|
|
236
|
+
100: "#DCFCE7",
|
|
237
|
+
200: "#BBF7D0",
|
|
238
|
+
300: "#86EFAC",
|
|
239
|
+
400: "#4ADE80",
|
|
240
|
+
500: "#22C55E",
|
|
241
|
+
600: "#16A34A",
|
|
242
|
+
700: "#15803D",
|
|
243
|
+
800: "#166534",
|
|
244
|
+
900: "#14532D",
|
|
245
|
+
950: "#0C321B",
|
|
246
|
+
975: "#061C0F"
|
|
247
|
+
},
|
|
248
|
+
emerald: {
|
|
249
|
+
25: "#F3FDF8",
|
|
250
|
+
50: "#ECFDF5",
|
|
251
|
+
100: "#D1FAE5",
|
|
252
|
+
200: "#A7F3D0",
|
|
253
|
+
300: "#6EE7B7",
|
|
254
|
+
400: "#34D399",
|
|
255
|
+
500: "#10B981",
|
|
256
|
+
600: "#059669",
|
|
257
|
+
700: "#047857",
|
|
258
|
+
800: "#065F46",
|
|
259
|
+
900: "#064E3B",
|
|
260
|
+
950: "#032F23",
|
|
261
|
+
975: "#021A13"
|
|
262
|
+
},
|
|
263
|
+
teal: {
|
|
264
|
+
25: "#F0FCFB",
|
|
265
|
+
50: "#F0FDFA",
|
|
266
|
+
100: "#CCFBF1",
|
|
267
|
+
200: "#99F6E4",
|
|
268
|
+
300: "#5EEAD4",
|
|
269
|
+
400: "#2DD4BF",
|
|
270
|
+
500: "#14B8A6",
|
|
271
|
+
600: "#0D9488",
|
|
272
|
+
700: "#0F766E",
|
|
273
|
+
800: "#115E59",
|
|
274
|
+
900: "#134E4A",
|
|
275
|
+
950: "#0A302E",
|
|
276
|
+
975: "#061C1A"
|
|
277
|
+
},
|
|
278
|
+
// ── Blues ─────────────────────────────────────────────────────────────────
|
|
279
|
+
cyan: {
|
|
280
|
+
25: "#F0FEFF",
|
|
281
|
+
50: "#ECFEFF",
|
|
282
|
+
100: "#CFFAFE",
|
|
283
|
+
200: "#A5F3FC",
|
|
284
|
+
300: "#67E8F9",
|
|
285
|
+
400: "#22D3EE",
|
|
286
|
+
500: "#06B6D4",
|
|
287
|
+
600: "#0891B2",
|
|
288
|
+
700: "#0E7490",
|
|
289
|
+
800: "#155E75",
|
|
290
|
+
900: "#164E63",
|
|
291
|
+
950: "#0C2F3C",
|
|
292
|
+
975: "#071A22"
|
|
293
|
+
},
|
|
294
|
+
blueLight: {
|
|
295
|
+
25: "#F5FBFF",
|
|
296
|
+
50: "#F0F9FF",
|
|
297
|
+
100: "#E0F2FE",
|
|
298
|
+
200: "#B9E6FE",
|
|
299
|
+
300: "#7CD4FD",
|
|
300
|
+
400: "#36BFFA",
|
|
301
|
+
500: "#0BA5EC",
|
|
302
|
+
600: "#0086C9",
|
|
303
|
+
700: "#026AA2",
|
|
304
|
+
800: "#065986",
|
|
305
|
+
900: "#0B4A6F",
|
|
306
|
+
950: "#062C43",
|
|
307
|
+
975: "#031826"
|
|
308
|
+
},
|
|
309
|
+
blue: {
|
|
310
|
+
25: "#F5FAFF",
|
|
311
|
+
50: "#EFF8FF",
|
|
312
|
+
100: "#D1E9FF",
|
|
313
|
+
200: "#B2DDFF",
|
|
314
|
+
300: "#84CAFF",
|
|
315
|
+
400: "#53B1FD",
|
|
316
|
+
500: "#2E90FA",
|
|
317
|
+
600: "#1570EF",
|
|
318
|
+
700: "#175CD3",
|
|
319
|
+
800: "#1849A9",
|
|
320
|
+
900: "#194185",
|
|
321
|
+
950: "#0E2669",
|
|
322
|
+
975: "#08153B"
|
|
323
|
+
},
|
|
324
|
+
blueGray: {
|
|
325
|
+
25: "#FCFCFD",
|
|
326
|
+
50: "#F8F9FC",
|
|
327
|
+
100: "#EAECF5",
|
|
328
|
+
200: "#D5D9EB",
|
|
329
|
+
300: "#AFB5D9",
|
|
330
|
+
400: "#717BBC",
|
|
331
|
+
500: "#4E5BA6",
|
|
332
|
+
600: "#3E4784",
|
|
333
|
+
700: "#363F72",
|
|
334
|
+
800: "#293056",
|
|
335
|
+
900: "#101323",
|
|
336
|
+
950: "#090B15",
|
|
337
|
+
975: "#05060B"
|
|
338
|
+
},
|
|
339
|
+
// ── Purples & pinks ───────────────────────────────────────────────────────
|
|
340
|
+
indigo: {
|
|
341
|
+
25: "#F5F8FF",
|
|
342
|
+
50: "#EEF4FF",
|
|
343
|
+
100: "#E0EAFF",
|
|
344
|
+
200: "#C7D7FE",
|
|
345
|
+
300: "#A4BCFD",
|
|
346
|
+
400: "#8098F9",
|
|
347
|
+
500: "#6172F3",
|
|
348
|
+
600: "#444CE7",
|
|
349
|
+
700: "#3538CD",
|
|
350
|
+
800: "#2D31A6",
|
|
351
|
+
900: "#2D3282",
|
|
352
|
+
950: "#1B1F52",
|
|
353
|
+
975: "#10122F"
|
|
354
|
+
},
|
|
355
|
+
violet: {
|
|
356
|
+
25: "#FAFAFF",
|
|
357
|
+
50: "#F5F3FF",
|
|
358
|
+
100: "#EDE9FE",
|
|
359
|
+
200: "#DDD6FE",
|
|
360
|
+
300: "#C4B5FD",
|
|
361
|
+
400: "#A78BFA",
|
|
362
|
+
500: "#8B5CF6",
|
|
363
|
+
600: "#7C3AED",
|
|
364
|
+
700: "#6D28D9",
|
|
365
|
+
800: "#5B21B6",
|
|
366
|
+
900: "#4C1D95",
|
|
367
|
+
950: "#2D1159",
|
|
368
|
+
975: "#190932"
|
|
369
|
+
},
|
|
370
|
+
purple: {
|
|
371
|
+
25: "#FAFAFF",
|
|
372
|
+
50: "#F4F3FF",
|
|
373
|
+
100: "#EBE9FE",
|
|
374
|
+
200: "#D9D6FE",
|
|
375
|
+
300: "#BDB4FE",
|
|
376
|
+
400: "#9B8AFB",
|
|
377
|
+
500: "#7A5AF8",
|
|
378
|
+
600: "#6938EF",
|
|
379
|
+
700: "#5925DC",
|
|
380
|
+
800: "#4A1FB8",
|
|
381
|
+
900: "#3E1C96",
|
|
382
|
+
950: "#25105A",
|
|
383
|
+
975: "#140932"
|
|
384
|
+
},
|
|
385
|
+
fuchsia: {
|
|
386
|
+
25: "#FEF8FF",
|
|
387
|
+
50: "#FDF4FF",
|
|
388
|
+
100: "#FAE8FF",
|
|
389
|
+
200: "#F5D0FE",
|
|
390
|
+
300: "#F0ABFC",
|
|
391
|
+
400: "#E879F9",
|
|
392
|
+
500: "#D946EF",
|
|
393
|
+
600: "#C026D3",
|
|
394
|
+
700: "#A21CAF",
|
|
395
|
+
800: "#86198F",
|
|
396
|
+
900: "#701A75",
|
|
397
|
+
950: "#430F46",
|
|
398
|
+
975: "#250827"
|
|
399
|
+
},
|
|
400
|
+
pink: {
|
|
401
|
+
25: "#FEF6FB",
|
|
402
|
+
50: "#FDF2FA",
|
|
403
|
+
100: "#FCE7F6",
|
|
404
|
+
200: "#FCCEEE",
|
|
405
|
+
300: "#FAA7E0",
|
|
406
|
+
400: "#F670C7",
|
|
407
|
+
500: "#EE46BC",
|
|
408
|
+
600: "#DD2590",
|
|
409
|
+
700: "#C11574",
|
|
410
|
+
800: "#9E165F",
|
|
411
|
+
900: "#851651",
|
|
412
|
+
950: "#4F0C30",
|
|
413
|
+
975: "#2C071A"
|
|
414
|
+
},
|
|
415
|
+
rose: {
|
|
416
|
+
25: "#FFF5F6",
|
|
417
|
+
50: "#FFF1F3",
|
|
418
|
+
100: "#FFE4E8",
|
|
419
|
+
200: "#FECDD6",
|
|
420
|
+
300: "#FEA3B4",
|
|
421
|
+
400: "#FD6F8E",
|
|
422
|
+
500: "#F63D68",
|
|
423
|
+
600: "#E31B54",
|
|
424
|
+
700: "#C01048",
|
|
425
|
+
800: "#A11043",
|
|
426
|
+
900: "#89123E",
|
|
427
|
+
950: "#520A25",
|
|
428
|
+
975: "#2E0514"
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
var textScale = {
|
|
432
|
+
xl: { fontSize: "1.25rem", lineHeight: "1.875rem", letterSpacing: "0em" },
|
|
433
|
+
// 20px / 30px
|
|
434
|
+
lg: { fontSize: "1.125rem", lineHeight: "1.75rem", letterSpacing: "0em" },
|
|
435
|
+
// 18px / 28px
|
|
436
|
+
md: { fontSize: "1rem", lineHeight: "1.5rem", letterSpacing: "0em" },
|
|
437
|
+
// 16px / 24px
|
|
438
|
+
sm: { fontSize: "0.875rem", lineHeight: "1.25rem", letterSpacing: "0em" },
|
|
439
|
+
// 14px / 20px
|
|
440
|
+
xs: { fontSize: "0.75rem", lineHeight: "1.125rem", letterSpacing: "0em" }
|
|
441
|
+
// 12px / 18px
|
|
442
|
+
};
|
|
443
|
+
var fontSizes = {
|
|
444
|
+
xs: textScale.xs.fontSize,
|
|
445
|
+
sm: textScale.sm.fontSize,
|
|
446
|
+
md: textScale.md.fontSize,
|
|
447
|
+
lg: textScale.lg.fontSize,
|
|
448
|
+
xl: textScale.xl.fontSize
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
// ../../app/ui-kit/pixelplay-ui/shared/config/themes/rosewood.ts
|
|
452
|
+
var rosewoodLightTheme = {
|
|
453
|
+
// Surfaces — warm blush tones
|
|
454
|
+
surface: colors.rose[25],
|
|
455
|
+
"surface-dim": colors.rose[50],
|
|
456
|
+
"surface-bright": "#FFFFFF",
|
|
457
|
+
"surface-container-lowest": "#FFFFFF",
|
|
458
|
+
"surface-container-low": colors.rose[25],
|
|
459
|
+
"surface-container": colors.rose[50],
|
|
460
|
+
"surface-container-high": colors.rose[100],
|
|
461
|
+
"surface-container-highest": colors.rose[200],
|
|
462
|
+
// Content
|
|
463
|
+
"on-surface": colors.stone[900],
|
|
464
|
+
"on-surface-variant": colors.stone[600],
|
|
465
|
+
"inverse-surface": colors.stone[900],
|
|
466
|
+
"inverse-on-surface": colors.rose[25],
|
|
467
|
+
// Primary — rich rosewood pink (600 for contrast against blush surfaces)
|
|
468
|
+
primary: colors.red[400],
|
|
469
|
+
"on-primary": "#FFFFFF",
|
|
470
|
+
"primary-container": colors.rose[100],
|
|
471
|
+
"on-primary-container": colors.rose[800],
|
|
472
|
+
"inverse-primary": colors.rose[300],
|
|
473
|
+
// Secondary — deep burgundy
|
|
474
|
+
secondary: colors.red[700],
|
|
475
|
+
"on-secondary": "#FFFFFF",
|
|
476
|
+
"secondary-container": colors.rose[200],
|
|
477
|
+
"on-secondary-container": colors.red[900],
|
|
478
|
+
// Tertiary — dusty rose gold
|
|
479
|
+
tertiary: colors.pink[400],
|
|
480
|
+
"on-tertiary": "#FFFFFF",
|
|
481
|
+
"tertiary-container": colors.pink[100],
|
|
482
|
+
"on-tertiary-container": colors.pink[800],
|
|
483
|
+
// Utility
|
|
484
|
+
outline: colors.rose[300],
|
|
485
|
+
"outline-variant": colors.rose[200],
|
|
486
|
+
scrim: "rgba(68,44,46,0.4)",
|
|
487
|
+
shadow: "rgba(68,44,46,0.08)",
|
|
488
|
+
// Feedback
|
|
489
|
+
error: colors.error[500],
|
|
490
|
+
"on-error": "#FFFFFF",
|
|
491
|
+
"error-container": colors.error[100],
|
|
492
|
+
"on-error-container": colors.error[800],
|
|
493
|
+
success: colors.success[500],
|
|
494
|
+
"on-success": "#FFFFFF",
|
|
495
|
+
"success-container": colors.success[100],
|
|
496
|
+
"on-success-container": colors.success[800],
|
|
497
|
+
warning: colors.warning[500],
|
|
498
|
+
"on-warning": "#FFFFFF",
|
|
499
|
+
"warning-container": colors.warning[100],
|
|
500
|
+
"on-warning-container": colors.warning[800],
|
|
501
|
+
info: colors.blue[500],
|
|
502
|
+
"on-info": "#FFFFFF",
|
|
503
|
+
"info-container": colors.blue[100],
|
|
504
|
+
"on-info-container": colors.blue[800],
|
|
505
|
+
// States
|
|
506
|
+
"surface-tint": colors.rose[200],
|
|
507
|
+
"state-hover": "rgba(68,44,46,0.06)",
|
|
508
|
+
"state-focus": "rgba(68,44,46,0.10)",
|
|
509
|
+
"state-pressed": "rgba(68,44,46,0.10)",
|
|
510
|
+
"state-dragged": "rgba(68,44,46,0.14)",
|
|
511
|
+
"state-disabled": "rgba(68,44,46,0.38)",
|
|
512
|
+
// Categorical
|
|
513
|
+
"graphic-1": colors.pink[400],
|
|
514
|
+
"graphic-2": colors.red[700],
|
|
515
|
+
"graphic-3": colors.warning[500],
|
|
516
|
+
"graphic-4": colors.success[500],
|
|
517
|
+
"graphic-5": colors.orange[500],
|
|
518
|
+
"graphic-6": colors.error[500],
|
|
519
|
+
"graphic-7": colors.blue[500],
|
|
520
|
+
"graphic-8": colors.pink[600],
|
|
521
|
+
"graphic-9": colors.amber[500],
|
|
522
|
+
"graphic-10": colors.slate[500],
|
|
523
|
+
"on-graphic": "#FFFFFF",
|
|
524
|
+
"graphic-1-container": colors.pink[50],
|
|
525
|
+
"graphic-2-container": colors.red[50],
|
|
526
|
+
"graphic-3-container": colors.warning[50],
|
|
527
|
+
"graphic-4-container": colors.success[50],
|
|
528
|
+
"graphic-5-container": colors.orange[50],
|
|
529
|
+
"graphic-6-container": colors.error[50],
|
|
530
|
+
"graphic-7-container": colors.blue[50],
|
|
531
|
+
"graphic-8-container": colors.pink[50],
|
|
532
|
+
"graphic-9-container": colors.amber[50],
|
|
533
|
+
"graphic-10-container": colors.slate[50],
|
|
534
|
+
"on-graphic-1-container": colors.pink[800],
|
|
535
|
+
"on-graphic-2-container": colors.red[800],
|
|
536
|
+
"on-graphic-3-container": colors.warning[800],
|
|
537
|
+
"on-graphic-4-container": colors.success[800],
|
|
538
|
+
"on-graphic-5-container": colors.orange[800],
|
|
539
|
+
"on-graphic-6-container": colors.error[800],
|
|
540
|
+
"on-graphic-7-container": colors.blue[800],
|
|
541
|
+
"on-graphic-8-container": colors.pink[800],
|
|
542
|
+
"on-graphic-9-container": colors.amber[800],
|
|
543
|
+
"on-graphic-10-container": colors.slate[800],
|
|
544
|
+
// Status
|
|
545
|
+
"status-positive": colors.success[500],
|
|
546
|
+
"status-warning": colors.warning[500],
|
|
547
|
+
"status-negative": colors.red[700],
|
|
548
|
+
"status-neutral": colors.stone[400],
|
|
549
|
+
// Progress
|
|
550
|
+
"progress-track": colors.rose[200],
|
|
551
|
+
"progress-indicator": colors.red[700],
|
|
552
|
+
"progress-buffer": colors.pink[400],
|
|
553
|
+
// Scales
|
|
554
|
+
"scale-low": colors.success[500],
|
|
555
|
+
"scale-medium": colors.warning[500],
|
|
556
|
+
"scale-high": colors.red[700],
|
|
557
|
+
// Infrastructure
|
|
558
|
+
"graphic-outline": colors.rose[300],
|
|
559
|
+
"graphic-divider": colors.rose[200],
|
|
560
|
+
"graphic-label": colors.stone[600],
|
|
561
|
+
"graphic-marker": colors.red[700],
|
|
562
|
+
// Overlays
|
|
563
|
+
"graphic-hover": colors.rose[100],
|
|
564
|
+
"graphic-muted": colors.rose[200],
|
|
565
|
+
"annotation-line": colors.stone[400]
|
|
566
|
+
};
|
|
567
|
+
var rosewoodDarkTheme = {
|
|
568
|
+
// Surfaces — deep burgundy-charcoal
|
|
569
|
+
surface: colors.stone[900],
|
|
570
|
+
"surface-dim": colors.stone[950],
|
|
571
|
+
"surface-bright": colors.stone[800],
|
|
572
|
+
"surface-container-lowest": colors.stone[950],
|
|
573
|
+
"surface-container-low": colors.stone[900],
|
|
574
|
+
"surface-container": colors.stone[800],
|
|
575
|
+
"surface-container-high": colors.stone[700],
|
|
576
|
+
"surface-container-highest": colors.stone[600],
|
|
577
|
+
// Content
|
|
578
|
+
"on-surface": colors.rose[25],
|
|
579
|
+
"on-surface-variant": colors.rose[300],
|
|
580
|
+
"inverse-surface": colors.rose[25],
|
|
581
|
+
"inverse-on-surface": colors.stone[900],
|
|
582
|
+
// Primary — warm pink lighter for dark bg
|
|
583
|
+
primary: colors.rose[200],
|
|
584
|
+
"on-primary": colors.stone[900],
|
|
585
|
+
"primary-container": colors.stone[700],
|
|
586
|
+
"on-primary-container": colors.rose[200],
|
|
587
|
+
"inverse-primary": colors.red[700],
|
|
588
|
+
// Secondary
|
|
589
|
+
secondary: colors.rose[300],
|
|
590
|
+
"on-secondary": colors.red[950],
|
|
591
|
+
"secondary-container": colors.red[900],
|
|
592
|
+
"on-secondary-container": colors.rose[200],
|
|
593
|
+
// Tertiary
|
|
594
|
+
tertiary: colors.pink[300],
|
|
595
|
+
"on-tertiary": colors.pink[950],
|
|
596
|
+
"tertiary-container": colors.pink[800],
|
|
597
|
+
"on-tertiary-container": colors.pink[100],
|
|
598
|
+
// Utility
|
|
599
|
+
outline: colors.stone[600],
|
|
600
|
+
"outline-variant": colors.stone[700],
|
|
601
|
+
scrim: "rgba(255,255,255,0.1)",
|
|
602
|
+
shadow: "rgba(0,0,0,0.3)",
|
|
603
|
+
// Feedback
|
|
604
|
+
error: colors.error[400],
|
|
605
|
+
"on-error": colors.error[900],
|
|
606
|
+
"error-container": colors.error[950],
|
|
607
|
+
"on-error-container": colors.error[100],
|
|
608
|
+
success: colors.success[400],
|
|
609
|
+
"on-success": colors.success[900],
|
|
610
|
+
"success-container": colors.success[950],
|
|
611
|
+
"on-success-container": colors.success[100],
|
|
612
|
+
warning: colors.warning[400],
|
|
613
|
+
"on-warning": colors.warning[900],
|
|
614
|
+
"warning-container": colors.warning[950],
|
|
615
|
+
"on-warning-container": colors.warning[100],
|
|
616
|
+
info: colors.blue[400],
|
|
617
|
+
"on-info": colors.blue[900],
|
|
618
|
+
"info-container": colors.blue[950],
|
|
619
|
+
"on-info-container": colors.blue[100],
|
|
620
|
+
// States
|
|
621
|
+
"surface-tint": colors.rose[200],
|
|
622
|
+
"state-hover": "rgba(254,219,208,0.08)",
|
|
623
|
+
"state-focus": "rgba(254,219,208,0.12)",
|
|
624
|
+
"state-pressed": "rgba(254,219,208,0.12)",
|
|
625
|
+
"state-dragged": "rgba(254,219,208,0.16)",
|
|
626
|
+
"state-disabled": "rgba(255,245,243,0.38)",
|
|
627
|
+
// Categorical
|
|
628
|
+
"graphic-1": colors.pink[300],
|
|
629
|
+
"graphic-2": colors.rose[300],
|
|
630
|
+
"graphic-3": colors.warning[400],
|
|
631
|
+
"graphic-4": colors.success[400],
|
|
632
|
+
"graphic-5": colors.orange[400],
|
|
633
|
+
"graphic-6": colors.error[400],
|
|
634
|
+
"graphic-7": colors.blue[400],
|
|
635
|
+
"graphic-8": colors.pink[400],
|
|
636
|
+
"graphic-9": colors.amber[400],
|
|
637
|
+
"graphic-10": colors.slate[400],
|
|
638
|
+
"on-graphic": "#FFFFFF",
|
|
639
|
+
"graphic-1-container": colors.pink[950],
|
|
640
|
+
"graphic-2-container": colors.rose[950],
|
|
641
|
+
"graphic-3-container": colors.warning[950],
|
|
642
|
+
"graphic-4-container": colors.success[950],
|
|
643
|
+
"graphic-5-container": colors.orange[950],
|
|
644
|
+
"graphic-6-container": colors.error[950],
|
|
645
|
+
"graphic-7-container": colors.blue[950],
|
|
646
|
+
"graphic-8-container": colors.pink[950],
|
|
647
|
+
"graphic-9-container": colors.amber[950],
|
|
648
|
+
"graphic-10-container": colors.slate[950],
|
|
649
|
+
"on-graphic-1-container": colors.pink[100],
|
|
650
|
+
"on-graphic-2-container": colors.rose[100],
|
|
651
|
+
"on-graphic-3-container": colors.warning[100],
|
|
652
|
+
"on-graphic-4-container": colors.success[100],
|
|
653
|
+
"on-graphic-5-container": colors.orange[100],
|
|
654
|
+
"on-graphic-6-container": colors.error[100],
|
|
655
|
+
"on-graphic-7-container": colors.blue[100],
|
|
656
|
+
"on-graphic-8-container": colors.pink[100],
|
|
657
|
+
"on-graphic-9-container": colors.amber[100],
|
|
658
|
+
"on-graphic-10-container": colors.slate[100],
|
|
659
|
+
// Status
|
|
660
|
+
"status-positive": colors.success[400],
|
|
661
|
+
"status-warning": colors.warning[400],
|
|
662
|
+
"status-negative": colors.rose[300],
|
|
663
|
+
"status-neutral": colors.stone[500],
|
|
664
|
+
// Progress
|
|
665
|
+
"progress-track": colors.stone[700],
|
|
666
|
+
"progress-indicator": colors.rose[200],
|
|
667
|
+
"progress-buffer": colors.stone[600],
|
|
668
|
+
// Scales
|
|
669
|
+
"scale-low": colors.success[400],
|
|
670
|
+
"scale-medium": colors.warning[400],
|
|
671
|
+
"scale-high": colors.rose[300],
|
|
672
|
+
// Infrastructure
|
|
673
|
+
"graphic-outline": colors.stone[600],
|
|
674
|
+
"graphic-divider": colors.stone[700],
|
|
675
|
+
"graphic-label": colors.rose[300],
|
|
676
|
+
"graphic-marker": colors.rose[200],
|
|
677
|
+
// Overlays
|
|
678
|
+
"graphic-hover": colors.stone[700],
|
|
679
|
+
"graphic-muted": colors.stone[700],
|
|
680
|
+
"annotation-line": colors.stone[500]
|
|
681
|
+
};
|
|
682
|
+
var rosewoodTheme = {
|
|
683
|
+
label: "Rosewood",
|
|
684
|
+
description: "Elegant fashion & retail",
|
|
685
|
+
swatch: colors.rose[200],
|
|
686
|
+
light: rosewoodLightTheme,
|
|
687
|
+
dark: rosewoodDarkTheme,
|
|
688
|
+
globals: {
|
|
689
|
+
"--radius-xs": "0.5rem",
|
|
690
|
+
"--radius-sm": "0.625rem",
|
|
691
|
+
"--radius-md": "0.875rem",
|
|
692
|
+
"--radius-lg": "1.25rem",
|
|
693
|
+
"--radius-xl": "1.5rem",
|
|
694
|
+
"--radius-2xl": "2rem",
|
|
695
|
+
"--radius-3xl": "2.5rem",
|
|
696
|
+
"--radius-4xl": "3rem",
|
|
697
|
+
"--font-sans": "'JetBrains Mono', 'Courier New', monospace",
|
|
698
|
+
"--font-heading": "'JetBrains Mono', 'Courier New', monospace",
|
|
699
|
+
"--font-body": "'JetBrains Mono', 'Courier New', monospace",
|
|
700
|
+
"--font-weight-normal": "400",
|
|
701
|
+
"--font-weight-medium": "500",
|
|
702
|
+
"--font-weight-semibold": "600",
|
|
703
|
+
"--font-weight-bold": "700",
|
|
704
|
+
// ── Typography scale (standard sizes) ──
|
|
705
|
+
"--text-xs": "0.75rem",
|
|
706
|
+
"--text-xs--line-height": "1.125rem",
|
|
707
|
+
"--text-sm": "0.875rem",
|
|
708
|
+
"--text-sm--line-height": "1.25rem",
|
|
709
|
+
"--text-base": "1rem",
|
|
710
|
+
"--text-base--line-height": "1.5rem",
|
|
711
|
+
"--text-lg": "1.125rem",
|
|
712
|
+
"--text-lg--line-height": "1.75rem",
|
|
713
|
+
"--text-xl": "1.25rem",
|
|
714
|
+
"--text-xl--line-height": "1.875rem",
|
|
715
|
+
"--text-2xl": "1.5rem",
|
|
716
|
+
"--text-2xl--line-height": "2rem",
|
|
717
|
+
"--text-3xl": "1.875rem",
|
|
718
|
+
"--text-3xl--line-height": "2.375rem",
|
|
719
|
+
"--text-4xl": "2.25rem",
|
|
720
|
+
"--text-4xl--line-height": "2.75rem",
|
|
721
|
+
"--letter-spacing-normal": "0em",
|
|
722
|
+
"--letter-spacing-tight": "-0.02em",
|
|
723
|
+
"--shadow-xs": "0 1px 4px 0 rgba(68,44,46,0.04)",
|
|
724
|
+
"--shadow-sm": "0 2px 8px -1px rgba(68,44,46,0.06)",
|
|
725
|
+
"--shadow-md": "0 4px 16px -2px rgba(68,44,46,0.06)",
|
|
726
|
+
"--shadow-lg": "0 8px 28px -4px rgba(68,44,46,0.06)",
|
|
727
|
+
"--shadow-xl": "0 16px 44px -6px rgba(68,44,46,0.06)",
|
|
728
|
+
"--shadow-2xl": "0 24px 60px -8px rgba(68,44,46,0.06)"
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
// ../../app/ui-kit/pixelplay-ui/shared/config/themes/botanica.ts
|
|
733
|
+
var botanicaLightTheme = {
|
|
734
|
+
// Surfaces — warm olive-cream
|
|
735
|
+
surface: colors.yellow[25],
|
|
736
|
+
"surface-dim": colors.yellow[100],
|
|
737
|
+
"surface-bright": "#FFFFFF",
|
|
738
|
+
"surface-container-lowest": "#FFFFFF",
|
|
739
|
+
"surface-container-low": colors.yellow[50],
|
|
740
|
+
"surface-container": colors.yellow[100],
|
|
741
|
+
"surface-container-high": colors.yellow[200],
|
|
742
|
+
"surface-container-highest": colors.lime[200],
|
|
743
|
+
// Content
|
|
744
|
+
"on-surface": colors.emerald[950],
|
|
745
|
+
"on-surface-variant": colors.emerald[700],
|
|
746
|
+
"inverse-surface": colors.emerald[950],
|
|
747
|
+
"inverse-on-surface": colors.lime[50],
|
|
748
|
+
// Primary — deep herb green
|
|
749
|
+
primary: colors.emerald[700],
|
|
750
|
+
"on-primary": "#FFFFFF",
|
|
751
|
+
"primary-container": colors.emerald[200],
|
|
752
|
+
"on-primary-container": colors.emerald[950],
|
|
753
|
+
"inverse-primary": colors.emerald[400],
|
|
754
|
+
// Secondary — spicy orange-red
|
|
755
|
+
secondary: colors.orange[500],
|
|
756
|
+
"on-secondary": "#FFFFFF",
|
|
757
|
+
"secondary-container": colors.orange[100],
|
|
758
|
+
"on-secondary-container": colors.orange[900],
|
|
759
|
+
// Tertiary — earthy olive
|
|
760
|
+
tertiary: colors.lime[600],
|
|
761
|
+
"on-tertiary": "#FFFFFF",
|
|
762
|
+
"tertiary-container": colors.lime[100],
|
|
763
|
+
"on-tertiary-container": colors.lime[900],
|
|
764
|
+
// Utility
|
|
765
|
+
outline: colors.emerald[300],
|
|
766
|
+
"outline-variant": colors.emerald[200],
|
|
767
|
+
scrim: "rgba(26,58,42,0.4)",
|
|
768
|
+
shadow: "rgba(26,58,42,0.10)",
|
|
769
|
+
// Feedback
|
|
770
|
+
error: colors.error[600],
|
|
771
|
+
"on-error": "#FFFFFF",
|
|
772
|
+
"error-container": colors.error[100],
|
|
773
|
+
"on-error-container": colors.error[800],
|
|
774
|
+
success: colors.success[600],
|
|
775
|
+
"on-success": "#FFFFFF",
|
|
776
|
+
"success-container": colors.success[100],
|
|
777
|
+
"on-success-container": colors.success[800],
|
|
778
|
+
warning: colors.warning[600],
|
|
779
|
+
"on-warning": "#FFFFFF",
|
|
780
|
+
"warning-container": colors.warning[100],
|
|
781
|
+
"on-warning-container": colors.warning[800],
|
|
782
|
+
info: colors.blue[600],
|
|
783
|
+
"on-info": "#FFFFFF",
|
|
784
|
+
"info-container": colors.blue[100],
|
|
785
|
+
"on-info-container": colors.blue[800],
|
|
786
|
+
// States
|
|
787
|
+
"surface-tint": colors.emerald[700],
|
|
788
|
+
"state-hover": "rgba(26,58,42,0.06)",
|
|
789
|
+
"state-focus": "rgba(26,58,42,0.10)",
|
|
790
|
+
"state-pressed": "rgba(26,58,42,0.10)",
|
|
791
|
+
"state-dragged": "rgba(26,58,42,0.14)",
|
|
792
|
+
"state-disabled": "rgba(26,58,42,0.38)",
|
|
793
|
+
// Categorical
|
|
794
|
+
"graphic-1": colors.emerald[700],
|
|
795
|
+
"graphic-2": colors.orange[500],
|
|
796
|
+
"graphic-3": colors.lime[600],
|
|
797
|
+
"graphic-4": colors.success[600],
|
|
798
|
+
"graphic-5": colors.warning[500],
|
|
799
|
+
"graphic-6": colors.error[600],
|
|
800
|
+
"graphic-7": colors.blue[600],
|
|
801
|
+
"graphic-8": colors.green[600],
|
|
802
|
+
"graphic-9": colors.orange[600],
|
|
803
|
+
"graphic-10": colors.teal[600],
|
|
804
|
+
"on-graphic": "#FFFFFF",
|
|
805
|
+
"graphic-1-container": colors.emerald[50],
|
|
806
|
+
"graphic-2-container": colors.orange[50],
|
|
807
|
+
"graphic-3-container": colors.lime[50],
|
|
808
|
+
"graphic-4-container": colors.success[50],
|
|
809
|
+
"graphic-5-container": colors.warning[50],
|
|
810
|
+
"graphic-6-container": colors.error[50],
|
|
811
|
+
"graphic-7-container": colors.blue[50],
|
|
812
|
+
"graphic-8-container": colors.green[50],
|
|
813
|
+
"graphic-9-container": colors.orange[50],
|
|
814
|
+
"graphic-10-container": colors.teal[50],
|
|
815
|
+
"on-graphic-1-container": colors.emerald[800],
|
|
816
|
+
"on-graphic-2-container": colors.orange[800],
|
|
817
|
+
"on-graphic-3-container": colors.lime[800],
|
|
818
|
+
"on-graphic-4-container": colors.success[800],
|
|
819
|
+
"on-graphic-5-container": colors.warning[800],
|
|
820
|
+
"on-graphic-6-container": colors.error[800],
|
|
821
|
+
"on-graphic-7-container": colors.blue[800],
|
|
822
|
+
"on-graphic-8-container": colors.green[800],
|
|
823
|
+
"on-graphic-9-container": colors.orange[800],
|
|
824
|
+
"on-graphic-10-container": colors.teal[800],
|
|
825
|
+
// Status
|
|
826
|
+
"status-positive": colors.success[600],
|
|
827
|
+
"status-warning": colors.warning[600],
|
|
828
|
+
"status-negative": colors.error[600],
|
|
829
|
+
"status-neutral": colors.emerald[400],
|
|
830
|
+
// Progress
|
|
831
|
+
"progress-track": colors.emerald[200],
|
|
832
|
+
"progress-indicator": colors.emerald[700],
|
|
833
|
+
"progress-buffer": colors.emerald[400],
|
|
834
|
+
// Scales
|
|
835
|
+
"scale-low": colors.success[600],
|
|
836
|
+
"scale-medium": colors.warning[600],
|
|
837
|
+
"scale-high": colors.error[600],
|
|
838
|
+
// Infrastructure
|
|
839
|
+
"graphic-outline": colors.emerald[300],
|
|
840
|
+
"graphic-divider": colors.emerald[200],
|
|
841
|
+
"graphic-label": colors.emerald[700],
|
|
842
|
+
"graphic-marker": colors.orange[500],
|
|
843
|
+
// Overlays
|
|
844
|
+
"graphic-hover": colors.emerald[50],
|
|
845
|
+
"graphic-muted": colors.emerald[200],
|
|
846
|
+
"annotation-line": colors.emerald[400]
|
|
847
|
+
};
|
|
848
|
+
var botanicaDarkTheme = {
|
|
849
|
+
// Surfaces — dark forest
|
|
850
|
+
surface: colors.emerald[975],
|
|
851
|
+
"surface-dim": colors.emerald[975],
|
|
852
|
+
"surface-bright": colors.emerald[900],
|
|
853
|
+
"surface-container-lowest": colors.emerald[975],
|
|
854
|
+
"surface-container-low": colors.emerald[950],
|
|
855
|
+
"surface-container": colors.emerald[900],
|
|
856
|
+
"surface-container-high": colors.green[900],
|
|
857
|
+
"surface-container-highest": colors.green[800],
|
|
858
|
+
// Content
|
|
859
|
+
"on-surface": colors.emerald[50],
|
|
860
|
+
"on-surface-variant": colors.emerald[300],
|
|
861
|
+
"inverse-surface": colors.emerald[50],
|
|
862
|
+
"inverse-on-surface": colors.emerald[950],
|
|
863
|
+
// Primary
|
|
864
|
+
primary: colors.emerald[300],
|
|
865
|
+
"on-primary": colors.emerald[950],
|
|
866
|
+
"primary-container": colors.emerald[900],
|
|
867
|
+
"on-primary-container": colors.emerald[200],
|
|
868
|
+
"inverse-primary": colors.emerald[700],
|
|
869
|
+
// Secondary
|
|
870
|
+
secondary: colors.orange[400],
|
|
871
|
+
"on-secondary": colors.orange[950],
|
|
872
|
+
"secondary-container": colors.orange[900],
|
|
873
|
+
"on-secondary-container": colors.orange[100],
|
|
874
|
+
// Tertiary
|
|
875
|
+
tertiary: colors.lime[400],
|
|
876
|
+
"on-tertiary": colors.lime[950],
|
|
877
|
+
"tertiary-container": colors.lime[900],
|
|
878
|
+
"on-tertiary-container": colors.lime[100],
|
|
879
|
+
// Utility
|
|
880
|
+
outline: colors.emerald[600],
|
|
881
|
+
"outline-variant": colors.emerald[800],
|
|
882
|
+
scrim: "rgba(255,255,255,0.1)",
|
|
883
|
+
shadow: "rgba(0,0,0,0.3)",
|
|
884
|
+
// Feedback
|
|
885
|
+
error: colors.error[400],
|
|
886
|
+
"on-error": colors.error[950],
|
|
887
|
+
"error-container": colors.error[900],
|
|
888
|
+
"on-error-container": colors.error[100],
|
|
889
|
+
success: colors.success[400],
|
|
890
|
+
"on-success": colors.success[950],
|
|
891
|
+
"success-container": colors.success[900],
|
|
892
|
+
"on-success-container": colors.success[100],
|
|
893
|
+
warning: colors.warning[400],
|
|
894
|
+
"on-warning": colors.warning[950],
|
|
895
|
+
"warning-container": colors.warning[900],
|
|
896
|
+
"on-warning-container": colors.warning[100],
|
|
897
|
+
info: colors.blue[400],
|
|
898
|
+
"on-info": colors.blue[950],
|
|
899
|
+
"info-container": colors.blue[900],
|
|
900
|
+
"on-info-container": colors.blue[100],
|
|
901
|
+
// States
|
|
902
|
+
"surface-tint": colors.emerald[300],
|
|
903
|
+
"state-hover": "rgba(110,231,183,0.08)",
|
|
904
|
+
"state-focus": "rgba(110,231,183,0.12)",
|
|
905
|
+
"state-pressed": "rgba(110,231,183,0.12)",
|
|
906
|
+
"state-dragged": "rgba(110,231,183,0.16)",
|
|
907
|
+
"state-disabled": "rgba(236,253,245,0.38)",
|
|
908
|
+
// Categorical
|
|
909
|
+
"graphic-1": colors.emerald[300],
|
|
910
|
+
"graphic-2": colors.orange[400],
|
|
911
|
+
"graphic-3": colors.lime[400],
|
|
912
|
+
"graphic-4": colors.success[400],
|
|
913
|
+
"graphic-5": colors.warning[400],
|
|
914
|
+
"graphic-6": colors.error[400],
|
|
915
|
+
"graphic-7": colors.blue[400],
|
|
916
|
+
"graphic-8": colors.green[400],
|
|
917
|
+
"graphic-9": colors.orange[400],
|
|
918
|
+
"graphic-10": colors.teal[400],
|
|
919
|
+
"on-graphic": "#FFFFFF",
|
|
920
|
+
"graphic-1-container": colors.emerald[950],
|
|
921
|
+
"graphic-2-container": colors.orange[950],
|
|
922
|
+
"graphic-3-container": colors.lime[950],
|
|
923
|
+
"graphic-4-container": colors.success[950],
|
|
924
|
+
"graphic-5-container": colors.warning[950],
|
|
925
|
+
"graphic-6-container": colors.error[950],
|
|
926
|
+
"graphic-7-container": colors.blue[950],
|
|
927
|
+
"graphic-8-container": colors.green[950],
|
|
928
|
+
"graphic-9-container": colors.orange[950],
|
|
929
|
+
"graphic-10-container": colors.teal[950],
|
|
930
|
+
"on-graphic-1-container": colors.emerald[100],
|
|
931
|
+
"on-graphic-2-container": colors.orange[100],
|
|
932
|
+
"on-graphic-3-container": colors.lime[100],
|
|
933
|
+
"on-graphic-4-container": colors.success[100],
|
|
934
|
+
"on-graphic-5-container": colors.warning[100],
|
|
935
|
+
"on-graphic-6-container": colors.error[100],
|
|
936
|
+
"on-graphic-7-container": colors.blue[100],
|
|
937
|
+
"on-graphic-8-container": colors.green[100],
|
|
938
|
+
"on-graphic-9-container": colors.orange[100],
|
|
939
|
+
"on-graphic-10-container": colors.teal[100],
|
|
940
|
+
// Status
|
|
941
|
+
"status-positive": colors.success[400],
|
|
942
|
+
"status-warning": colors.warning[400],
|
|
943
|
+
"status-negative": colors.error[400],
|
|
944
|
+
"status-neutral": colors.emerald[500],
|
|
945
|
+
// Progress
|
|
946
|
+
"progress-track": colors.emerald[800],
|
|
947
|
+
"progress-indicator": colors.emerald[300],
|
|
948
|
+
"progress-buffer": colors.emerald[600],
|
|
949
|
+
// Scales
|
|
950
|
+
"scale-low": colors.success[400],
|
|
951
|
+
"scale-medium": colors.warning[400],
|
|
952
|
+
"scale-high": colors.error[400],
|
|
953
|
+
// Infrastructure
|
|
954
|
+
"graphic-outline": colors.emerald[600],
|
|
955
|
+
"graphic-divider": colors.emerald[800],
|
|
956
|
+
"graphic-label": colors.emerald[300],
|
|
957
|
+
"graphic-marker": colors.orange[400],
|
|
958
|
+
// Overlays
|
|
959
|
+
"graphic-hover": colors.emerald[900],
|
|
960
|
+
"graphic-muted": colors.emerald[800],
|
|
961
|
+
"annotation-line": colors.emerald[500]
|
|
962
|
+
};
|
|
963
|
+
var botanicaTheme = {
|
|
964
|
+
label: "Botanica",
|
|
965
|
+
description: "Nature-inspired cooking & lifestyle",
|
|
966
|
+
swatch: colors.emerald[700],
|
|
967
|
+
light: botanicaLightTheme,
|
|
968
|
+
dark: botanicaDarkTheme,
|
|
969
|
+
globals: {
|
|
970
|
+
"--radius-xs": "0.25rem",
|
|
971
|
+
"--radius-sm": "0.375rem",
|
|
972
|
+
"--radius-md": "0.5rem",
|
|
973
|
+
"--radius-lg": "0.75rem",
|
|
974
|
+
"--radius-xl": "1rem",
|
|
975
|
+
"--radius-2xl": "1.25rem",
|
|
976
|
+
"--radius-3xl": "1.5rem",
|
|
977
|
+
"--radius-4xl": "2rem",
|
|
978
|
+
"--font-sans": "'Inter', 'Helvetica Neue', Arial, sans-serif",
|
|
979
|
+
"--font-heading": "'Inter', 'Helvetica Neue', Arial, sans-serif",
|
|
980
|
+
"--font-body": "'Inter', 'Helvetica Neue', Arial, sans-serif",
|
|
981
|
+
"--font-weight-normal": "400",
|
|
982
|
+
"--font-weight-medium": "500",
|
|
983
|
+
"--font-weight-semibold": "600",
|
|
984
|
+
"--font-weight-bold": "700",
|
|
985
|
+
// ── Typography scale (geometric sans — standard sizes, moderate leading) ──
|
|
986
|
+
"--text-xs": "0.75rem",
|
|
987
|
+
"--text-xs--line-height": "1.125rem",
|
|
988
|
+
"--text-sm": "0.875rem",
|
|
989
|
+
"--text-sm--line-height": "1.25rem",
|
|
990
|
+
"--text-base": "1rem",
|
|
991
|
+
"--text-base--line-height": "1.5rem",
|
|
992
|
+
"--text-lg": "1.125rem",
|
|
993
|
+
"--text-lg--line-height": "1.75rem",
|
|
994
|
+
"--text-xl": "1.25rem",
|
|
995
|
+
"--text-xl--line-height": "1.875rem",
|
|
996
|
+
"--text-2xl": "1.5rem",
|
|
997
|
+
"--text-2xl--line-height": "2rem",
|
|
998
|
+
"--text-3xl": "1.875rem",
|
|
999
|
+
"--text-3xl--line-height": "2.375rem",
|
|
1000
|
+
"--text-4xl": "2.25rem",
|
|
1001
|
+
"--text-4xl--line-height": "2.75rem",
|
|
1002
|
+
"--letter-spacing-normal": "0.005em",
|
|
1003
|
+
"--letter-spacing-tight": "-0.02em",
|
|
1004
|
+
"--shadow-xs": "0 1px 2px 0 rgba(26,58,42,0.08)",
|
|
1005
|
+
"--shadow-sm": "0 2px 4px -1px rgba(26,58,42,0.10)",
|
|
1006
|
+
"--shadow-md": "0 3px 10px -2px rgba(26,58,42,0.10)",
|
|
1007
|
+
"--shadow-lg": "0 6px 20px -4px rgba(26,58,42,0.12)",
|
|
1008
|
+
"--shadow-xl": "0 12px 32px -6px rgba(26,58,42,0.12)",
|
|
1009
|
+
"--shadow-2xl": "0 20px 48px -8px rgba(26,58,42,0.14)"
|
|
1010
|
+
}
|
|
1011
|
+
};
|
|
1012
|
+
|
|
1013
|
+
// ../../app/ui-kit/pixelplay-ui/shared/config/themes/inkwell.ts
|
|
1014
|
+
var inkwellLightTheme = {
|
|
1015
|
+
// Surfaces — pure white / cool gray
|
|
1016
|
+
surface: "#FFFFFF",
|
|
1017
|
+
"surface-dim": colors.gray[100],
|
|
1018
|
+
"surface-bright": "#FFFFFF",
|
|
1019
|
+
"surface-container-lowest": "#FFFFFF",
|
|
1020
|
+
"surface-container-low": colors.gray[50],
|
|
1021
|
+
"surface-container": colors.gray[100],
|
|
1022
|
+
"surface-container-high": colors.gray[200],
|
|
1023
|
+
"surface-container-highest": colors.gray[300],
|
|
1024
|
+
// Content — near black
|
|
1025
|
+
"on-surface": colors.gray[950],
|
|
1026
|
+
"on-surface-variant": colors.gray[700],
|
|
1027
|
+
"inverse-surface": colors.gray[900],
|
|
1028
|
+
"inverse-on-surface": colors.gray[50],
|
|
1029
|
+
// Primary — deep purple (editorial ink)
|
|
1030
|
+
primary: colors.violet[600],
|
|
1031
|
+
"on-primary": "#FFFFFF",
|
|
1032
|
+
"primary-container": colors.violet[100],
|
|
1033
|
+
"on-primary-container": colors.violet[900],
|
|
1034
|
+
"inverse-primary": colors.violet[300],
|
|
1035
|
+
// Secondary — muted charcoal
|
|
1036
|
+
secondary: colors.gray[700],
|
|
1037
|
+
"on-secondary": "#FFFFFF",
|
|
1038
|
+
"secondary-container": colors.gray[200],
|
|
1039
|
+
"on-secondary-container": colors.gray[900],
|
|
1040
|
+
// Tertiary — editorial red accent
|
|
1041
|
+
tertiary: colors.red[600],
|
|
1042
|
+
"on-tertiary": "#FFFFFF",
|
|
1043
|
+
"tertiary-container": colors.red[100],
|
|
1044
|
+
"on-tertiary-container": colors.red[900],
|
|
1045
|
+
// Utility
|
|
1046
|
+
outline: colors.gray[300],
|
|
1047
|
+
"outline-variant": colors.gray[200],
|
|
1048
|
+
scrim: "rgba(0,0,0,0.5)",
|
|
1049
|
+
shadow: "rgba(0,0,0,0.15)",
|
|
1050
|
+
// Feedback
|
|
1051
|
+
error: colors.error[600],
|
|
1052
|
+
"on-error": "#FFFFFF",
|
|
1053
|
+
"error-container": colors.error[100],
|
|
1054
|
+
"on-error-container": colors.error[800],
|
|
1055
|
+
success: colors.success[600],
|
|
1056
|
+
"on-success": "#FFFFFF",
|
|
1057
|
+
"success-container": colors.success[100],
|
|
1058
|
+
"on-success-container": colors.success[800],
|
|
1059
|
+
warning: colors.warning[600],
|
|
1060
|
+
"on-warning": "#FFFFFF",
|
|
1061
|
+
"warning-container": colors.warning[100],
|
|
1062
|
+
"on-warning-container": colors.warning[800],
|
|
1063
|
+
info: colors.blue[600],
|
|
1064
|
+
"on-info": "#FFFFFF",
|
|
1065
|
+
"info-container": colors.blue[100],
|
|
1066
|
+
"on-info-container": colors.blue[800],
|
|
1067
|
+
// States
|
|
1068
|
+
"surface-tint": colors.violet[600],
|
|
1069
|
+
"state-hover": "rgba(0,0,0,0.06)",
|
|
1070
|
+
"state-focus": "rgba(0,0,0,0.10)",
|
|
1071
|
+
"state-pressed": "rgba(0,0,0,0.10)",
|
|
1072
|
+
"state-dragged": "rgba(0,0,0,0.14)",
|
|
1073
|
+
"state-disabled": "rgba(0,0,0,0.38)",
|
|
1074
|
+
// Categorical
|
|
1075
|
+
"graphic-1": colors.violet[600],
|
|
1076
|
+
"graphic-2": colors.red[600],
|
|
1077
|
+
"graphic-3": colors.gray[700],
|
|
1078
|
+
"graphic-4": colors.success[600],
|
|
1079
|
+
"graphic-5": colors.warning[600],
|
|
1080
|
+
"graphic-6": colors.blue[600],
|
|
1081
|
+
"graphic-7": colors.purple[600],
|
|
1082
|
+
"graphic-8": colors.teal[600],
|
|
1083
|
+
"graphic-9": colors.orange[600],
|
|
1084
|
+
"graphic-10": colors.blueGray[600],
|
|
1085
|
+
"on-graphic": "#FFFFFF",
|
|
1086
|
+
"graphic-1-container": colors.violet[50],
|
|
1087
|
+
"graphic-2-container": colors.red[50],
|
|
1088
|
+
"graphic-3-container": colors.gray[100],
|
|
1089
|
+
"graphic-4-container": colors.success[50],
|
|
1090
|
+
"graphic-5-container": colors.warning[50],
|
|
1091
|
+
"graphic-6-container": colors.blue[50],
|
|
1092
|
+
"graphic-7-container": colors.purple[50],
|
|
1093
|
+
"graphic-8-container": colors.teal[50],
|
|
1094
|
+
"graphic-9-container": colors.orange[50],
|
|
1095
|
+
"graphic-10-container": colors.blueGray[50],
|
|
1096
|
+
"on-graphic-1-container": colors.violet[800],
|
|
1097
|
+
"on-graphic-2-container": colors.red[800],
|
|
1098
|
+
"on-graphic-3-container": colors.gray[800],
|
|
1099
|
+
"on-graphic-4-container": colors.success[800],
|
|
1100
|
+
"on-graphic-5-container": colors.warning[800],
|
|
1101
|
+
"on-graphic-6-container": colors.blue[800],
|
|
1102
|
+
"on-graphic-7-container": colors.purple[800],
|
|
1103
|
+
"on-graphic-8-container": colors.teal[800],
|
|
1104
|
+
"on-graphic-9-container": colors.orange[800],
|
|
1105
|
+
"on-graphic-10-container": colors.blueGray[800],
|
|
1106
|
+
// Status
|
|
1107
|
+
"status-positive": colors.success[600],
|
|
1108
|
+
"status-warning": colors.warning[600],
|
|
1109
|
+
"status-negative": colors.red[600],
|
|
1110
|
+
"status-neutral": colors.gray[400],
|
|
1111
|
+
// Progress
|
|
1112
|
+
"progress-track": colors.gray[200],
|
|
1113
|
+
"progress-indicator": colors.violet[600],
|
|
1114
|
+
"progress-buffer": colors.violet[300],
|
|
1115
|
+
// Scales
|
|
1116
|
+
"scale-low": colors.success[600],
|
|
1117
|
+
"scale-medium": colors.warning[600],
|
|
1118
|
+
"scale-high": colors.red[600],
|
|
1119
|
+
// Infrastructure
|
|
1120
|
+
"graphic-outline": colors.gray[300],
|
|
1121
|
+
"graphic-divider": colors.gray[200],
|
|
1122
|
+
"graphic-label": colors.gray[700],
|
|
1123
|
+
"graphic-marker": colors.violet[600],
|
|
1124
|
+
// Overlays
|
|
1125
|
+
"graphic-hover": colors.violet[50],
|
|
1126
|
+
"graphic-muted": colors.gray[200],
|
|
1127
|
+
"annotation-line": colors.gray[400]
|
|
1128
|
+
};
|
|
1129
|
+
var inkwellDarkTheme = {
|
|
1130
|
+
// Surfaces — pure dark editorial
|
|
1131
|
+
surface: colors.gray[950],
|
|
1132
|
+
"surface-dim": colors.gray[975],
|
|
1133
|
+
"surface-bright": colors.gray[800],
|
|
1134
|
+
"surface-container-lowest": colors.gray[975],
|
|
1135
|
+
"surface-container-low": colors.gray[950],
|
|
1136
|
+
"surface-container": colors.gray[900],
|
|
1137
|
+
"surface-container-high": colors.gray[800],
|
|
1138
|
+
"surface-container-highest": colors.gray[700],
|
|
1139
|
+
// Content
|
|
1140
|
+
"on-surface": colors.gray[50],
|
|
1141
|
+
"on-surface-variant": colors.gray[400],
|
|
1142
|
+
"inverse-surface": colors.gray[50],
|
|
1143
|
+
"inverse-on-surface": colors.gray[950],
|
|
1144
|
+
// Primary
|
|
1145
|
+
primary: colors.violet[300],
|
|
1146
|
+
"on-primary": colors.violet[950],
|
|
1147
|
+
"primary-container": colors.violet[800],
|
|
1148
|
+
"on-primary-container": colors.violet[100],
|
|
1149
|
+
"inverse-primary": colors.violet[600],
|
|
1150
|
+
// Secondary
|
|
1151
|
+
secondary: colors.gray[400],
|
|
1152
|
+
"on-secondary": colors.gray[900],
|
|
1153
|
+
"secondary-container": colors.gray[700],
|
|
1154
|
+
"on-secondary-container": colors.gray[100],
|
|
1155
|
+
// Tertiary
|
|
1156
|
+
tertiary: colors.red[400],
|
|
1157
|
+
"on-tertiary": colors.red[950],
|
|
1158
|
+
"tertiary-container": colors.red[900],
|
|
1159
|
+
"on-tertiary-container": colors.red[100],
|
|
1160
|
+
// Utility
|
|
1161
|
+
outline: colors.gray[600],
|
|
1162
|
+
"outline-variant": colors.gray[700],
|
|
1163
|
+
scrim: "rgba(255,255,255,0.1)",
|
|
1164
|
+
shadow: "rgba(0,0,0,0.4)",
|
|
1165
|
+
// Feedback
|
|
1166
|
+
error: colors.error[400],
|
|
1167
|
+
"on-error": colors.error[950],
|
|
1168
|
+
"error-container": colors.error[900],
|
|
1169
|
+
"on-error-container": colors.error[100],
|
|
1170
|
+
success: colors.success[400],
|
|
1171
|
+
"on-success": colors.success[950],
|
|
1172
|
+
"success-container": colors.success[900],
|
|
1173
|
+
"on-success-container": colors.success[100],
|
|
1174
|
+
warning: colors.warning[400],
|
|
1175
|
+
"on-warning": colors.warning[950],
|
|
1176
|
+
"warning-container": colors.warning[900],
|
|
1177
|
+
"on-warning-container": colors.warning[100],
|
|
1178
|
+
info: colors.blue[400],
|
|
1179
|
+
"on-info": colors.blue[950],
|
|
1180
|
+
"info-container": colors.blue[900],
|
|
1181
|
+
"on-info-container": colors.blue[100],
|
|
1182
|
+
// States
|
|
1183
|
+
"surface-tint": colors.violet[300],
|
|
1184
|
+
"state-hover": "rgba(196,181,253,0.08)",
|
|
1185
|
+
"state-focus": "rgba(196,181,253,0.12)",
|
|
1186
|
+
"state-pressed": "rgba(196,181,253,0.12)",
|
|
1187
|
+
"state-dragged": "rgba(196,181,253,0.16)",
|
|
1188
|
+
"state-disabled": "rgba(250,250,250,0.38)",
|
|
1189
|
+
// Categorical
|
|
1190
|
+
"graphic-1": colors.violet[300],
|
|
1191
|
+
"graphic-2": colors.red[400],
|
|
1192
|
+
"graphic-3": colors.gray[400],
|
|
1193
|
+
"graphic-4": colors.success[400],
|
|
1194
|
+
"graphic-5": colors.warning[400],
|
|
1195
|
+
"graphic-6": colors.blue[400],
|
|
1196
|
+
"graphic-7": colors.purple[400],
|
|
1197
|
+
"graphic-8": colors.teal[400],
|
|
1198
|
+
"graphic-9": colors.orange[400],
|
|
1199
|
+
"graphic-10": colors.blueGray[400],
|
|
1200
|
+
"on-graphic": "#FFFFFF",
|
|
1201
|
+
"graphic-1-container": colors.violet[950],
|
|
1202
|
+
"graphic-2-container": colors.red[950],
|
|
1203
|
+
"graphic-3-container": colors.gray[900],
|
|
1204
|
+
"graphic-4-container": colors.success[950],
|
|
1205
|
+
"graphic-5-container": colors.warning[950],
|
|
1206
|
+
"graphic-6-container": colors.blue[950],
|
|
1207
|
+
"graphic-7-container": colors.purple[950],
|
|
1208
|
+
"graphic-8-container": colors.teal[950],
|
|
1209
|
+
"graphic-9-container": colors.orange[950],
|
|
1210
|
+
"graphic-10-container": colors.blueGray[950],
|
|
1211
|
+
"on-graphic-1-container": colors.violet[100],
|
|
1212
|
+
"on-graphic-2-container": colors.red[100],
|
|
1213
|
+
"on-graphic-3-container": colors.gray[100],
|
|
1214
|
+
"on-graphic-4-container": colors.success[100],
|
|
1215
|
+
"on-graphic-5-container": colors.warning[100],
|
|
1216
|
+
"on-graphic-6-container": colors.blue[100],
|
|
1217
|
+
"on-graphic-7-container": colors.purple[100],
|
|
1218
|
+
"on-graphic-8-container": colors.teal[100],
|
|
1219
|
+
"on-graphic-9-container": colors.orange[100],
|
|
1220
|
+
"on-graphic-10-container": colors.blueGray[100],
|
|
1221
|
+
// Status
|
|
1222
|
+
"status-positive": colors.success[400],
|
|
1223
|
+
"status-warning": colors.warning[400],
|
|
1224
|
+
"status-negative": colors.red[400],
|
|
1225
|
+
"status-neutral": colors.gray[500],
|
|
1226
|
+
// Progress
|
|
1227
|
+
"progress-track": colors.gray[700],
|
|
1228
|
+
"progress-indicator": colors.violet[300],
|
|
1229
|
+
"progress-buffer": colors.violet[700],
|
|
1230
|
+
// Scales
|
|
1231
|
+
"scale-low": colors.success[400],
|
|
1232
|
+
"scale-medium": colors.warning[400],
|
|
1233
|
+
"scale-high": colors.red[400],
|
|
1234
|
+
// Infrastructure
|
|
1235
|
+
"graphic-outline": colors.gray[600],
|
|
1236
|
+
"graphic-divider": colors.gray[700],
|
|
1237
|
+
"graphic-label": colors.gray[400],
|
|
1238
|
+
"graphic-marker": colors.violet[300],
|
|
1239
|
+
// Overlays
|
|
1240
|
+
"graphic-hover": colors.violet[800],
|
|
1241
|
+
"graphic-muted": colors.gray[700],
|
|
1242
|
+
"annotation-line": colors.gray[500]
|
|
1243
|
+
};
|
|
1244
|
+
var inkwellTheme = {
|
|
1245
|
+
label: "Inkwell",
|
|
1246
|
+
description: "Bold editorial & news",
|
|
1247
|
+
swatch: colors.violet[600],
|
|
1248
|
+
light: inkwellLightTheme,
|
|
1249
|
+
dark: inkwellDarkTheme,
|
|
1250
|
+
globals: {
|
|
1251
|
+
"--radius-xs": "0px",
|
|
1252
|
+
"--radius-sm": "0px",
|
|
1253
|
+
"--radius-md": "2px",
|
|
1254
|
+
"--radius-lg": "2px",
|
|
1255
|
+
"--radius-xl": "4px",
|
|
1256
|
+
"--radius-2xl": "4px",
|
|
1257
|
+
"--radius-3xl": "4px",
|
|
1258
|
+
"--radius-4xl": "4px",
|
|
1259
|
+
"--font-sans": "'Space Grotesk', 'Helvetica Neue', Arial, sans-serif",
|
|
1260
|
+
"--font-heading": "'Space Grotesk', 'Helvetica Neue', Arial, sans-serif",
|
|
1261
|
+
"--font-body": "'Space Grotesk', 'Helvetica Neue', Arial, sans-serif",
|
|
1262
|
+
"--font-weight-normal": "400",
|
|
1263
|
+
"--font-weight-medium": "500",
|
|
1264
|
+
"--font-weight-semibold": "600",
|
|
1265
|
+
"--font-weight-bold": "700",
|
|
1266
|
+
// ── Typography scale (editorial — tighter body, punchy display headings) ──
|
|
1267
|
+
"--text-xs": "0.6875rem",
|
|
1268
|
+
"--text-xs--line-height": "1rem",
|
|
1269
|
+
"--text-sm": "0.8125rem",
|
|
1270
|
+
"--text-sm--line-height": "1.25rem",
|
|
1271
|
+
"--text-base": "0.9375rem",
|
|
1272
|
+
"--text-base--line-height": "1.375rem",
|
|
1273
|
+
"--text-lg": "1.0625rem",
|
|
1274
|
+
"--text-lg--line-height": "1.5rem",
|
|
1275
|
+
"--text-xl": "1.25rem",
|
|
1276
|
+
"--text-xl--line-height": "1.75rem",
|
|
1277
|
+
"--text-2xl": "1.625rem",
|
|
1278
|
+
"--text-2xl--line-height": "2rem",
|
|
1279
|
+
"--text-3xl": "2.125rem",
|
|
1280
|
+
"--text-3xl--line-height": "2.5rem",
|
|
1281
|
+
"--text-4xl": "2.75rem",
|
|
1282
|
+
"--text-4xl--line-height": "3.25rem",
|
|
1283
|
+
"--letter-spacing-normal": "0em",
|
|
1284
|
+
"--letter-spacing-tight": "-0.025em",
|
|
1285
|
+
"--shadow-xs": "0 1px 2px 0 rgba(0,0,0,0.14)",
|
|
1286
|
+
"--shadow-sm": "0 1px 3px 0 rgba(0,0,0,0.18)",
|
|
1287
|
+
"--shadow-md": "0 2px 6px -1px rgba(0,0,0,0.20)",
|
|
1288
|
+
"--shadow-lg": "0 4px 12px -2px rgba(0,0,0,0.22)",
|
|
1289
|
+
"--shadow-xl": "0 8px 24px -4px rgba(0,0,0,0.22)",
|
|
1290
|
+
"--shadow-2xl": "0 12px 36px -6px rgba(0,0,0,0.24)"
|
|
1291
|
+
}
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
// ../../app/ui-kit/pixelplay-ui/shared/config/theme-tokens.ts
|
|
1295
|
+
var lightTheme = {
|
|
1296
|
+
// Surfaces
|
|
1297
|
+
surface: colors.gray[25],
|
|
1298
|
+
"surface-dim": colors.gray[100],
|
|
1299
|
+
"surface-bright": "#FFFFFF",
|
|
1300
|
+
"surface-container-lowest": "#FFFFFF",
|
|
1301
|
+
"surface-container-low": colors.gray[50],
|
|
1302
|
+
"surface-container": colors.gray[100],
|
|
1303
|
+
"surface-container-high": colors.gray[200],
|
|
1304
|
+
"surface-container-highest": colors.gray[300],
|
|
1305
|
+
// Content
|
|
1306
|
+
"on-surface": colors.gray[900],
|
|
1307
|
+
"on-surface-variant": colors.gray[600],
|
|
1308
|
+
"inverse-surface": colors.gray[800],
|
|
1309
|
+
"inverse-on-surface": colors.gray[50],
|
|
1310
|
+
// Primary (brand = purple family)
|
|
1311
|
+
primary: colors.brand[600],
|
|
1312
|
+
"on-primary": "#FFFFFF",
|
|
1313
|
+
"primary-container": colors.brand[200],
|
|
1314
|
+
"on-primary-container": colors.brand[800],
|
|
1315
|
+
"inverse-primary": colors.brand[300],
|
|
1316
|
+
// Secondary (violet)
|
|
1317
|
+
secondary: colors.violet[500],
|
|
1318
|
+
"on-secondary": "#FFFFFF",
|
|
1319
|
+
"secondary-container": colors.violet[100],
|
|
1320
|
+
"on-secondary-container": colors.violet[800],
|
|
1321
|
+
// Tertiary (teal accent)
|
|
1322
|
+
tertiary: colors.teal[500],
|
|
1323
|
+
"on-tertiary": "#FFFFFF",
|
|
1324
|
+
"tertiary-container": colors.teal[100],
|
|
1325
|
+
"on-tertiary-container": colors.teal[800],
|
|
1326
|
+
// Utility
|
|
1327
|
+
outline: colors.gray[300],
|
|
1328
|
+
"outline-variant": colors.gray[200],
|
|
1329
|
+
scrim: "rgba(0,0,0,0.4)",
|
|
1330
|
+
shadow: "rgba(0,0,0,0.08)",
|
|
1331
|
+
// Feedback
|
|
1332
|
+
error: colors.error[500],
|
|
1333
|
+
"on-error": "#FFFFFF",
|
|
1334
|
+
"error-container": colors.error[100],
|
|
1335
|
+
"on-error-container": colors.error[800],
|
|
1336
|
+
success: colors.success[500],
|
|
1337
|
+
"on-success": "#FFFFFF",
|
|
1338
|
+
"success-container": colors.success[100],
|
|
1339
|
+
"on-success-container": colors.success[800],
|
|
1340
|
+
warning: colors.warning[500],
|
|
1341
|
+
"on-warning": "#FFFFFF",
|
|
1342
|
+
"warning-container": colors.warning[100],
|
|
1343
|
+
"on-warning-container": colors.warning[800],
|
|
1344
|
+
info: colors.blue[500],
|
|
1345
|
+
"on-info": "#FFFFFF",
|
|
1346
|
+
"info-container": colors.blue[100],
|
|
1347
|
+
"on-info-container": colors.blue[800],
|
|
1348
|
+
// States
|
|
1349
|
+
"surface-tint": colors.brand[500],
|
|
1350
|
+
"state-hover": "rgba(0,0,0,0.08)",
|
|
1351
|
+
"state-focus": "rgba(0,0,0,0.12)",
|
|
1352
|
+
"state-pressed": "rgba(0,0,0,0.12)",
|
|
1353
|
+
"state-dragged": "rgba(0,0,0,0.16)",
|
|
1354
|
+
"state-disabled": "rgba(0,0,0,0.38)",
|
|
1355
|
+
// Categorical — 10 perceptually distinct hues
|
|
1356
|
+
"graphic-1": colors.brand[500],
|
|
1357
|
+
// purple
|
|
1358
|
+
"graphic-2": colors.blue[500],
|
|
1359
|
+
// blue
|
|
1360
|
+
"graphic-3": colors.teal[500],
|
|
1361
|
+
// teal
|
|
1362
|
+
"graphic-4": colors.success[500],
|
|
1363
|
+
// green
|
|
1364
|
+
"graphic-5": colors.warning[500],
|
|
1365
|
+
// amber
|
|
1366
|
+
"graphic-6": colors.error[500],
|
|
1367
|
+
// red
|
|
1368
|
+
"graphic-7": colors.indigo[500],
|
|
1369
|
+
// indigo
|
|
1370
|
+
"graphic-8": colors.pink[500],
|
|
1371
|
+
// pink
|
|
1372
|
+
"graphic-9": colors.amber[500],
|
|
1373
|
+
// yellow-amber
|
|
1374
|
+
"graphic-10": colors.cyan[500],
|
|
1375
|
+
// cyan
|
|
1376
|
+
"on-graphic": "#FFFFFF",
|
|
1377
|
+
// Categorical containers — very light bg ([50]) + mid-tone icon/text ([600])
|
|
1378
|
+
"graphic-1-container": colors.brand[50],
|
|
1379
|
+
"graphic-2-container": colors.blue[50],
|
|
1380
|
+
"graphic-3-container": colors.teal[50],
|
|
1381
|
+
"graphic-4-container": colors.success[50],
|
|
1382
|
+
"graphic-5-container": colors.warning[50],
|
|
1383
|
+
"graphic-6-container": colors.error[50],
|
|
1384
|
+
"graphic-7-container": colors.indigo[50],
|
|
1385
|
+
"graphic-8-container": colors.pink[50],
|
|
1386
|
+
"graphic-9-container": colors.amber[50],
|
|
1387
|
+
"graphic-10-container": colors.cyan[50],
|
|
1388
|
+
"on-graphic-1-container": colors.brand[600],
|
|
1389
|
+
"on-graphic-2-container": colors.blue[600],
|
|
1390
|
+
"on-graphic-3-container": colors.teal[600],
|
|
1391
|
+
"on-graphic-4-container": colors.success[600],
|
|
1392
|
+
"on-graphic-5-container": colors.warning[600],
|
|
1393
|
+
"on-graphic-6-container": colors.error[600],
|
|
1394
|
+
"on-graphic-7-container": colors.indigo[600],
|
|
1395
|
+
"on-graphic-8-container": colors.pink[600],
|
|
1396
|
+
"on-graphic-9-container": colors.amber[600],
|
|
1397
|
+
"on-graphic-10-container": colors.cyan[600],
|
|
1398
|
+
// Status
|
|
1399
|
+
"status-positive": colors.success[600],
|
|
1400
|
+
"status-warning": colors.warning[500],
|
|
1401
|
+
"status-negative": colors.error[600],
|
|
1402
|
+
"status-neutral": colors.gray[400],
|
|
1403
|
+
// Progress
|
|
1404
|
+
"progress-track": colors.gray[200],
|
|
1405
|
+
"progress-indicator": colors.brand[500],
|
|
1406
|
+
"progress-buffer": colors.brand[300],
|
|
1407
|
+
// Scales
|
|
1408
|
+
"scale-low": colors.success[300],
|
|
1409
|
+
"scale-medium": colors.warning[400],
|
|
1410
|
+
"scale-high": colors.error[500],
|
|
1411
|
+
// Infrastructure
|
|
1412
|
+
"graphic-outline": colors.gray[300],
|
|
1413
|
+
"graphic-divider": colors.gray[200],
|
|
1414
|
+
"graphic-label": colors.gray[600],
|
|
1415
|
+
"graphic-marker": colors.brand[600],
|
|
1416
|
+
// Overlays
|
|
1417
|
+
"graphic-hover": colors.brand[100],
|
|
1418
|
+
"graphic-muted": colors.gray[200],
|
|
1419
|
+
"annotation-line": colors.gray[400]
|
|
1420
|
+
};
|
|
1421
|
+
var darkTheme = {
|
|
1422
|
+
// Surfaces
|
|
1423
|
+
surface: colors.gray[900],
|
|
1424
|
+
"surface-dim": "#080D14",
|
|
1425
|
+
"surface-bright": colors.gray[800],
|
|
1426
|
+
"surface-container-lowest": "#080D14",
|
|
1427
|
+
"surface-container-low": colors.gray[900],
|
|
1428
|
+
"surface-container": colors.gray[800],
|
|
1429
|
+
"surface-container-high": colors.gray[700],
|
|
1430
|
+
"surface-container-highest": colors.gray[600],
|
|
1431
|
+
// Content
|
|
1432
|
+
"on-surface": colors.gray[50],
|
|
1433
|
+
"on-surface-variant": colors.gray[400],
|
|
1434
|
+
"inverse-surface": colors.gray[100],
|
|
1435
|
+
"inverse-on-surface": colors.gray[900],
|
|
1436
|
+
// Primary
|
|
1437
|
+
primary: colors.brand[400],
|
|
1438
|
+
"on-primary": "#000000",
|
|
1439
|
+
"primary-container": colors.brand[900],
|
|
1440
|
+
"on-primary-container": colors.brand[100],
|
|
1441
|
+
"inverse-primary": colors.brand[600],
|
|
1442
|
+
// Secondary
|
|
1443
|
+
secondary: colors.violet[400],
|
|
1444
|
+
"on-secondary": colors.violet[900],
|
|
1445
|
+
"secondary-container": colors.violet[800],
|
|
1446
|
+
"on-secondary-container": colors.violet[100],
|
|
1447
|
+
// Tertiary
|
|
1448
|
+
tertiary: colors.teal[400],
|
|
1449
|
+
"on-tertiary": "#000000",
|
|
1450
|
+
"tertiary-container": colors.teal[900],
|
|
1451
|
+
"on-tertiary-container": colors.teal[100],
|
|
1452
|
+
// Utility
|
|
1453
|
+
outline: colors.gray[600],
|
|
1454
|
+
"outline-variant": colors.gray[700],
|
|
1455
|
+
scrim: "rgba(255,255,255,0.1)",
|
|
1456
|
+
shadow: "rgba(0,0,0,0.3)",
|
|
1457
|
+
// Feedback
|
|
1458
|
+
error: colors.error[400],
|
|
1459
|
+
"on-error": colors.error[900],
|
|
1460
|
+
"error-container": colors.error[800],
|
|
1461
|
+
"on-error-container": colors.error[100],
|
|
1462
|
+
success: colors.success[400],
|
|
1463
|
+
"on-success": colors.success[900],
|
|
1464
|
+
"success-container": colors.success[800],
|
|
1465
|
+
"on-success-container": colors.success[100],
|
|
1466
|
+
warning: colors.warning[400],
|
|
1467
|
+
"on-warning": colors.warning[900],
|
|
1468
|
+
"warning-container": colors.warning[800],
|
|
1469
|
+
"on-warning-container": colors.warning[100],
|
|
1470
|
+
info: colors.blue[400],
|
|
1471
|
+
"on-info": colors.blue[900],
|
|
1472
|
+
"info-container": colors.blue[800],
|
|
1473
|
+
"on-info-container": colors.blue[100],
|
|
1474
|
+
// States
|
|
1475
|
+
"surface-tint": colors.brand[400],
|
|
1476
|
+
"state-hover": "rgba(255,255,255,0.08)",
|
|
1477
|
+
"state-focus": "rgba(255,255,255,0.12)",
|
|
1478
|
+
"state-pressed": "rgba(255,255,255,0.12)",
|
|
1479
|
+
"state-dragged": "rgba(255,255,255,0.16)",
|
|
1480
|
+
"state-disabled": "rgba(255,255,255,0.38)",
|
|
1481
|
+
// Categorical
|
|
1482
|
+
"graphic-1": colors.brand[400],
|
|
1483
|
+
"graphic-2": colors.blue[400],
|
|
1484
|
+
"graphic-3": colors.teal[400],
|
|
1485
|
+
"graphic-4": colors.success[400],
|
|
1486
|
+
"graphic-5": colors.warning[400],
|
|
1487
|
+
"graphic-6": colors.error[400],
|
|
1488
|
+
"graphic-7": colors.indigo[400],
|
|
1489
|
+
"graphic-8": colors.pink[400],
|
|
1490
|
+
"graphic-9": colors.amber[400],
|
|
1491
|
+
"graphic-10": colors.cyan[400],
|
|
1492
|
+
"on-graphic": "#FFFFFF",
|
|
1493
|
+
// Categorical containers — very dark bg + light text
|
|
1494
|
+
"graphic-1-container": colors.brand[950],
|
|
1495
|
+
"graphic-2-container": colors.blue[950],
|
|
1496
|
+
"graphic-3-container": colors.teal[950],
|
|
1497
|
+
"graphic-4-container": colors.success[950],
|
|
1498
|
+
"graphic-5-container": colors.warning[950],
|
|
1499
|
+
"graphic-6-container": colors.error[950],
|
|
1500
|
+
"graphic-7-container": colors.indigo[950],
|
|
1501
|
+
"graphic-8-container": colors.pink[950],
|
|
1502
|
+
"graphic-9-container": colors.amber[950],
|
|
1503
|
+
"graphic-10-container": colors.cyan[950],
|
|
1504
|
+
"on-graphic-1-container": colors.brand[100],
|
|
1505
|
+
"on-graphic-2-container": colors.blue[100],
|
|
1506
|
+
"on-graphic-3-container": colors.teal[100],
|
|
1507
|
+
"on-graphic-4-container": colors.success[100],
|
|
1508
|
+
"on-graphic-5-container": colors.warning[100],
|
|
1509
|
+
"on-graphic-6-container": colors.error[100],
|
|
1510
|
+
"on-graphic-7-container": colors.indigo[100],
|
|
1511
|
+
"on-graphic-8-container": colors.pink[100],
|
|
1512
|
+
"on-graphic-9-container": colors.amber[100],
|
|
1513
|
+
"on-graphic-10-container": colors.cyan[100],
|
|
1514
|
+
// Status
|
|
1515
|
+
"status-positive": colors.success[400],
|
|
1516
|
+
"status-warning": colors.warning[400],
|
|
1517
|
+
"status-negative": colors.error[400],
|
|
1518
|
+
"status-neutral": colors.gray[500],
|
|
1519
|
+
// Progress
|
|
1520
|
+
"progress-track": colors.gray[700],
|
|
1521
|
+
"progress-indicator": colors.brand[400],
|
|
1522
|
+
"progress-buffer": colors.brand[700],
|
|
1523
|
+
// Scales
|
|
1524
|
+
"scale-low": colors.success[400],
|
|
1525
|
+
"scale-medium": colors.warning[400],
|
|
1526
|
+
"scale-high": colors.error[400],
|
|
1527
|
+
// Infrastructure
|
|
1528
|
+
"graphic-outline": colors.gray[600],
|
|
1529
|
+
"graphic-divider": colors.gray[700],
|
|
1530
|
+
"graphic-label": colors.gray[400],
|
|
1531
|
+
"graphic-marker": colors.brand[400],
|
|
1532
|
+
// Overlays
|
|
1533
|
+
"graphic-hover": colors.brand[800],
|
|
1534
|
+
"graphic-muted": colors.gray[700],
|
|
1535
|
+
"annotation-line": colors.gray[500]
|
|
1536
|
+
};
|
|
1537
|
+
var designThemes = {
|
|
1538
|
+
rosewood: rosewoodTheme,
|
|
1539
|
+
botanica: botanicaTheme,
|
|
1540
|
+
inkwell: inkwellTheme
|
|
1541
|
+
};
|
|
1542
|
+
function tokensToVarBlock(tokens) {
|
|
1543
|
+
return Object.entries(tokens).map(([key, value]) => ` --${key}: ${value};`).join("\n");
|
|
1544
|
+
}
|
|
1545
|
+
function globalsToVarBlock(globals) {
|
|
1546
|
+
return Object.entries(globals).map(([key, value]) => ` ${key}: ${value};`).join("\n");
|
|
1547
|
+
}
|
|
1548
|
+
function generateThemeCSS() {
|
|
1549
|
+
const blocks = [];
|
|
1550
|
+
const entries = Object.entries(designThemes);
|
|
1551
|
+
const [, firstTheme] = entries[0];
|
|
1552
|
+
const firstLightVars = tokensToVarBlock(firstTheme.light);
|
|
1553
|
+
const firstGlobals = globalsToVarBlock(firstTheme.globals);
|
|
1554
|
+
const firstDarkVars = tokensToVarBlock(firstTheme.dark);
|
|
1555
|
+
const rootBlock = [firstLightVars, firstGlobals].filter(Boolean).join("\n");
|
|
1556
|
+
blocks.push(`:root {
|
|
1557
|
+
${rootBlock}
|
|
1558
|
+
}`);
|
|
1559
|
+
blocks.push(`.dark {
|
|
1560
|
+
${firstDarkVars}
|
|
1561
|
+
${firstGlobals}
|
|
1562
|
+
}`);
|
|
1563
|
+
for (const [name, theme] of entries) {
|
|
1564
|
+
const lightVars = tokensToVarBlock(theme.light);
|
|
1565
|
+
const globalsVars = globalsToVarBlock(theme.globals);
|
|
1566
|
+
const darkVars = tokensToVarBlock(theme.dark);
|
|
1567
|
+
const lightBlock = [lightVars, globalsVars].filter(Boolean).join("\n");
|
|
1568
|
+
blocks.push(`[data-design-theme="${name}"] {
|
|
1569
|
+
${lightBlock}
|
|
1570
|
+
}`);
|
|
1571
|
+
blocks.push(
|
|
1572
|
+
`[data-design-theme="${name}"].dark {
|
|
1573
|
+
${darkVars}
|
|
1574
|
+
${globalsVars}
|
|
1575
|
+
}`
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
return blocks.join("\n\n");
|
|
1579
|
+
}
|
|
1580
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1581
|
+
0 && (module.exports = {
|
|
1582
|
+
darkTheme,
|
|
1583
|
+
generateThemeCSS,
|
|
1584
|
+
lightTheme
|
|
1585
|
+
});
|
|
1586
|
+
//# sourceMappingURL=server.js.map
|