@aurea-uds/tokens 0.31.0 → 0.33.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/aurea.tokens.css +27 -11
- package/dist/aurea.tokens.native.js +35 -11
- package/package.json +1 -1
- package/src/aurea.tokens.json +128 -13
package/dist/aurea.tokens.css
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
--brand-yellow:oklch(0.795 0.184 86.047);
|
|
4
4
|
--brand-yellow-foreground:oklch(0.421 0.095 57.708);
|
|
5
5
|
--brand-yellow-text:oklch(0.516 0.105 86.047);
|
|
6
|
+
--white:oklch(1 0 0);
|
|
7
|
+
--black:oklch(0 0 0);
|
|
6
8
|
--font-ui:"Atkinson Hyperlegible Next","Segoe UI",sans-serif;
|
|
7
9
|
--font-heading:"Atkinson Hyperlegible Next","Segoe UI",sans-serif;
|
|
8
10
|
--font-editorial:"Atkinson Hyperlegible Next","Segoe UI",sans-serif;
|
|
@@ -20,6 +22,11 @@
|
|
|
20
22
|
--leading-tight:1.2;
|
|
21
23
|
--leading-normal:1.5;
|
|
22
24
|
--leading-relaxed:1.7;
|
|
25
|
+
--text-4xl-leading:1.111111;
|
|
26
|
+
--text-3xl-leading:1.2;
|
|
27
|
+
--text-2xl-leading:1.333333;
|
|
28
|
+
--text-xl-leading:1.4;
|
|
29
|
+
--text-lg-leading:1.555556;
|
|
23
30
|
--space-0:0;
|
|
24
31
|
--space-05:0.125rem;
|
|
25
32
|
--space-1:0.25rem;
|
|
@@ -74,12 +81,12 @@
|
|
|
74
81
|
--breakpoint-xl:1280px;
|
|
75
82
|
--breakpoint-2xl:1536px;
|
|
76
83
|
--control-h-xs:1.625rem;
|
|
77
|
-
--control-h-sm:
|
|
84
|
+
--control-h-sm:2rem;
|
|
78
85
|
--control-h-md:2.25rem;
|
|
79
|
-
--control-h-lg:2.
|
|
86
|
+
--control-h-lg:2.5rem;
|
|
80
87
|
--control-h-xl:3.125rem;
|
|
81
88
|
--row-h:3rem;
|
|
82
|
-
--card-pad:
|
|
89
|
+
--card-pad:1rem;
|
|
83
90
|
--section-gap:1.5rem;
|
|
84
91
|
--media-canvas:oklch(0.085 0 0);
|
|
85
92
|
--media-foreground:oklch(0.985 0 0);
|
|
@@ -442,29 +449,38 @@
|
|
|
442
449
|
--control-h-xs:1.5rem;
|
|
443
450
|
--control-h-sm:1.75rem;
|
|
444
451
|
--control-h-md:2rem;
|
|
445
|
-
--control-h-lg:2.
|
|
452
|
+
--control-h-lg:2.25rem;
|
|
446
453
|
--control-h-xl:2.75rem;
|
|
454
|
+
--touch-control-h-sm:2.25rem;
|
|
455
|
+
--touch-control-h-md:2.75rem;
|
|
456
|
+
--touch-control-h-lg:3.25rem;
|
|
447
457
|
--row-h:2.625rem;
|
|
448
|
-
--card-pad:
|
|
458
|
+
--card-pad:0.75rem;
|
|
449
459
|
--section-gap:1.125rem;
|
|
450
460
|
}
|
|
451
461
|
[data-density="comfortable"]{
|
|
452
462
|
--control-h-xs:1.625rem;
|
|
453
|
-
--control-h-sm:
|
|
463
|
+
--control-h-sm:2rem;
|
|
454
464
|
--control-h-md:2.25rem;
|
|
455
|
-
--control-h-lg:2.
|
|
465
|
+
--control-h-lg:2.5rem;
|
|
456
466
|
--control-h-xl:3.125rem;
|
|
467
|
+
--touch-control-h-sm:2.5rem;
|
|
468
|
+
--touch-control-h-md:3rem;
|
|
469
|
+
--touch-control-h-lg:3.5rem;
|
|
457
470
|
--row-h:3rem;
|
|
458
|
-
--card-pad:
|
|
471
|
+
--card-pad:1rem;
|
|
459
472
|
--section-gap:1.5rem;
|
|
460
473
|
}
|
|
461
474
|
[data-density="spacious"]{
|
|
462
475
|
--control-h-xs:1.75rem;
|
|
463
|
-
--control-h-sm:2.
|
|
476
|
+
--control-h-sm:2.25rem;
|
|
464
477
|
--control-h-md:2.5rem;
|
|
465
|
-
--control-h-lg:
|
|
478
|
+
--control-h-lg:2.75rem;
|
|
466
479
|
--control-h-xl:3.5rem;
|
|
480
|
+
--touch-control-h-sm:2.75rem;
|
|
481
|
+
--touch-control-h-md:3.25rem;
|
|
482
|
+
--touch-control-h-lg:3.75rem;
|
|
467
483
|
--row-h:3.375rem;
|
|
468
|
-
--card-pad:1.
|
|
484
|
+
--card-pad:1.25rem;
|
|
469
485
|
--section-gap:2rem;
|
|
470
486
|
}
|
|
@@ -36,6 +36,16 @@ export const base = {
|
|
|
36
36
|
"p3": "color(display-p3 0.4921 0.3908 0.1193)",
|
|
37
37
|
"oklch": "oklch(0.516 0.105 86.047)"
|
|
38
38
|
},
|
|
39
|
+
"white": {
|
|
40
|
+
"hex": "#ffffff",
|
|
41
|
+
"p3": "color(display-p3 1 1 1)",
|
|
42
|
+
"oklch": "oklch(1 0 0)"
|
|
43
|
+
},
|
|
44
|
+
"black": {
|
|
45
|
+
"hex": "#000000",
|
|
46
|
+
"p3": "color(display-p3 0 0 0)",
|
|
47
|
+
"oklch": "oklch(0 0 0)"
|
|
48
|
+
},
|
|
39
49
|
"fontUi": "Atkinson Hyperlegible Next",
|
|
40
50
|
"fontHeading": "Atkinson Hyperlegible Next",
|
|
41
51
|
"fontEditorial": "Atkinson Hyperlegible Next",
|
|
@@ -53,6 +63,11 @@ export const base = {
|
|
|
53
63
|
"leadingTight": 1.2,
|
|
54
64
|
"leadingNormal": 1.5,
|
|
55
65
|
"leadingRelaxed": 1.7,
|
|
66
|
+
"text4xlLeading": 1.111111,
|
|
67
|
+
"text3xlLeading": 1.2,
|
|
68
|
+
"text2xlLeading": 1.333333,
|
|
69
|
+
"textXlLeading": 1.4,
|
|
70
|
+
"textLgLeading": 1.555556,
|
|
56
71
|
"space0": 0,
|
|
57
72
|
"space05": 2,
|
|
58
73
|
"space1": 4,
|
|
@@ -128,12 +143,12 @@ export const base = {
|
|
|
128
143
|
"topbarHeight": 64,
|
|
129
144
|
"contentMax": 1640,
|
|
130
145
|
"controlHXs": 26,
|
|
131
|
-
"controlHSm":
|
|
146
|
+
"controlHSm": 32,
|
|
132
147
|
"controlHMd": 36,
|
|
133
|
-
"controlHLg":
|
|
148
|
+
"controlHLg": 40,
|
|
134
149
|
"controlHXl": 50,
|
|
135
150
|
"rowH": 48,
|
|
136
|
-
"cardPad":
|
|
151
|
+
"cardPad": 16,
|
|
137
152
|
"sectionGap": 24,
|
|
138
153
|
"mediaCanvas": {
|
|
139
154
|
"hex": "#020202",
|
|
@@ -1292,30 +1307,39 @@ export const densities = {
|
|
|
1292
1307
|
"controlHXs": 24,
|
|
1293
1308
|
"controlHSm": 28,
|
|
1294
1309
|
"controlHMd": 32,
|
|
1295
|
-
"controlHLg":
|
|
1310
|
+
"controlHLg": 36,
|
|
1296
1311
|
"controlHXl": 44,
|
|
1312
|
+
"touchControlHSm": 36,
|
|
1313
|
+
"touchControlHMd": 44,
|
|
1314
|
+
"touchControlHLg": 52,
|
|
1297
1315
|
"rowH": 42,
|
|
1298
|
-
"cardPad":
|
|
1316
|
+
"cardPad": 12,
|
|
1299
1317
|
"sectionGap": 18
|
|
1300
1318
|
},
|
|
1301
1319
|
"comfortable": {
|
|
1302
1320
|
"controlHXs": 26,
|
|
1303
|
-
"controlHSm":
|
|
1321
|
+
"controlHSm": 32,
|
|
1304
1322
|
"controlHMd": 36,
|
|
1305
|
-
"controlHLg":
|
|
1323
|
+
"controlHLg": 40,
|
|
1306
1324
|
"controlHXl": 50,
|
|
1325
|
+
"touchControlHSm": 40,
|
|
1326
|
+
"touchControlHMd": 48,
|
|
1327
|
+
"touchControlHLg": 56,
|
|
1307
1328
|
"rowH": 48,
|
|
1308
|
-
"cardPad":
|
|
1329
|
+
"cardPad": 16,
|
|
1309
1330
|
"sectionGap": 24
|
|
1310
1331
|
},
|
|
1311
1332
|
"spacious": {
|
|
1312
1333
|
"controlHXs": 28,
|
|
1313
|
-
"controlHSm":
|
|
1334
|
+
"controlHSm": 36,
|
|
1314
1335
|
"controlHMd": 40,
|
|
1315
|
-
"controlHLg":
|
|
1336
|
+
"controlHLg": 44,
|
|
1316
1337
|
"controlHXl": 56,
|
|
1338
|
+
"touchControlHSm": 44,
|
|
1339
|
+
"touchControlHMd": 52,
|
|
1340
|
+
"touchControlHLg": 60,
|
|
1317
1341
|
"rowH": 54,
|
|
1318
|
-
"cardPad":
|
|
1342
|
+
"cardPad": 20,
|
|
1319
1343
|
"sectionGap": 32
|
|
1320
1344
|
}
|
|
1321
1345
|
};
|
package/package.json
CHANGED
package/src/aurea.tokens.json
CHANGED
|
@@ -58,6 +58,30 @@
|
|
|
58
58
|
]
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
+
"white": {
|
|
62
|
+
"$type": "color",
|
|
63
|
+
"$description": "Branco puro, o MESMO nos dois temas (15/10/2026). A opção escolhida da chave de tema de três posições, como a da referência: no tema escuro ela também é branca, e é isso que deixa a lua preta à vista.",
|
|
64
|
+
"$value": {
|
|
65
|
+
"colorSpace": "oklch",
|
|
66
|
+
"components": [
|
|
67
|
+
1,
|
|
68
|
+
0,
|
|
69
|
+
0
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"black": {
|
|
74
|
+
"$type": "color",
|
|
75
|
+
"$description": "Preto absoluto, o MESMO nos dois temas (15/10/2026, o Victor: \"a lua quero um preto absoluto\"). A lua e o monitor escolhidos na chave de tema, sobre o branco da escolhida (21:1).",
|
|
76
|
+
"$value": {
|
|
77
|
+
"colorSpace": "oklch",
|
|
78
|
+
"components": [
|
|
79
|
+
0,
|
|
80
|
+
0,
|
|
81
|
+
0
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
61
85
|
"font-ui": {
|
|
62
86
|
"$type": "fontFamily",
|
|
63
87
|
"$value": [
|
|
@@ -173,6 +197,31 @@
|
|
|
173
197
|
"$type": "number",
|
|
174
198
|
"$value": 1.7
|
|
175
199
|
},
|
|
200
|
+
"text-4xl-leading": {
|
|
201
|
+
"$type": "number",
|
|
202
|
+
"$description": "Line height of the text-4xl heading (36 → 40), from the reference's published scale, where each size carries its own line height (0.32.0). A ratio, so the native target multiplies it by the font size.",
|
|
203
|
+
"$value": 1.111111
|
|
204
|
+
},
|
|
205
|
+
"text-3xl-leading": {
|
|
206
|
+
"$type": "number",
|
|
207
|
+
"$description": "Line height of the text-3xl heading (30 → 36), from the reference's published scale (0.32.0).",
|
|
208
|
+
"$value": 1.2
|
|
209
|
+
},
|
|
210
|
+
"text-2xl-leading": {
|
|
211
|
+
"$type": "number",
|
|
212
|
+
"$description": "Line height of the text-2xl heading (24 → 32), from the reference's published scale (0.32.0).",
|
|
213
|
+
"$value": 1.333333
|
|
214
|
+
},
|
|
215
|
+
"text-xl-leading": {
|
|
216
|
+
"$type": "number",
|
|
217
|
+
"$description": "Line height of the text-xl heading (20 → 28), from the reference's published scale (0.32.0).",
|
|
218
|
+
"$value": 1.4
|
|
219
|
+
},
|
|
220
|
+
"text-lg-leading": {
|
|
221
|
+
"$type": "number",
|
|
222
|
+
"$description": "Line height of the text-lg heading (18 → 28), from the reference's published scale (0.32.0). The base size (16 → 24) is leading-normal.",
|
|
223
|
+
"$value": 1.555556
|
|
224
|
+
},
|
|
176
225
|
"space-0": {
|
|
177
226
|
"$type": "dimension",
|
|
178
227
|
"$value": {
|
|
@@ -680,7 +729,7 @@
|
|
|
680
729
|
"control-h-sm": {
|
|
681
730
|
"$type": "dimension",
|
|
682
731
|
"$value": {
|
|
683
|
-
"value":
|
|
732
|
+
"value": 2,
|
|
684
733
|
"unit": "rem"
|
|
685
734
|
}
|
|
686
735
|
},
|
|
@@ -694,7 +743,7 @@
|
|
|
694
743
|
"control-h-lg": {
|
|
695
744
|
"$type": "dimension",
|
|
696
745
|
"$value": {
|
|
697
|
-
"value": 2.
|
|
746
|
+
"value": 2.5,
|
|
698
747
|
"unit": "rem"
|
|
699
748
|
}
|
|
700
749
|
},
|
|
@@ -715,7 +764,7 @@
|
|
|
715
764
|
"card-pad": {
|
|
716
765
|
"$type": "dimension",
|
|
717
766
|
"$value": {
|
|
718
|
-
"value": 1.
|
|
767
|
+
"value": 1.0,
|
|
719
768
|
"unit": "rem"
|
|
720
769
|
}
|
|
721
770
|
},
|
|
@@ -4459,7 +4508,7 @@
|
|
|
4459
4508
|
"control-h-lg": {
|
|
4460
4509
|
"$type": "dimension",
|
|
4461
4510
|
"$value": {
|
|
4462
|
-
"value": 2.
|
|
4511
|
+
"value": 2.25,
|
|
4463
4512
|
"unit": "rem"
|
|
4464
4513
|
}
|
|
4465
4514
|
},
|
|
@@ -4470,6 +4519,27 @@
|
|
|
4470
4519
|
"unit": "rem"
|
|
4471
4520
|
}
|
|
4472
4521
|
},
|
|
4522
|
+
"touch-control-h-sm": {
|
|
4523
|
+
"$type": "dimension",
|
|
4524
|
+
"$value": {
|
|
4525
|
+
"value": 2.25,
|
|
4526
|
+
"unit": "rem"
|
|
4527
|
+
}
|
|
4528
|
+
},
|
|
4529
|
+
"touch-control-h-md": {
|
|
4530
|
+
"$type": "dimension",
|
|
4531
|
+
"$value": {
|
|
4532
|
+
"value": 2.75,
|
|
4533
|
+
"unit": "rem"
|
|
4534
|
+
}
|
|
4535
|
+
},
|
|
4536
|
+
"touch-control-h-lg": {
|
|
4537
|
+
"$type": "dimension",
|
|
4538
|
+
"$value": {
|
|
4539
|
+
"value": 3.25,
|
|
4540
|
+
"unit": "rem"
|
|
4541
|
+
}
|
|
4542
|
+
},
|
|
4473
4543
|
"row-h": {
|
|
4474
4544
|
"$type": "dimension",
|
|
4475
4545
|
"$value": {
|
|
@@ -4480,7 +4550,7 @@
|
|
|
4480
4550
|
"card-pad": {
|
|
4481
4551
|
"$type": "dimension",
|
|
4482
4552
|
"$value": {
|
|
4483
|
-
"value":
|
|
4553
|
+
"value": 0.75,
|
|
4484
4554
|
"unit": "rem"
|
|
4485
4555
|
}
|
|
4486
4556
|
},
|
|
@@ -4503,9 +4573,9 @@
|
|
|
4503
4573
|
},
|
|
4504
4574
|
"control-h-sm": {
|
|
4505
4575
|
"$type": "dimension",
|
|
4506
|
-
"$description": "Height of a small control: compact button, pagination, calendar arrow.",
|
|
4576
|
+
"$description": "Height of a small control: compact button, pagination, calendar arrow. 32, the reference's sm (h-8); was 30 until 0.32.0.",
|
|
4507
4577
|
"$value": {
|
|
4508
|
-
"value":
|
|
4578
|
+
"value": 2,
|
|
4509
4579
|
"unit": "rem"
|
|
4510
4580
|
}
|
|
4511
4581
|
},
|
|
@@ -4519,9 +4589,9 @@
|
|
|
4519
4589
|
},
|
|
4520
4590
|
"control-h-lg": {
|
|
4521
4591
|
"$type": "dimension",
|
|
4522
|
-
"$description": "Height of a large control.",
|
|
4592
|
+
"$description": "Height of a large control. 40, the reference's lg (h-10); was 42 until 0.32.0.",
|
|
4523
4593
|
"$value": {
|
|
4524
|
-
"value": 2.
|
|
4594
|
+
"value": 2.5,
|
|
4525
4595
|
"unit": "rem"
|
|
4526
4596
|
}
|
|
4527
4597
|
},
|
|
@@ -4533,6 +4603,30 @@
|
|
|
4533
4603
|
"unit": "rem"
|
|
4534
4604
|
}
|
|
4535
4605
|
},
|
|
4606
|
+
"touch-control-h-sm": {
|
|
4607
|
+
"$type": "dimension",
|
|
4608
|
+
"$description": "Height of a small control on the native (touch) target. The native scale is its own, built for the finger like the reference's native package (sm 40 · md 48 · lg 56); the web keeps control-h-* (0.32.0, ADR-0066).",
|
|
4609
|
+
"$value": {
|
|
4610
|
+
"value": 2.5,
|
|
4611
|
+
"unit": "rem"
|
|
4612
|
+
}
|
|
4613
|
+
},
|
|
4614
|
+
"touch-control-h-md": {
|
|
4615
|
+
"$type": "dimension",
|
|
4616
|
+
"$description": "Height of the default control on the native (touch) target: button, field, select. 48, as in the reference's native package (0.32.0, ADR-0066).",
|
|
4617
|
+
"$value": {
|
|
4618
|
+
"value": 3,
|
|
4619
|
+
"unit": "rem"
|
|
4620
|
+
}
|
|
4621
|
+
},
|
|
4622
|
+
"touch-control-h-lg": {
|
|
4623
|
+
"$type": "dimension",
|
|
4624
|
+
"$description": "Height of a large control on the native (touch) target (0.32.0, ADR-0066).",
|
|
4625
|
+
"$value": {
|
|
4626
|
+
"value": 3.5,
|
|
4627
|
+
"unit": "rem"
|
|
4628
|
+
}
|
|
4629
|
+
},
|
|
4536
4630
|
"row-h": {
|
|
4537
4631
|
"$type": "dimension",
|
|
4538
4632
|
"$description": "Height of a table row. The one density token that is not about controls.",
|
|
@@ -4545,7 +4639,7 @@
|
|
|
4545
4639
|
"$type": "dimension",
|
|
4546
4640
|
"$description": "Inner padding of a panel. Density breathes here, which is why a compact layout feels tighter without anything having moved.",
|
|
4547
4641
|
"$value": {
|
|
4548
|
-
"value": 1.
|
|
4642
|
+
"value": 1.0,
|
|
4549
4643
|
"unit": "rem"
|
|
4550
4644
|
}
|
|
4551
4645
|
},
|
|
@@ -4569,7 +4663,7 @@
|
|
|
4569
4663
|
"control-h-sm": {
|
|
4570
4664
|
"$type": "dimension",
|
|
4571
4665
|
"$value": {
|
|
4572
|
-
"value": 2.
|
|
4666
|
+
"value": 2.25,
|
|
4573
4667
|
"unit": "rem"
|
|
4574
4668
|
}
|
|
4575
4669
|
},
|
|
@@ -4583,7 +4677,7 @@
|
|
|
4583
4677
|
"control-h-lg": {
|
|
4584
4678
|
"$type": "dimension",
|
|
4585
4679
|
"$value": {
|
|
4586
|
-
"value":
|
|
4680
|
+
"value": 2.75,
|
|
4587
4681
|
"unit": "rem"
|
|
4588
4682
|
}
|
|
4589
4683
|
},
|
|
@@ -4594,6 +4688,27 @@
|
|
|
4594
4688
|
"unit": "rem"
|
|
4595
4689
|
}
|
|
4596
4690
|
},
|
|
4691
|
+
"touch-control-h-sm": {
|
|
4692
|
+
"$type": "dimension",
|
|
4693
|
+
"$value": {
|
|
4694
|
+
"value": 2.75,
|
|
4695
|
+
"unit": "rem"
|
|
4696
|
+
}
|
|
4697
|
+
},
|
|
4698
|
+
"touch-control-h-md": {
|
|
4699
|
+
"$type": "dimension",
|
|
4700
|
+
"$value": {
|
|
4701
|
+
"value": 3.25,
|
|
4702
|
+
"unit": "rem"
|
|
4703
|
+
}
|
|
4704
|
+
},
|
|
4705
|
+
"touch-control-h-lg": {
|
|
4706
|
+
"$type": "dimension",
|
|
4707
|
+
"$value": {
|
|
4708
|
+
"value": 3.75,
|
|
4709
|
+
"unit": "rem"
|
|
4710
|
+
}
|
|
4711
|
+
},
|
|
4597
4712
|
"row-h": {
|
|
4598
4713
|
"$type": "dimension",
|
|
4599
4714
|
"$value": {
|
|
@@ -4604,7 +4719,7 @@
|
|
|
4604
4719
|
"card-pad": {
|
|
4605
4720
|
"$type": "dimension",
|
|
4606
4721
|
"$value": {
|
|
4607
|
-
"value": 1.
|
|
4722
|
+
"value": 1.25,
|
|
4608
4723
|
"unit": "rem"
|
|
4609
4724
|
}
|
|
4610
4725
|
},
|