@maggioli-design-system/styles 17.0.1 → 17.2.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.
@@ -0,0 +1,732 @@
1
+ {
2
+ "magma": {
3
+ "pref": {
4
+ "$extensions": {
5
+ "it.maggioli.magma": {
6
+ "cssOnly": [
7
+ {
8
+ "css": "--magma-pref-mode",
9
+ "value": "light"
10
+ },
11
+ {
12
+ "css": "--magma-pref-theme-scheme",
13
+ "value": "light"
14
+ },
15
+ {
16
+ "css": "--magma-pref-theme",
17
+ "value": "default"
18
+ },
19
+ {
20
+ "css": "--magma-pref-consumption",
21
+ "value": "high"
22
+ },
23
+ {
24
+ "css": "--magma-pref-animation",
25
+ "value": "no-preference"
26
+ },
27
+ {
28
+ "css": "--magma-pref-contrast",
29
+ "value": "no-preference"
30
+ }
31
+ ]
32
+ }
33
+ }
34
+ },
35
+ "backdrop": {
36
+ "animation-duration": {
37
+ "$type": "duration",
38
+ "$value": {
39
+ "value": 300,
40
+ "unit": "ms"
41
+ },
42
+ "$extensions": {
43
+ "it.maggioli.magma": {
44
+ "css": "--magma-backdrop-animation-duration",
45
+ "tier": "semantic"
46
+ }
47
+ }
48
+ },
49
+ "opacity": {
50
+ "$type": "number",
51
+ "$value": 0.1,
52
+ "$extensions": {
53
+ "it.maggioli.magma": {
54
+ "css": "--magma-backdrop-opacity",
55
+ "tier": "semantic"
56
+ }
57
+ }
58
+ },
59
+ "blur": {
60
+ "$type": "dimension",
61
+ "$value": {
62
+ "value": 4,
63
+ "unit": "px"
64
+ },
65
+ "$extensions": {
66
+ "it.maggioli.magma": {
67
+ "css": "--magma-backdrop-blur",
68
+ "tier": "semantic"
69
+ }
70
+ }
71
+ },
72
+ "color": {
73
+ "$type": "color",
74
+ "$value": {
75
+ "colorSpace": "srgb",
76
+ "components": [
77
+ 0,
78
+ 0,
79
+ 0
80
+ ],
81
+ "hex": "#000000"
82
+ },
83
+ "$extensions": {
84
+ "it.maggioli.magma": {
85
+ "css": "--magma-backdrop-color",
86
+ "tier": "semantic"
87
+ }
88
+ }
89
+ },
90
+ "z-index": {
91
+ "$type": "number",
92
+ "$value": 4000,
93
+ "$extensions": {
94
+ "it.maggioli.magma": {
95
+ "css": "--magma-backdrop-z-index",
96
+ "tier": "semantic"
97
+ }
98
+ }
99
+ },
100
+ "$root": {
101
+ "$type": "color",
102
+ "$value": {
103
+ "colorSpace": "srgb",
104
+ "components": [
105
+ 0,
106
+ 0,
107
+ 0
108
+ ],
109
+ "hex": "#000000",
110
+ "alpha": 0.1
111
+ },
112
+ "$extensions": {
113
+ "it.maggioli.magma": {
114
+ "css": "--magma-backdrop",
115
+ "tier": "semantic",
116
+ "cssValue": "rgb(var(--magma-backdrop-color) / var(--magma-backdrop-opacity))"
117
+ }
118
+ }
119
+ }
120
+ },
121
+ "outline": {
122
+ "animation-duration": {
123
+ "$type": "duration",
124
+ "$value": {
125
+ "value": 1.5,
126
+ "unit": "s"
127
+ },
128
+ "$extensions": {
129
+ "it.maggioli.magma": {
130
+ "css": "--magma-outline-animation-duration",
131
+ "tier": "semantic"
132
+ }
133
+ }
134
+ },
135
+ "blur-offset": {
136
+ "$type": "dimension",
137
+ "$value": {
138
+ "value": 6,
139
+ "unit": "px"
140
+ },
141
+ "$extensions": {
142
+ "it.maggioli.magma": {
143
+ "css": "--magma-outline-blur-offset",
144
+ "tier": "semantic"
145
+ }
146
+ }
147
+ },
148
+ "focus-offset": {
149
+ "$type": "dimension",
150
+ "$value": {
151
+ "value": 2,
152
+ "unit": "px"
153
+ },
154
+ "$extensions": {
155
+ "it.maggioli.magma": {
156
+ "css": "--magma-outline-focus-offset",
157
+ "tier": "semantic"
158
+ }
159
+ }
160
+ },
161
+ "blur-color": {
162
+ "$type": "color",
163
+ "$value": {
164
+ "colorSpace": "srgb",
165
+ "components": [
166
+ 0,
167
+ 0,
168
+ 0
169
+ ],
170
+ "hex": "#000000",
171
+ "alpha": 0
172
+ },
173
+ "$extensions": {
174
+ "it.maggioli.magma": {
175
+ "css": "--magma-outline-blur-color",
176
+ "tier": "semantic"
177
+ }
178
+ }
179
+ },
180
+ "focus-color": {
181
+ "$type": "color",
182
+ "$value": "{palette.tone.neutral.05}",
183
+ "$extensions": {
184
+ "it.maggioli.magma": {
185
+ "css": "--magma-outline-focus-color",
186
+ "tier": "semantic"
187
+ }
188
+ }
189
+ },
190
+ "blur": {
191
+ "$type": "border",
192
+ "$value": {
193
+ "color": "{magma.outline.blur-color}",
194
+ "width": {
195
+ "value": 2,
196
+ "unit": "px"
197
+ },
198
+ "style": "solid"
199
+ },
200
+ "$extensions": {
201
+ "it.maggioli.magma": {
202
+ "css": "--magma-outline-blur",
203
+ "tier": "semantic"
204
+ }
205
+ }
206
+ },
207
+ "focus": {
208
+ "$type": "border",
209
+ "$value": {
210
+ "color": "{magma.outline.focus-color}",
211
+ "width": {
212
+ "value": 2,
213
+ "unit": "px"
214
+ },
215
+ "style": "solid"
216
+ },
217
+ "$extensions": {
218
+ "it.maggioli.magma": {
219
+ "css": "--magma-outline-focus",
220
+ "tier": "semantic"
221
+ }
222
+ }
223
+ }
224
+ },
225
+ "disabled": {
226
+ "opacity": {
227
+ "$type": "number",
228
+ "$value": 0.5,
229
+ "$extensions": {
230
+ "it.maggioli.magma": {
231
+ "css": "--magma-disabled-opacity",
232
+ "tier": "semantic"
233
+ }
234
+ }
235
+ }
236
+ },
237
+ "overlay": {
238
+ "opacity": {
239
+ "$type": "number",
240
+ "$value": 0.5,
241
+ "$extensions": {
242
+ "it.maggioli.magma": {
243
+ "css": "--magma-overlay-opacity",
244
+ "tier": "semantic"
245
+ }
246
+ }
247
+ },
248
+ "color": {
249
+ "$type": "color",
250
+ "$value": "{magma.backdrop.color}",
251
+ "$extensions": {
252
+ "it.maggioli.magma": {
253
+ "css": "--magma-overlay-color",
254
+ "tier": "semantic"
255
+ }
256
+ }
257
+ },
258
+ "blur": {
259
+ "$type": "dimension",
260
+ "$value": "{magma.backdrop.blur}",
261
+ "$extensions": {
262
+ "it.maggioli.magma": {
263
+ "css": "--magma-overlay-blur",
264
+ "tier": "semantic"
265
+ }
266
+ }
267
+ },
268
+ "$root": {
269
+ "$type": "color",
270
+ "$value": {
271
+ "colorSpace": "srgb",
272
+ "components": [
273
+ 0,
274
+ 0,
275
+ 0
276
+ ],
277
+ "hex": "#000000",
278
+ "alpha": 0.5
279
+ },
280
+ "$extensions": {
281
+ "it.maggioli.magma": {
282
+ "css": "--magma-overlay",
283
+ "tier": "semantic",
284
+ "cssValue": "rgb(var(--magma-overlay-color) / var(--magma-overlay-opacity))"
285
+ }
286
+ }
287
+ }
288
+ },
289
+ "on": {
290
+ "backdrop": {
291
+ "$type": "color",
292
+ "$value": {
293
+ "colorSpace": "srgb",
294
+ "components": [
295
+ 0.9882,
296
+ 0.9882,
297
+ 0.9882
298
+ ],
299
+ "hex": "#fcfcfc"
300
+ },
301
+ "$extensions": {
302
+ "it.maggioli.magma": {
303
+ "css": "--magma-on-backdrop",
304
+ "tier": "semantic"
305
+ }
306
+ }
307
+ }
308
+ },
309
+ "selection": {
310
+ "background": {
311
+ "$type": "color",
312
+ "$value": "{palette.label.sky.09}",
313
+ "$extensions": {
314
+ "it.maggioli.magma": {
315
+ "css": "--magma-selection-background",
316
+ "tier": "semantic"
317
+ }
318
+ }
319
+ },
320
+ "color": {
321
+ "$type": "color",
322
+ "$value": "{palette.label.sky.01}",
323
+ "$extensions": {
324
+ "it.maggioli.magma": {
325
+ "css": "--magma-selection-color",
326
+ "tier": "semantic"
327
+ }
328
+ }
329
+ }
330
+ },
331
+ "corner": {
332
+ "$extensions": {
333
+ "it.maggioli.magma": {
334
+ "cssOnly": [
335
+ {
336
+ "css": "--magma-corner-shape",
337
+ "value": "squircle"
338
+ }
339
+ ]
340
+ }
341
+ },
342
+ "cap": {
343
+ "$type": "number",
344
+ "$value": 0.5,
345
+ "$extensions": {
346
+ "it.maggioli.magma": {
347
+ "css": "--magma-corner-cap",
348
+ "tier": "semantic"
349
+ }
350
+ }
351
+ }
352
+ },
353
+ "header": {
354
+ "z-index": {
355
+ "$type": "number",
356
+ "$value": 1000,
357
+ "$extensions": {
358
+ "it.maggioli.magma": {
359
+ "css": "--magma-header-z-index",
360
+ "tier": "semantic"
361
+ }
362
+ }
363
+ }
364
+ },
365
+ "notification": {
366
+ "z-index": {
367
+ "$type": "number",
368
+ "$value": 2000,
369
+ "$extensions": {
370
+ "it.maggioli.magma": {
371
+ "css": "--magma-notification-z-index",
372
+ "tier": "semantic"
373
+ }
374
+ }
375
+ }
376
+ },
377
+ "modal": {
378
+ "z-index": {
379
+ "$type": "number",
380
+ "$value": 3000,
381
+ "$extensions": {
382
+ "it.maggioli.magma": {
383
+ "css": "--magma-modal-z-index",
384
+ "tier": "semantic"
385
+ }
386
+ }
387
+ }
388
+ },
389
+ "dropdown": {
390
+ "z-index": {
391
+ "$type": "number",
392
+ "$value": 5000,
393
+ "$extensions": {
394
+ "it.maggioli.magma": {
395
+ "css": "--magma-dropdown-z-index",
396
+ "tier": "semantic"
397
+ }
398
+ }
399
+ }
400
+ },
401
+ "tooltip": {
402
+ "z-index": {
403
+ "$type": "number",
404
+ "$value": 6000,
405
+ "$extensions": {
406
+ "it.maggioli.magma": {
407
+ "css": "--magma-tooltip-z-index",
408
+ "tier": "semantic"
409
+ }
410
+ }
411
+ }
412
+ },
413
+ "theme": {
414
+ "overlay-z-index": {
415
+ "$type": "number",
416
+ "$value": 7000,
417
+ "$extensions": {
418
+ "it.maggioli.magma": {
419
+ "css": "--magma-theme-overlay-z-index",
420
+ "tier": "semantic"
421
+ }
422
+ }
423
+ }
424
+ },
425
+ "context": {
426
+ "menu-z-index": {
427
+ "$type": "number",
428
+ "$value": 8000,
429
+ "$extensions": {
430
+ "it.maggioli.magma": {
431
+ "css": "--magma-context-menu-z-index",
432
+ "tier": "semantic"
433
+ }
434
+ }
435
+ }
436
+ },
437
+ "view": {
438
+ "$extensions": {
439
+ "it.maggioli.magma": {
440
+ "cssOnly": [
441
+ {
442
+ "css": "--magma-view-transition-navigation",
443
+ "value": "auto"
444
+ }
445
+ ]
446
+ }
447
+ }
448
+ },
449
+ "radius": {
450
+ "none": {
451
+ "$type": "dimension",
452
+ "$value": "{radius.none}",
453
+ "$extensions": {
454
+ "it.maggioli.magma": {
455
+ "css": "--magma-radius-none",
456
+ "tier": "semantic"
457
+ }
458
+ }
459
+ },
460
+ "3xs": {
461
+ "$type": "dimension",
462
+ "$value": "{radius.squircle-3xs}",
463
+ "$extensions": {
464
+ "it.maggioli.magma": {
465
+ "css": "--magma-radius-3xs",
466
+ "tier": "semantic"
467
+ }
468
+ }
469
+ },
470
+ "2xs": {
471
+ "$type": "dimension",
472
+ "$value": "{radius.squircle-2xs}",
473
+ "$extensions": {
474
+ "it.maggioli.magma": {
475
+ "css": "--magma-radius-2xs",
476
+ "tier": "semantic"
477
+ }
478
+ }
479
+ },
480
+ "xs": {
481
+ "$type": "dimension",
482
+ "$value": "{radius.squircle-xs}",
483
+ "$extensions": {
484
+ "it.maggioli.magma": {
485
+ "css": "--magma-radius-xs",
486
+ "tier": "semantic"
487
+ }
488
+ }
489
+ },
490
+ "sm": {
491
+ "$type": "dimension",
492
+ "$value": "{radius.squircle-sm}",
493
+ "$extensions": {
494
+ "it.maggioli.magma": {
495
+ "css": "--magma-radius-sm",
496
+ "tier": "semantic"
497
+ }
498
+ }
499
+ },
500
+ "md": {
501
+ "$type": "dimension",
502
+ "$value": "{radius.squircle-md}",
503
+ "$extensions": {
504
+ "it.maggioli.magma": {
505
+ "css": "--magma-radius-md",
506
+ "tier": "semantic"
507
+ }
508
+ }
509
+ },
510
+ "lg": {
511
+ "$type": "dimension",
512
+ "$value": "{radius.squircle-lg}",
513
+ "$extensions": {
514
+ "it.maggioli.magma": {
515
+ "css": "--magma-radius-lg",
516
+ "tier": "semantic"
517
+ }
518
+ }
519
+ },
520
+ "xl": {
521
+ "$type": "dimension",
522
+ "$value": "{radius.squircle-xl}",
523
+ "$extensions": {
524
+ "it.maggioli.magma": {
525
+ "css": "--magma-radius-xl",
526
+ "tier": "semantic"
527
+ }
528
+ }
529
+ },
530
+ "2xl": {
531
+ "$type": "dimension",
532
+ "$value": "{radius.squircle-2xl}",
533
+ "$extensions": {
534
+ "it.maggioli.magma": {
535
+ "css": "--magma-radius-2xl",
536
+ "tier": "semantic"
537
+ }
538
+ }
539
+ },
540
+ "3xl": {
541
+ "$type": "dimension",
542
+ "$value": "{radius.squircle-3xl}",
543
+ "$extensions": {
544
+ "it.maggioli.magma": {
545
+ "css": "--magma-radius-3xl",
546
+ "tier": "semantic"
547
+ }
548
+ }
549
+ },
550
+ "4xl": {
551
+ "$type": "dimension",
552
+ "$value": "{radius.squircle-4xl}",
553
+ "$extensions": {
554
+ "it.maggioli.magma": {
555
+ "css": "--magma-radius-4xl",
556
+ "tier": "semantic"
557
+ }
558
+ }
559
+ },
560
+ "5xl": {
561
+ "$type": "dimension",
562
+ "$value": "{radius.squircle-5xl}",
563
+ "$extensions": {
564
+ "it.maggioli.magma": {
565
+ "css": "--magma-radius-5xl",
566
+ "tier": "semantic"
567
+ }
568
+ }
569
+ },
570
+ "full": {
571
+ "$type": "dimension",
572
+ "$value": "{radius.full}",
573
+ "$extensions": {
574
+ "it.maggioli.magma": {
575
+ "css": "--magma-radius-full",
576
+ "tier": "semantic"
577
+ }
578
+ }
579
+ }
580
+ }
581
+ },
582
+ "depth": {
583
+ "$type": "number",
584
+ "$value": 1,
585
+ "$extensions": {
586
+ "it.maggioli.magma": {
587
+ "css": "--depth",
588
+ "tier": "semantic"
589
+ }
590
+ }
591
+ },
592
+ "mds": {
593
+ "elevation": {
594
+ "raised": {
595
+ "$type": "shadow",
596
+ "$value": [
597
+ {
598
+ "color": {
599
+ "colorSpace": "srgb",
600
+ "components": [
601
+ 0,
602
+ 0,
603
+ 0
604
+ ],
605
+ "hex": "#000000",
606
+ "alpha": 0.06
607
+ },
608
+ "offsetX": {
609
+ "value": 0,
610
+ "unit": "px"
611
+ },
612
+ "offsetY": {
613
+ "value": 1,
614
+ "unit": "px"
615
+ },
616
+ "blur": {
617
+ "value": 2,
618
+ "unit": "px"
619
+ },
620
+ "spread": {
621
+ "value": 0,
622
+ "unit": "px"
623
+ }
624
+ },
625
+ {
626
+ "color": {
627
+ "colorSpace": "srgb",
628
+ "components": [
629
+ 0,
630
+ 0,
631
+ 0
632
+ ],
633
+ "hex": "#000000",
634
+ "alpha": 0.08
635
+ },
636
+ "offsetX": {
637
+ "value": 0,
638
+ "unit": "px"
639
+ },
640
+ "offsetY": {
641
+ "value": 2,
642
+ "unit": "px"
643
+ },
644
+ "blur": {
645
+ "value": 8,
646
+ "unit": "px"
647
+ },
648
+ "spread": {
649
+ "value": 0,
650
+ "unit": "px"
651
+ }
652
+ }
653
+ ],
654
+ "$extensions": {
655
+ "it.maggioli.magma": {
656
+ "css": "--mds-elevation-raised",
657
+ "tier": "semantic",
658
+ "cssValue": "0 calc(1px * var(--depth)) calc(2px * var(--depth)) rgb(var(--magma-backdrop-color) / calc(0.06 * var(--depth))), 0 calc(2px * var(--depth)) calc(8px * var(--depth)) rgb(var(--magma-backdrop-color) / calc(0.08 * var(--depth)))"
659
+ }
660
+ }
661
+ },
662
+ "overlay": {
663
+ "$type": "shadow",
664
+ "$value": [
665
+ {
666
+ "color": {
667
+ "colorSpace": "srgb",
668
+ "components": [
669
+ 0,
670
+ 0,
671
+ 0
672
+ ],
673
+ "hex": "#000000",
674
+ "alpha": 0.12
675
+ },
676
+ "offsetX": {
677
+ "value": 0,
678
+ "unit": "px"
679
+ },
680
+ "offsetY": {
681
+ "value": 4,
682
+ "unit": "px"
683
+ },
684
+ "blur": {
685
+ "value": 12,
686
+ "unit": "px"
687
+ },
688
+ "spread": {
689
+ "value": 0,
690
+ "unit": "px"
691
+ }
692
+ },
693
+ {
694
+ "color": {
695
+ "colorSpace": "srgb",
696
+ "components": [
697
+ 0,
698
+ 0,
699
+ 0
700
+ ],
701
+ "hex": "#000000",
702
+ "alpha": 0.16
703
+ },
704
+ "offsetX": {
705
+ "value": 0,
706
+ "unit": "px"
707
+ },
708
+ "offsetY": {
709
+ "value": 8,
710
+ "unit": "px"
711
+ },
712
+ "blur": {
713
+ "value": 24,
714
+ "unit": "px"
715
+ },
716
+ "spread": {
717
+ "value": 0,
718
+ "unit": "px"
719
+ }
720
+ }
721
+ ],
722
+ "$extensions": {
723
+ "it.maggioli.magma": {
724
+ "css": "--mds-elevation-overlay",
725
+ "tier": "semantic",
726
+ "cssValue": "0 calc(4px * var(--depth)) calc(12px * var(--depth)) rgb(var(--magma-backdrop-color) / calc(0.12 * var(--depth))), 0 calc(8px * var(--depth)) calc(24px * var(--depth)) rgb(var(--magma-backdrop-color) / calc(0.16 * var(--depth)))"
727
+ }
728
+ }
729
+ }
730
+ }
731
+ }
732
+ }