@rathnasgala2/schemas 3.9.0 → 3.10.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/THIRD_PARTY_LICENSES.json +1 -1
- package/diagnostics/diagnostic-map.json +255 -9
- package/docs/catalogs/schema-inventory.json +5 -5
- package/examples/valid/appearance/rules.json +105 -1
- package/examples/valid/build-input/rules.json +105 -1
- package/examples/valid/theme-contract/rules.json +276 -2
- package/fixtures/boundary/appearance/rules.json +105 -12
- package/fixtures/boundary/build-input/rules.json +105 -12
- package/fixtures/boundary/theme-contract/rules.json +386 -2
- package/fixtures/invalid/appearance/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/appearance/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -13
- package/fixtures/invalid/appearance/SCHEMA_PATTERN_INVALID/cases.json +68 -0
- package/fixtures/invalid/appearance/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
- package/fixtures/invalid/appearance/SCHEMA_TYPE_INVALID/cases.json +99 -0
- package/fixtures/invalid/build-input/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/build-input/SCHEMA_PATTERN_INVALID/cases.json +66 -0
- package/fixtures/invalid/build-input/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +66 -0
- package/fixtures/invalid/build-input/SCHEMA_TYPE_INVALID/cases.json +99 -0
- package/fixtures/invalid/theme-contract/REQUEST_FIELD_UNKNOWN/cases.json +33 -0
- package/fixtures/invalid/theme-contract/SCHEMA_ARRAY_TOO_LONG/cases.json +165 -0
- package/fixtures/invalid/theme-contract/SCHEMA_CONSTANT_INVALID/cases.json +11 -11
- package/fixtures/invalid/theme-contract/SCHEMA_ENUM_INVALID/cases.json +88 -0
- package/fixtures/invalid/theme-contract/SCHEMA_REQUIRED_FIELD_MISSING/cases.json +93 -0
- package/fixtures/invalid/theme-contract/SCHEMA_TYPE_INVALID/cases.json +51 -0
- package/fixtures/manifest.json +1955 -35
- package/fixtures/unknown-field/appearance/rules.json +54 -1
- package/fixtures/unknown-field/build-input/rules.json +54 -1
- package/fixtures/unknown-field/theme-contract/rules.json +70 -1
- package/generated/browser/validator-core.mjs +3 -3
- package/generated/typescript/contracts/appearance.d.ts +14 -1
- package/generated/typescript/contracts/build-input.d.ts +14 -1
- package/generated/typescript/contracts/theme-contract.d.ts +51 -0
- package/openapi/http-catalog.json +2 -2
- package/openapi/openapi.yaml +56 -2
- package/package.json +10 -1
- package/parity/palette/golden-vectors.json +883 -0
- package/parity/palette/stress-corpus.json +521 -0
- package/parity/palette/theme-default.fixture.json +698 -0
- package/sbom.cdx.json +23 -23
- package/schemas/appearance.schema.json +30 -3
- package/schemas/build-input.schema.json +30 -3
- package/schemas/theme-contract.schema.json +185 -1
- package/src/palette.js +919 -0
- package/types/palette.d.ts +305 -0
- package/fixtures/invalid/build-input/SCHEMA_OBJECT_TOO_LARGE/cases.json +0 -15
|
@@ -0,0 +1,698 @@
|
|
|
1
|
+
{
|
|
2
|
+
"themeId": "default",
|
|
3
|
+
"package": "@rathnasgala2/theme-default@4.0.0",
|
|
4
|
+
"note": "Read-only copy of theme-default 4.x theme.json tokens, plus the palette bindings this fixture uses (the real bindings ship with the theme in a later package).",
|
|
5
|
+
"tokens": [
|
|
6
|
+
{
|
|
7
|
+
"key": "border-button",
|
|
8
|
+
"type": "border",
|
|
9
|
+
"light": "1px solid #00000000",
|
|
10
|
+
"dark": "1px solid #00000000"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"key": "border-card",
|
|
14
|
+
"type": "border",
|
|
15
|
+
"light": "1px solid #e2e6ec",
|
|
16
|
+
"dark": "1px solid #232a34"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "border-chip",
|
|
20
|
+
"type": "border",
|
|
21
|
+
"light": "1px solid #00000000",
|
|
22
|
+
"dark": "1px solid #00000000"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"key": "border-code",
|
|
26
|
+
"type": "border",
|
|
27
|
+
"light": "1px solid #00000000",
|
|
28
|
+
"dark": "1px solid #232a34"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"key": "border-media-divider",
|
|
32
|
+
"type": "border",
|
|
33
|
+
"light": "none",
|
|
34
|
+
"dark": "none"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"key": "border-quote",
|
|
38
|
+
"type": "border",
|
|
39
|
+
"light": "4px solid #2b59ff",
|
|
40
|
+
"dark": "4px solid #7b97ff"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"key": "border-row-divider",
|
|
44
|
+
"type": "border",
|
|
45
|
+
"light": "none",
|
|
46
|
+
"dark": "none"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "border-section-rule",
|
|
50
|
+
"type": "border",
|
|
51
|
+
"light": "none",
|
|
52
|
+
"dark": "none"
|
|
53
|
+
},
|
|
54
|
+
{ "key": "border-width", "type": "length", "light": "1px", "dark": "1px" },
|
|
55
|
+
{
|
|
56
|
+
"key": "card-inset",
|
|
57
|
+
"type": "length",
|
|
58
|
+
"light": "0.5rem",
|
|
59
|
+
"dark": "0.5rem"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"key": "card-pad",
|
|
63
|
+
"type": "box",
|
|
64
|
+
"light": "0.75rem 0.9rem 1.1rem",
|
|
65
|
+
"dark": "0.75rem 0.9rem 1.1rem"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"key": "card-title-size",
|
|
69
|
+
"type": "length",
|
|
70
|
+
"light": "1.25rem",
|
|
71
|
+
"dark": "1.25rem"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"key": "chip-pad",
|
|
75
|
+
"type": "box",
|
|
76
|
+
"light": "0.28rem 0.65rem",
|
|
77
|
+
"dark": "0.28rem 0.65rem"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"key": "color-accent",
|
|
81
|
+
"type": "color",
|
|
82
|
+
"light": "#2b59ff",
|
|
83
|
+
"dark": "#7b97ff"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"key": "color-accent-2",
|
|
87
|
+
"type": "color",
|
|
88
|
+
"light": "#00a3a3",
|
|
89
|
+
"dark": "#3fd0c9"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "color-border",
|
|
93
|
+
"type": "color",
|
|
94
|
+
"light": "#e2e6ec",
|
|
95
|
+
"dark": "#232a34"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"key": "color-btn-panel",
|
|
99
|
+
"type": "color",
|
|
100
|
+
"light": "#ffffff",
|
|
101
|
+
"dark": "#ffffff"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"key": "color-btn-panel-text",
|
|
105
|
+
"type": "color",
|
|
106
|
+
"light": "#2b59ff",
|
|
107
|
+
"dark": "#18245c"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"key": "color-btn-text",
|
|
111
|
+
"type": "color",
|
|
112
|
+
"light": "#ffffff",
|
|
113
|
+
"dark": "#0b1020"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "color-canvas",
|
|
117
|
+
"type": "color",
|
|
118
|
+
"light": "#f7f8fa",
|
|
119
|
+
"dark": "#0b0d11"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"key": "color-chip-text",
|
|
123
|
+
"type": "color",
|
|
124
|
+
"light": "#1d3fc4",
|
|
125
|
+
"dark": "#b5c6ff"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"key": "color-code-canvas",
|
|
129
|
+
"type": "color",
|
|
130
|
+
"light": "#0f1520",
|
|
131
|
+
"dark": "#0f1319"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"key": "color-code-text",
|
|
135
|
+
"type": "color",
|
|
136
|
+
"light": "#e6edf6",
|
|
137
|
+
"dark": "#e6edf6"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"key": "color-danger",
|
|
141
|
+
"type": "color",
|
|
142
|
+
"light": "#a8241c",
|
|
143
|
+
"dark": "#ff8f8a"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"key": "color-focus",
|
|
147
|
+
"type": "color",
|
|
148
|
+
"light": "#2b59ff",
|
|
149
|
+
"dark": "#9db2ff"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"key": "color-footer",
|
|
153
|
+
"type": "color",
|
|
154
|
+
"light": "#ffffff",
|
|
155
|
+
"dark": "#12161c"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"key": "color-header",
|
|
159
|
+
"type": "color",
|
|
160
|
+
"light": "#f7f8fac7",
|
|
161
|
+
"dark": "#0b0d11b8"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"key": "color-icon-accent",
|
|
165
|
+
"type": "color",
|
|
166
|
+
"light": "#2b59ff",
|
|
167
|
+
"dark": "#7b97ff"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"key": "color-input",
|
|
171
|
+
"type": "color",
|
|
172
|
+
"light": "#ffffff1a",
|
|
173
|
+
"dark": "#ffffff1a"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"key": "color-input-border",
|
|
177
|
+
"type": "color",
|
|
178
|
+
"light": "#ffffff4d",
|
|
179
|
+
"dark": "#ffffff4d"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"key": "color-link",
|
|
183
|
+
"type": "color",
|
|
184
|
+
"light": "#2148e0",
|
|
185
|
+
"dark": "#9db2ff"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"key": "color-link-underline",
|
|
189
|
+
"type": "color",
|
|
190
|
+
"light": "#2148e059",
|
|
191
|
+
"dark": "#9db2ff59"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"key": "color-link-underline-hover",
|
|
195
|
+
"type": "color",
|
|
196
|
+
"light": "#2148e0",
|
|
197
|
+
"dark": "#9db2ff"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"key": "color-link-visited",
|
|
201
|
+
"type": "color",
|
|
202
|
+
"light": "#6b2d8f",
|
|
203
|
+
"dark": "#caa6f0"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"key": "color-on-accent",
|
|
207
|
+
"type": "color",
|
|
208
|
+
"light": "#ffffff",
|
|
209
|
+
"dark": "#0b1020"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"key": "color-overlay",
|
|
213
|
+
"type": "color",
|
|
214
|
+
"light": "#0a0e1473",
|
|
215
|
+
"dark": "#00000099"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"key": "color-panel-muted",
|
|
219
|
+
"type": "color",
|
|
220
|
+
"light": "#ffffffc7",
|
|
221
|
+
"dark": "#ffffffc7"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"key": "color-panel-text",
|
|
225
|
+
"type": "color",
|
|
226
|
+
"light": "#ffffff",
|
|
227
|
+
"dark": "#ffffff"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"key": "color-selection",
|
|
231
|
+
"type": "color",
|
|
232
|
+
"light": "#cfdbff",
|
|
233
|
+
"dark": "#2a3a7a"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"key": "color-success",
|
|
237
|
+
"type": "color",
|
|
238
|
+
"light": "#256b3a",
|
|
239
|
+
"dark": "#7fe0a0"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"key": "color-surface",
|
|
243
|
+
"type": "color",
|
|
244
|
+
"light": "#ffffff",
|
|
245
|
+
"dark": "#12161c"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"key": "color-surface-raised",
|
|
249
|
+
"type": "color",
|
|
250
|
+
"light": "#eef1f5",
|
|
251
|
+
"dark": "#1a1f27"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"key": "color-syntax-comment",
|
|
255
|
+
"type": "color",
|
|
256
|
+
"light": "#7d8aa0",
|
|
257
|
+
"dark": "#7d8aa0"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"key": "color-syntax-function",
|
|
261
|
+
"type": "color",
|
|
262
|
+
"light": "#7cc7ff",
|
|
263
|
+
"dark": "#7cc7ff"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"key": "color-syntax-keyword",
|
|
267
|
+
"type": "color",
|
|
268
|
+
"light": "#c4a7ff",
|
|
269
|
+
"dark": "#c4a7ff"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"key": "color-syntax-number",
|
|
273
|
+
"type": "color",
|
|
274
|
+
"light": "#ffc27a",
|
|
275
|
+
"dark": "#ffc27a"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"key": "color-syntax-string",
|
|
279
|
+
"type": "color",
|
|
280
|
+
"light": "#9be3a5",
|
|
281
|
+
"dark": "#9be3a5"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"key": "color-text",
|
|
285
|
+
"type": "color",
|
|
286
|
+
"light": "#0f1419",
|
|
287
|
+
"dark": "#e8ecf2"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"key": "color-text-faint",
|
|
291
|
+
"type": "color",
|
|
292
|
+
"light": "#8a94a3",
|
|
293
|
+
"dark": "#6b7686"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"key": "color-text-muted",
|
|
297
|
+
"type": "color",
|
|
298
|
+
"light": "#556070",
|
|
299
|
+
"dark": "#9aa5b5"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"key": "color-toc-active",
|
|
303
|
+
"type": "color",
|
|
304
|
+
"light": "#00000000",
|
|
305
|
+
"dark": "#00000000"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"key": "color-toc-active-text",
|
|
309
|
+
"type": "color",
|
|
310
|
+
"light": "#0f1419",
|
|
311
|
+
"dark": "#e8ecf2"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"key": "color-warning",
|
|
315
|
+
"type": "color",
|
|
316
|
+
"light": "#7a4b00",
|
|
317
|
+
"dark": "#ffcf66"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"key": "content-measure",
|
|
321
|
+
"type": "length",
|
|
322
|
+
"light": "42rem",
|
|
323
|
+
"dark": "42rem"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"key": "decor-size",
|
|
327
|
+
"type": "keyword",
|
|
328
|
+
"light": "100% 46rem",
|
|
329
|
+
"dark": "100% 46rem"
|
|
330
|
+
},
|
|
331
|
+
{ "key": "display-max", "type": "length", "light": "4rem", "dark": "4rem" },
|
|
332
|
+
{
|
|
333
|
+
"key": "display-style",
|
|
334
|
+
"type": "keyword",
|
|
335
|
+
"light": "normal",
|
|
336
|
+
"dark": "normal"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"key": "duration-base",
|
|
340
|
+
"type": "duration",
|
|
341
|
+
"light": "320ms",
|
|
342
|
+
"dark": "320ms"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"key": "duration-fast",
|
|
346
|
+
"type": "duration",
|
|
347
|
+
"light": "160ms",
|
|
348
|
+
"dark": "160ms"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"key": "duration-slow",
|
|
352
|
+
"type": "duration",
|
|
353
|
+
"light": "700ms",
|
|
354
|
+
"dark": "700ms"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"key": "ease-spring",
|
|
358
|
+
"type": "easing",
|
|
359
|
+
"light": "cubic-bezier(0.34, 1.4, 0.64, 1)",
|
|
360
|
+
"dark": "cubic-bezier(0.34, 1.4, 0.64, 1)"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"key": "ease-standard",
|
|
364
|
+
"type": "easing",
|
|
365
|
+
"light": "cubic-bezier(0.2, 0.8, 0.2, 1)",
|
|
366
|
+
"dark": "cubic-bezier(0.2, 0.8, 0.2, 1)"
|
|
367
|
+
},
|
|
368
|
+
{ "key": "focus-width", "type": "length", "light": "2px", "dark": "2px" },
|
|
369
|
+
{
|
|
370
|
+
"key": "font-body",
|
|
371
|
+
"type": "font-family",
|
|
372
|
+
"light": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif",
|
|
373
|
+
"dark": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"key": "font-display",
|
|
377
|
+
"type": "font-family",
|
|
378
|
+
"light": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif",
|
|
379
|
+
"dark": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"key": "font-label",
|
|
383
|
+
"type": "font-family",
|
|
384
|
+
"light": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif",
|
|
385
|
+
"dark": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"key": "font-mono",
|
|
389
|
+
"type": "font-family",
|
|
390
|
+
"light": "ui-monospace, SF Mono, Menlo, Consolas, monospace",
|
|
391
|
+
"dark": "ui-monospace, SF Mono, Menlo, Consolas, monospace"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"key": "font-ui",
|
|
395
|
+
"type": "font-family",
|
|
396
|
+
"light": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif",
|
|
397
|
+
"dark": "ui-sans-serif, system-ui, Segoe UI, Roboto, sans-serif"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"key": "label-transform",
|
|
401
|
+
"type": "keyword",
|
|
402
|
+
"light": "uppercase",
|
|
403
|
+
"dark": "uppercase"
|
|
404
|
+
},
|
|
405
|
+
{ "key": "lift-x", "type": "length", "light": "0", "dark": "0" },
|
|
406
|
+
{ "key": "lift-y", "type": "length", "light": "-4px", "dark": "-4px" },
|
|
407
|
+
{
|
|
408
|
+
"key": "link-offset",
|
|
409
|
+
"type": "length",
|
|
410
|
+
"light": "0.22em",
|
|
411
|
+
"dark": "0.22em"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"key": "link-offset-hover",
|
|
415
|
+
"type": "length",
|
|
416
|
+
"light": "0.3em",
|
|
417
|
+
"dark": "0.3em"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"key": "link-skip-ink",
|
|
421
|
+
"type": "keyword",
|
|
422
|
+
"light": "auto",
|
|
423
|
+
"dark": "auto"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"key": "link-thickness",
|
|
427
|
+
"type": "length",
|
|
428
|
+
"light": "0.08em",
|
|
429
|
+
"dark": "0.08em"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"key": "media-filter",
|
|
433
|
+
"type": "keyword",
|
|
434
|
+
"light": "none",
|
|
435
|
+
"dark": "none"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"key": "media-filter-hover",
|
|
439
|
+
"type": "keyword",
|
|
440
|
+
"light": "none",
|
|
441
|
+
"dark": "none"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"key": "media-zoom",
|
|
445
|
+
"type": "number",
|
|
446
|
+
"light": "1.045",
|
|
447
|
+
"dark": "1.045"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"key": "paint-button",
|
|
451
|
+
"type": "paint",
|
|
452
|
+
"light": "#2b59ff",
|
|
453
|
+
"dark": "#7b97ff"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"key": "paint-chip",
|
|
457
|
+
"type": "paint",
|
|
458
|
+
"light": "#e8eeff",
|
|
459
|
+
"dark": "#1a2346"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"key": "paint-page-decor",
|
|
463
|
+
"type": "paint",
|
|
464
|
+
"light": "radial-gradient(60rem 28rem at 88% -8%, #dfe7ff 0%, transparent 62%)",
|
|
465
|
+
"dark": "radial-gradient(60rem 28rem at 88% -8%, #17204a 0%, transparent 62%)"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"key": "paint-panel",
|
|
469
|
+
"type": "paint",
|
|
470
|
+
"light": "linear-gradient(135deg, #1d3fc4, #2b59ff 55%, #007c7c)",
|
|
471
|
+
"dark": "linear-gradient(135deg, #18245c, #2a3f9e 55%, #0f6f6c)"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"key": "prose-leading",
|
|
475
|
+
"type": "number",
|
|
476
|
+
"light": "1.75",
|
|
477
|
+
"dark": "1.75"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"key": "prose-size",
|
|
481
|
+
"type": "length",
|
|
482
|
+
"light": "1.125rem",
|
|
483
|
+
"dark": "1.125rem"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"key": "quote-align",
|
|
487
|
+
"type": "keyword",
|
|
488
|
+
"light": "start",
|
|
489
|
+
"dark": "start"
|
|
490
|
+
},
|
|
491
|
+
{ "key": "quote-mark", "type": "keyword", "light": "none", "dark": "none" },
|
|
492
|
+
{
|
|
493
|
+
"key": "quote-pad",
|
|
494
|
+
"type": "box",
|
|
495
|
+
"light": "0.25em 0 0.25em 1.25em",
|
|
496
|
+
"dark": "0.25em 0 0.25em 1.25em"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"key": "quote-style",
|
|
500
|
+
"type": "keyword",
|
|
501
|
+
"light": "normal",
|
|
502
|
+
"dark": "normal"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"key": "quote-transform",
|
|
506
|
+
"type": "keyword",
|
|
507
|
+
"light": "none",
|
|
508
|
+
"dark": "none"
|
|
509
|
+
},
|
|
510
|
+
{ "key": "radius-avatar", "type": "length", "light": "50%", "dark": "50%" },
|
|
511
|
+
{
|
|
512
|
+
"key": "radius-large",
|
|
513
|
+
"type": "length",
|
|
514
|
+
"light": "22px",
|
|
515
|
+
"dark": "22px"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"key": "radius-media",
|
|
519
|
+
"type": "length",
|
|
520
|
+
"light": "10px",
|
|
521
|
+
"dark": "10px"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"key": "radius-medium",
|
|
525
|
+
"type": "length",
|
|
526
|
+
"light": "14px",
|
|
527
|
+
"dark": "14px"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"key": "radius-pill",
|
|
531
|
+
"type": "length",
|
|
532
|
+
"light": "999px",
|
|
533
|
+
"dark": "999px"
|
|
534
|
+
},
|
|
535
|
+
{ "key": "radius-small", "type": "length", "light": "8px", "dark": "8px" },
|
|
536
|
+
{ "key": "row-pad", "type": "length", "light": "0", "dark": "0" },
|
|
537
|
+
{
|
|
538
|
+
"key": "shadow-avatar-ring",
|
|
539
|
+
"type": "shadow",
|
|
540
|
+
"light": "0 0 0 2px #f7f8fa, 0 0 0 3px #e2e6ec",
|
|
541
|
+
"dark": "0 0 0 2px #0b0d11, 0 0 0 3px #232a34"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"key": "shadow-button",
|
|
545
|
+
"type": "shadow",
|
|
546
|
+
"light": "0 1px 2px #1018281f, 0 6px 16px -8px #2b59ff8c",
|
|
547
|
+
"dark": "0 6px 18px -8px #7b97ff99"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"key": "shadow-card",
|
|
551
|
+
"type": "shadow",
|
|
552
|
+
"light": "0 1px 2px #1018280d, 0 10px 24px -14px #1018282e",
|
|
553
|
+
"dark": "inset 0 1px 0 #ffffff08, 0 12px 28px -16px #000000b3"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"key": "shadow-card-hover",
|
|
557
|
+
"type": "shadow",
|
|
558
|
+
"light": "0 2px 4px #1018280f, 0 28px 48px -22px #10182852",
|
|
559
|
+
"dark": "inset 0 1px 0 #ffffff0d, 0 30px 50px -24px #000000d9"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"key": "shadow-dialog",
|
|
563
|
+
"type": "shadow",
|
|
564
|
+
"light": "0 40px 80px -20px #0a0e1473",
|
|
565
|
+
"dark": "0 40px 80px -20px #000000cc"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"key": "space-1",
|
|
569
|
+
"type": "length",
|
|
570
|
+
"light": "0.25rem",
|
|
571
|
+
"dark": "0.25rem"
|
|
572
|
+
},
|
|
573
|
+
{ "key": "space-2", "type": "length", "light": "0.5rem", "dark": "0.5rem" },
|
|
574
|
+
{
|
|
575
|
+
"key": "space-3",
|
|
576
|
+
"type": "length",
|
|
577
|
+
"light": "0.75rem",
|
|
578
|
+
"dark": "0.75rem"
|
|
579
|
+
},
|
|
580
|
+
{ "key": "space-4", "type": "length", "light": "1rem", "dark": "1rem" },
|
|
581
|
+
{ "key": "space-6", "type": "length", "light": "1.5rem", "dark": "1.5rem" },
|
|
582
|
+
{ "key": "space-8", "type": "length", "light": "2rem", "dark": "2rem" },
|
|
583
|
+
{
|
|
584
|
+
"key": "title-transform",
|
|
585
|
+
"type": "keyword",
|
|
586
|
+
"light": "none",
|
|
587
|
+
"dark": "none"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"key": "tracking-display",
|
|
591
|
+
"type": "length",
|
|
592
|
+
"light": "-0.035em",
|
|
593
|
+
"dark": "-0.035em"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"key": "tracking-label",
|
|
597
|
+
"type": "length",
|
|
598
|
+
"light": "0.08em",
|
|
599
|
+
"dark": "0.08em"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"key": "tracking-title",
|
|
603
|
+
"type": "length",
|
|
604
|
+
"light": "-0.015em",
|
|
605
|
+
"dark": "-0.015em"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"key": "weight-display",
|
|
609
|
+
"type": "font-weight",
|
|
610
|
+
"light": "760",
|
|
611
|
+
"dark": "760"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"key": "weight-normal",
|
|
615
|
+
"type": "font-weight",
|
|
616
|
+
"light": "400",
|
|
617
|
+
"dark": "400"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"key": "weight-strong",
|
|
621
|
+
"type": "font-weight",
|
|
622
|
+
"light": "700",
|
|
623
|
+
"dark": "700"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"key": "weight-title",
|
|
627
|
+
"type": "font-weight",
|
|
628
|
+
"light": "680",
|
|
629
|
+
"dark": "680"
|
|
630
|
+
},
|
|
631
|
+
{ "key": "weight-ui", "type": "font-weight", "light": "560", "dark": "560" }
|
|
632
|
+
],
|
|
633
|
+
"palette": {
|
|
634
|
+
"profile": "gala-palette-follow-v1",
|
|
635
|
+
"follow": [
|
|
636
|
+
{ "key": "border-button", "light": [null], "dark": [null] },
|
|
637
|
+
{ "key": "border-card", "light": ["canvas"], "dark": ["canvas"] },
|
|
638
|
+
{ "key": "border-chip", "light": [null], "dark": [null] },
|
|
639
|
+
{ "key": "border-media-divider", "light": [], "dark": [] },
|
|
640
|
+
{ "key": "border-quote", "light": ["accent"], "dark": ["accent"] },
|
|
641
|
+
{ "key": "border-row-divider", "light": [], "dark": [] },
|
|
642
|
+
{ "key": "border-section-rule", "light": [], "dark": [] },
|
|
643
|
+
{ "key": "color-accent", "light": ["accent"], "dark": ["accent"] },
|
|
644
|
+
{ "key": "color-border", "light": ["canvas"], "dark": ["canvas"] },
|
|
645
|
+
{ "key": "color-btn-panel", "light": ["canvas"], "dark": ["canvas"] },
|
|
646
|
+
{
|
|
647
|
+
"key": "color-btn-panel-text",
|
|
648
|
+
"light": ["accent"],
|
|
649
|
+
"dark": ["accent"]
|
|
650
|
+
},
|
|
651
|
+
{ "key": "color-btn-text", "light": ["canvas"], "dark": ["canvas"] },
|
|
652
|
+
{ "key": "color-canvas", "light": ["canvas"], "dark": ["canvas"] },
|
|
653
|
+
{ "key": "color-chip-text", "light": ["accent"], "dark": ["accent"] },
|
|
654
|
+
{ "key": "color-focus", "light": ["accent"], "dark": ["accent"] },
|
|
655
|
+
{ "key": "color-footer", "light": ["canvas"], "dark": ["canvas"] },
|
|
656
|
+
{ "key": "color-header", "light": ["canvas"], "dark": ["canvas"] },
|
|
657
|
+
{ "key": "color-icon-accent", "light": ["accent"], "dark": ["accent"] },
|
|
658
|
+
{ "key": "color-link", "light": ["accent"], "dark": ["accent"] },
|
|
659
|
+
{
|
|
660
|
+
"key": "color-link-underline",
|
|
661
|
+
"light": ["accent"],
|
|
662
|
+
"dark": ["accent"]
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"key": "color-link-underline-hover",
|
|
666
|
+
"light": ["accent"],
|
|
667
|
+
"dark": ["accent"]
|
|
668
|
+
},
|
|
669
|
+
{ "key": "color-on-accent", "light": ["canvas"], "dark": ["canvas"] },
|
|
670
|
+
{ "key": "color-panel-text", "light": ["canvas"], "dark": ["canvas"] },
|
|
671
|
+
{ "key": "color-selection", "light": ["accent"], "dark": ["accent"] },
|
|
672
|
+
{ "key": "color-surface", "light": ["canvas"], "dark": ["canvas"] },
|
|
673
|
+
{
|
|
674
|
+
"key": "color-surface-raised",
|
|
675
|
+
"light": ["canvas"],
|
|
676
|
+
"dark": ["canvas"]
|
|
677
|
+
},
|
|
678
|
+
{ "key": "color-text", "light": ["text"], "dark": ["text"] },
|
|
679
|
+
{ "key": "color-text-faint", "light": ["text"], "dark": ["text"] },
|
|
680
|
+
{ "key": "color-text-muted", "light": ["text"], "dark": ["text"] },
|
|
681
|
+
{ "key": "color-toc-active-text", "light": ["text"], "dark": ["text"] },
|
|
682
|
+
{ "key": "paint-button", "light": ["accent"], "dark": ["accent"] },
|
|
683
|
+
{ "key": "paint-chip", "light": ["accent"], "dark": ["accent"] },
|
|
684
|
+
{ "key": "paint-page-decor", "light": ["accent"], "dark": ["accent"] },
|
|
685
|
+
{
|
|
686
|
+
"key": "paint-panel",
|
|
687
|
+
"light": ["accent", "accent", "accent"],
|
|
688
|
+
"dark": ["accent", "accent", "accent"]
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"key": "shadow-avatar-ring",
|
|
692
|
+
"light": ["canvas", "canvas"],
|
|
693
|
+
"dark": ["canvas", "canvas"]
|
|
694
|
+
},
|
|
695
|
+
{ "key": "shadow-button", "light": [null, "accent"], "dark": [null] }
|
|
696
|
+
]
|
|
697
|
+
}
|
|
698
|
+
}
|