@directus/themes 0.1.0 → 0.3.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/dist/schema.json DELETED
@@ -1,464 +0,0 @@
1
- {
2
- "type": "object",
3
- "properties": {
4
- "name": {
5
- "type": "string"
6
- },
7
- "appearance": {
8
- "anyOf": [
9
- {
10
- "const": "light",
11
- "type": "string"
12
- },
13
- {
14
- "const": "dark",
15
- "type": "string"
16
- }
17
- ]
18
- },
19
- "rules": {
20
- "type": "object",
21
- "properties": {
22
- "foreground": {
23
- "$ref": "Color"
24
- },
25
- "foregroundSubdued": {
26
- "$ref": "Color"
27
- },
28
- "foregroundAccent": {
29
- "$ref": "Color"
30
- },
31
- "background": {
32
- "$ref": "Color"
33
- },
34
- "primary": {
35
- "$ref": "Color"
36
- },
37
- "primaryBackground": {
38
- "$ref": "Color"
39
- },
40
- "primarySubdued": {
41
- "$ref": "Color"
42
- },
43
- "primaryAccent": {
44
- "$ref": "Color"
45
- },
46
- "secondary": {
47
- "$ref": "Color"
48
- },
49
- "secondaryBackground": {
50
- "$ref": "Color"
51
- },
52
- "secondarySubdued": {
53
- "$ref": "Color"
54
- },
55
- "secondaryAccent": {
56
- "$ref": "Color"
57
- },
58
- "success": {
59
- "$ref": "Color"
60
- },
61
- "successBackground": {
62
- "$ref": "Color"
63
- },
64
- "successSubdued": {
65
- "$ref": "Color"
66
- },
67
- "successAccent": {
68
- "$ref": "Color"
69
- },
70
- "warning": {
71
- "$ref": "Color"
72
- },
73
- "warningBackground": {
74
- "$ref": "Color"
75
- },
76
- "warningSubdued": {
77
- "$ref": "Color"
78
- },
79
- "warningAccent": {
80
- "$ref": "Color"
81
- },
82
- "danger": {
83
- "$ref": "Color"
84
- },
85
- "dangerBackground": {
86
- "$ref": "Color"
87
- },
88
- "dangerSubdued": {
89
- "$ref": "Color"
90
- },
91
- "dangerAccent": {
92
- "$ref": "Color"
93
- },
94
- "fontFamilyDisplay": {
95
- "$ref": "FontFamily"
96
- },
97
- "fontFamilySansSerif": {
98
- "$ref": "FontFamily"
99
- },
100
- "fontFamilySerif": {
101
- "$ref": "FontFamily"
102
- },
103
- "fontFamilyMonospace": {
104
- "$ref": "FontFamily"
105
- },
106
- "navigation": {
107
- "type": "object",
108
- "properties": {
109
- "background": {
110
- "$ref": "Color"
111
- },
112
- "project": {
113
- "type": "object",
114
- "properties": {
115
- "background": {
116
- "$ref": "Color"
117
- },
118
- "foreground": {
119
- "$ref": "Color"
120
- },
121
- "fontFamily": {
122
- "$ref": "FontFamily"
123
- }
124
- },
125
- "required": [
126
- "background",
127
- "foreground",
128
- "fontFamily"
129
- ]
130
- },
131
- "modules": {
132
- "type": "object",
133
- "properties": {
134
- "background": {
135
- "$ref": "Color"
136
- },
137
- "button": {
138
- "type": "object",
139
- "properties": {
140
- "foreground": {
141
- "$ref": "Color"
142
- },
143
- "foregroundHover": {
144
- "$ref": "Color"
145
- },
146
- "foregroundActive": {
147
- "$ref": "Color"
148
- },
149
- "background": {
150
- "$ref": "Color"
151
- },
152
- "backgroundHover": {
153
- "$ref": "Color"
154
- },
155
- "backgroundActive": {
156
- "$ref": "Color"
157
- }
158
- },
159
- "required": [
160
- "foreground",
161
- "foregroundHover",
162
- "foregroundActive",
163
- "background",
164
- "backgroundHover",
165
- "backgroundActive"
166
- ]
167
- }
168
- },
169
- "required": [
170
- "background",
171
- "button"
172
- ]
173
- },
174
- "list": {
175
- "type": "object",
176
- "properties": {
177
- "icon": {
178
- "type": "object",
179
- "properties": {
180
- "foreground": {
181
- "$ref": "Color"
182
- },
183
- "foregroundHover": {
184
- "$ref": "Color"
185
- },
186
- "foregroundActive": {
187
- "$ref": "Color"
188
- }
189
- },
190
- "required": [
191
- "foreground",
192
- "foregroundHover",
193
- "foregroundActive"
194
- ]
195
- },
196
- "foreground": {
197
- "$ref": "Color"
198
- },
199
- "foregroundHover": {
200
- "$ref": "Color"
201
- },
202
- "foregroundActive": {
203
- "$ref": "Color"
204
- },
205
- "background": {
206
- "$ref": "Color"
207
- },
208
- "backgroundHover": {
209
- "$ref": "Color"
210
- },
211
- "backgroundActive": {
212
- "$ref": "Color"
213
- },
214
- "fontFamily": {
215
- "$ref": "FontFamily"
216
- }
217
- },
218
- "required": [
219
- "icon",
220
- "foreground",
221
- "foregroundHover",
222
- "foregroundActive",
223
- "background",
224
- "backgroundHover",
225
- "backgroundActive",
226
- "fontFamily"
227
- ]
228
- }
229
- },
230
- "required": [
231
- "background",
232
- "project",
233
- "modules",
234
- "list"
235
- ]
236
- },
237
- "header": {
238
- "type": "object",
239
- "properties": {
240
- "background": {
241
- "$ref": "Color"
242
- },
243
- "headline": {
244
- "type": "object",
245
- "properties": {
246
- "foreground": {
247
- "$ref": "Color"
248
- },
249
- "fontFamily": {
250
- "$ref": "FontFamily"
251
- }
252
- },
253
- "required": [
254
- "foreground",
255
- "fontFamily"
256
- ]
257
- },
258
- "title": {
259
- "type": "object",
260
- "properties": {
261
- "foreground": {
262
- "$ref": "Color"
263
- },
264
- "fontFamily": {
265
- "$ref": "FontFamily"
266
- }
267
- },
268
- "required": [
269
- "foreground",
270
- "fontFamily"
271
- ]
272
- }
273
- },
274
- "required": [
275
- "background",
276
- "headline",
277
- "title"
278
- ]
279
- },
280
- "form": {
281
- "type": "object",
282
- "properties": {
283
- "field": {
284
- "type": "object",
285
- "properties": {
286
- "label": {
287
- "type": "object",
288
- "properties": {
289
- "foreground": {
290
- "$ref": "Color"
291
- },
292
- "fontFamily": {
293
- "$ref": "FontFamily"
294
- }
295
- },
296
- "required": [
297
- "foreground",
298
- "fontFamily"
299
- ]
300
- },
301
- "input": {
302
- "type": "object",
303
- "properties": {
304
- "background": {
305
- "$ref": "Color"
306
- },
307
- "foreground": {
308
- "$ref": "Color"
309
- },
310
- "foregroundSubdued": {
311
- "$ref": "Color"
312
- }
313
- },
314
- "required": [
315
- "background",
316
- "foreground",
317
- "foregroundSubdued"
318
- ]
319
- }
320
- },
321
- "required": [
322
- "label",
323
- "input"
324
- ]
325
- }
326
- },
327
- "required": [
328
- "field"
329
- ]
330
- },
331
- "sidebar": {
332
- "type": "object",
333
- "properties": {
334
- "background": {
335
- "$ref": "Color"
336
- },
337
- "foreground": {
338
- "$ref": "Color"
339
- },
340
- "fontFamily": {
341
- "$ref": "FontFamily"
342
- },
343
- "section": {
344
- "type": "object",
345
- "properties": {
346
- "toggle": {
347
- "type": "object",
348
- "properties": {
349
- "icon": {
350
- "type": "object",
351
- "properties": {
352
- "foreground": {
353
- "$ref": "Color"
354
- },
355
- "foregroundHover": {
356
- "$ref": "Color"
357
- },
358
- "foregroundActive": {
359
- "$ref": "Color"
360
- }
361
- },
362
- "required": [
363
- "foreground",
364
- "foregroundHover",
365
- "foregroundActive"
366
- ]
367
- },
368
- "foreground": {
369
- "$ref": "Color"
370
- },
371
- "foregroundHover": {
372
- "$ref": "Color"
373
- },
374
- "foregroundActive": {
375
- "$ref": "Color"
376
- },
377
- "background": {
378
- "$ref": "Color"
379
- },
380
- "backgroundHover": {
381
- "$ref": "Color"
382
- },
383
- "backgroundActive": {
384
- "$ref": "Color"
385
- },
386
- "fontFamily": {
387
- "$ref": "FontFamily"
388
- }
389
- },
390
- "required": [
391
- "icon",
392
- "foreground",
393
- "foregroundHover",
394
- "foregroundActive",
395
- "background",
396
- "backgroundHover",
397
- "backgroundActive",
398
- "fontFamily"
399
- ]
400
- }
401
- },
402
- "required": [
403
- "toggle"
404
- ]
405
- }
406
- },
407
- "required": [
408
- "background",
409
- "foreground",
410
- "fontFamily",
411
- "section"
412
- ]
413
- }
414
- },
415
- "required": [
416
- "foreground",
417
- "foregroundSubdued",
418
- "foregroundAccent",
419
- "background",
420
- "primary",
421
- "primaryBackground",
422
- "primarySubdued",
423
- "primaryAccent",
424
- "secondary",
425
- "secondaryBackground",
426
- "secondarySubdued",
427
- "secondaryAccent",
428
- "success",
429
- "successBackground",
430
- "successSubdued",
431
- "successAccent",
432
- "warning",
433
- "warningBackground",
434
- "warningSubdued",
435
- "warningAccent",
436
- "danger",
437
- "dangerBackground",
438
- "dangerSubdued",
439
- "dangerAccent",
440
- "fontFamilyDisplay",
441
- "fontFamilySansSerif",
442
- "fontFamilySerif",
443
- "fontFamilyMonospace",
444
- "navigation",
445
- "header",
446
- "form",
447
- "sidebar"
448
- ]
449
- }
450
- },
451
- "required": [
452
- "name",
453
- "appearance",
454
- "rules"
455
- ],
456
- "$defs": {
457
- "Color": {
458
- "$ref": "Color"
459
- },
460
- "FontFamily": {
461
- "$ref": "FontFamily"
462
- }
463
- }
464
- }