@aurea-uds/tokens 0.31.0 → 0.32.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 +25 -11
- package/dist/aurea.tokens.native.js +25 -11
- package/package.json +1 -1
- package/src/aurea.tokens.json +104 -13
package/dist/aurea.tokens.css
CHANGED
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
--leading-tight:1.2;
|
|
21
21
|
--leading-normal:1.5;
|
|
22
22
|
--leading-relaxed:1.7;
|
|
23
|
+
--text-4xl-leading:1.111111;
|
|
24
|
+
--text-3xl-leading:1.2;
|
|
25
|
+
--text-2xl-leading:1.333333;
|
|
26
|
+
--text-xl-leading:1.4;
|
|
27
|
+
--text-lg-leading:1.555556;
|
|
23
28
|
--space-0:0;
|
|
24
29
|
--space-05:0.125rem;
|
|
25
30
|
--space-1:0.25rem;
|
|
@@ -74,12 +79,12 @@
|
|
|
74
79
|
--breakpoint-xl:1280px;
|
|
75
80
|
--breakpoint-2xl:1536px;
|
|
76
81
|
--control-h-xs:1.625rem;
|
|
77
|
-
--control-h-sm:
|
|
82
|
+
--control-h-sm:2rem;
|
|
78
83
|
--control-h-md:2.25rem;
|
|
79
|
-
--control-h-lg:2.
|
|
84
|
+
--control-h-lg:2.5rem;
|
|
80
85
|
--control-h-xl:3.125rem;
|
|
81
86
|
--row-h:3rem;
|
|
82
|
-
--card-pad:
|
|
87
|
+
--card-pad:1rem;
|
|
83
88
|
--section-gap:1.5rem;
|
|
84
89
|
--media-canvas:oklch(0.085 0 0);
|
|
85
90
|
--media-foreground:oklch(0.985 0 0);
|
|
@@ -442,29 +447,38 @@
|
|
|
442
447
|
--control-h-xs:1.5rem;
|
|
443
448
|
--control-h-sm:1.75rem;
|
|
444
449
|
--control-h-md:2rem;
|
|
445
|
-
--control-h-lg:2.
|
|
450
|
+
--control-h-lg:2.25rem;
|
|
446
451
|
--control-h-xl:2.75rem;
|
|
452
|
+
--touch-control-h-sm:2.25rem;
|
|
453
|
+
--touch-control-h-md:2.75rem;
|
|
454
|
+
--touch-control-h-lg:3.25rem;
|
|
447
455
|
--row-h:2.625rem;
|
|
448
|
-
--card-pad:
|
|
456
|
+
--card-pad:0.75rem;
|
|
449
457
|
--section-gap:1.125rem;
|
|
450
458
|
}
|
|
451
459
|
[data-density="comfortable"]{
|
|
452
460
|
--control-h-xs:1.625rem;
|
|
453
|
-
--control-h-sm:
|
|
461
|
+
--control-h-sm:2rem;
|
|
454
462
|
--control-h-md:2.25rem;
|
|
455
|
-
--control-h-lg:2.
|
|
463
|
+
--control-h-lg:2.5rem;
|
|
456
464
|
--control-h-xl:3.125rem;
|
|
465
|
+
--touch-control-h-sm:2.5rem;
|
|
466
|
+
--touch-control-h-md:3rem;
|
|
467
|
+
--touch-control-h-lg:3.5rem;
|
|
457
468
|
--row-h:3rem;
|
|
458
|
-
--card-pad:
|
|
469
|
+
--card-pad:1rem;
|
|
459
470
|
--section-gap:1.5rem;
|
|
460
471
|
}
|
|
461
472
|
[data-density="spacious"]{
|
|
462
473
|
--control-h-xs:1.75rem;
|
|
463
|
-
--control-h-sm:2.
|
|
474
|
+
--control-h-sm:2.25rem;
|
|
464
475
|
--control-h-md:2.5rem;
|
|
465
|
-
--control-h-lg:
|
|
476
|
+
--control-h-lg:2.75rem;
|
|
466
477
|
--control-h-xl:3.5rem;
|
|
478
|
+
--touch-control-h-sm:2.75rem;
|
|
479
|
+
--touch-control-h-md:3.25rem;
|
|
480
|
+
--touch-control-h-lg:3.75rem;
|
|
467
481
|
--row-h:3.375rem;
|
|
468
|
-
--card-pad:1.
|
|
482
|
+
--card-pad:1.25rem;
|
|
469
483
|
--section-gap:2rem;
|
|
470
484
|
}
|
|
@@ -53,6 +53,11 @@ export const base = {
|
|
|
53
53
|
"leadingTight": 1.2,
|
|
54
54
|
"leadingNormal": 1.5,
|
|
55
55
|
"leadingRelaxed": 1.7,
|
|
56
|
+
"text4xlLeading": 1.111111,
|
|
57
|
+
"text3xlLeading": 1.2,
|
|
58
|
+
"text2xlLeading": 1.333333,
|
|
59
|
+
"textXlLeading": 1.4,
|
|
60
|
+
"textLgLeading": 1.555556,
|
|
56
61
|
"space0": 0,
|
|
57
62
|
"space05": 2,
|
|
58
63
|
"space1": 4,
|
|
@@ -128,12 +133,12 @@ export const base = {
|
|
|
128
133
|
"topbarHeight": 64,
|
|
129
134
|
"contentMax": 1640,
|
|
130
135
|
"controlHXs": 26,
|
|
131
|
-
"controlHSm":
|
|
136
|
+
"controlHSm": 32,
|
|
132
137
|
"controlHMd": 36,
|
|
133
|
-
"controlHLg":
|
|
138
|
+
"controlHLg": 40,
|
|
134
139
|
"controlHXl": 50,
|
|
135
140
|
"rowH": 48,
|
|
136
|
-
"cardPad":
|
|
141
|
+
"cardPad": 16,
|
|
137
142
|
"sectionGap": 24,
|
|
138
143
|
"mediaCanvas": {
|
|
139
144
|
"hex": "#020202",
|
|
@@ -1292,30 +1297,39 @@ export const densities = {
|
|
|
1292
1297
|
"controlHXs": 24,
|
|
1293
1298
|
"controlHSm": 28,
|
|
1294
1299
|
"controlHMd": 32,
|
|
1295
|
-
"controlHLg":
|
|
1300
|
+
"controlHLg": 36,
|
|
1296
1301
|
"controlHXl": 44,
|
|
1302
|
+
"touchControlHSm": 36,
|
|
1303
|
+
"touchControlHMd": 44,
|
|
1304
|
+
"touchControlHLg": 52,
|
|
1297
1305
|
"rowH": 42,
|
|
1298
|
-
"cardPad":
|
|
1306
|
+
"cardPad": 12,
|
|
1299
1307
|
"sectionGap": 18
|
|
1300
1308
|
},
|
|
1301
1309
|
"comfortable": {
|
|
1302
1310
|
"controlHXs": 26,
|
|
1303
|
-
"controlHSm":
|
|
1311
|
+
"controlHSm": 32,
|
|
1304
1312
|
"controlHMd": 36,
|
|
1305
|
-
"controlHLg":
|
|
1313
|
+
"controlHLg": 40,
|
|
1306
1314
|
"controlHXl": 50,
|
|
1315
|
+
"touchControlHSm": 40,
|
|
1316
|
+
"touchControlHMd": 48,
|
|
1317
|
+
"touchControlHLg": 56,
|
|
1307
1318
|
"rowH": 48,
|
|
1308
|
-
"cardPad":
|
|
1319
|
+
"cardPad": 16,
|
|
1309
1320
|
"sectionGap": 24
|
|
1310
1321
|
},
|
|
1311
1322
|
"spacious": {
|
|
1312
1323
|
"controlHXs": 28,
|
|
1313
|
-
"controlHSm":
|
|
1324
|
+
"controlHSm": 36,
|
|
1314
1325
|
"controlHMd": 40,
|
|
1315
|
-
"controlHLg":
|
|
1326
|
+
"controlHLg": 44,
|
|
1316
1327
|
"controlHXl": 56,
|
|
1328
|
+
"touchControlHSm": 44,
|
|
1329
|
+
"touchControlHMd": 52,
|
|
1330
|
+
"touchControlHLg": 60,
|
|
1317
1331
|
"rowH": 54,
|
|
1318
|
-
"cardPad":
|
|
1332
|
+
"cardPad": 20,
|
|
1319
1333
|
"sectionGap": 32
|
|
1320
1334
|
}
|
|
1321
1335
|
};
|
package/package.json
CHANGED
package/src/aurea.tokens.json
CHANGED
|
@@ -173,6 +173,31 @@
|
|
|
173
173
|
"$type": "number",
|
|
174
174
|
"$value": 1.7
|
|
175
175
|
},
|
|
176
|
+
"text-4xl-leading": {
|
|
177
|
+
"$type": "number",
|
|
178
|
+
"$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.",
|
|
179
|
+
"$value": 1.111111
|
|
180
|
+
},
|
|
181
|
+
"text-3xl-leading": {
|
|
182
|
+
"$type": "number",
|
|
183
|
+
"$description": "Line height of the text-3xl heading (30 → 36), from the reference's published scale (0.32.0).",
|
|
184
|
+
"$value": 1.2
|
|
185
|
+
},
|
|
186
|
+
"text-2xl-leading": {
|
|
187
|
+
"$type": "number",
|
|
188
|
+
"$description": "Line height of the text-2xl heading (24 → 32), from the reference's published scale (0.32.0).",
|
|
189
|
+
"$value": 1.333333
|
|
190
|
+
},
|
|
191
|
+
"text-xl-leading": {
|
|
192
|
+
"$type": "number",
|
|
193
|
+
"$description": "Line height of the text-xl heading (20 → 28), from the reference's published scale (0.32.0).",
|
|
194
|
+
"$value": 1.4
|
|
195
|
+
},
|
|
196
|
+
"text-lg-leading": {
|
|
197
|
+
"$type": "number",
|
|
198
|
+
"$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.",
|
|
199
|
+
"$value": 1.555556
|
|
200
|
+
},
|
|
176
201
|
"space-0": {
|
|
177
202
|
"$type": "dimension",
|
|
178
203
|
"$value": {
|
|
@@ -680,7 +705,7 @@
|
|
|
680
705
|
"control-h-sm": {
|
|
681
706
|
"$type": "dimension",
|
|
682
707
|
"$value": {
|
|
683
|
-
"value":
|
|
708
|
+
"value": 2,
|
|
684
709
|
"unit": "rem"
|
|
685
710
|
}
|
|
686
711
|
},
|
|
@@ -694,7 +719,7 @@
|
|
|
694
719
|
"control-h-lg": {
|
|
695
720
|
"$type": "dimension",
|
|
696
721
|
"$value": {
|
|
697
|
-
"value": 2.
|
|
722
|
+
"value": 2.5,
|
|
698
723
|
"unit": "rem"
|
|
699
724
|
}
|
|
700
725
|
},
|
|
@@ -715,7 +740,7 @@
|
|
|
715
740
|
"card-pad": {
|
|
716
741
|
"$type": "dimension",
|
|
717
742
|
"$value": {
|
|
718
|
-
"value": 1.
|
|
743
|
+
"value": 1.0,
|
|
719
744
|
"unit": "rem"
|
|
720
745
|
}
|
|
721
746
|
},
|
|
@@ -4459,7 +4484,7 @@
|
|
|
4459
4484
|
"control-h-lg": {
|
|
4460
4485
|
"$type": "dimension",
|
|
4461
4486
|
"$value": {
|
|
4462
|
-
"value": 2.
|
|
4487
|
+
"value": 2.25,
|
|
4463
4488
|
"unit": "rem"
|
|
4464
4489
|
}
|
|
4465
4490
|
},
|
|
@@ -4470,6 +4495,27 @@
|
|
|
4470
4495
|
"unit": "rem"
|
|
4471
4496
|
}
|
|
4472
4497
|
},
|
|
4498
|
+
"touch-control-h-sm": {
|
|
4499
|
+
"$type": "dimension",
|
|
4500
|
+
"$value": {
|
|
4501
|
+
"value": 2.25,
|
|
4502
|
+
"unit": "rem"
|
|
4503
|
+
}
|
|
4504
|
+
},
|
|
4505
|
+
"touch-control-h-md": {
|
|
4506
|
+
"$type": "dimension",
|
|
4507
|
+
"$value": {
|
|
4508
|
+
"value": 2.75,
|
|
4509
|
+
"unit": "rem"
|
|
4510
|
+
}
|
|
4511
|
+
},
|
|
4512
|
+
"touch-control-h-lg": {
|
|
4513
|
+
"$type": "dimension",
|
|
4514
|
+
"$value": {
|
|
4515
|
+
"value": 3.25,
|
|
4516
|
+
"unit": "rem"
|
|
4517
|
+
}
|
|
4518
|
+
},
|
|
4473
4519
|
"row-h": {
|
|
4474
4520
|
"$type": "dimension",
|
|
4475
4521
|
"$value": {
|
|
@@ -4480,7 +4526,7 @@
|
|
|
4480
4526
|
"card-pad": {
|
|
4481
4527
|
"$type": "dimension",
|
|
4482
4528
|
"$value": {
|
|
4483
|
-
"value":
|
|
4529
|
+
"value": 0.75,
|
|
4484
4530
|
"unit": "rem"
|
|
4485
4531
|
}
|
|
4486
4532
|
},
|
|
@@ -4503,9 +4549,9 @@
|
|
|
4503
4549
|
},
|
|
4504
4550
|
"control-h-sm": {
|
|
4505
4551
|
"$type": "dimension",
|
|
4506
|
-
"$description": "Height of a small control: compact button, pagination, calendar arrow.",
|
|
4552
|
+
"$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
4553
|
"$value": {
|
|
4508
|
-
"value":
|
|
4554
|
+
"value": 2,
|
|
4509
4555
|
"unit": "rem"
|
|
4510
4556
|
}
|
|
4511
4557
|
},
|
|
@@ -4519,9 +4565,9 @@
|
|
|
4519
4565
|
},
|
|
4520
4566
|
"control-h-lg": {
|
|
4521
4567
|
"$type": "dimension",
|
|
4522
|
-
"$description": "Height of a large control.",
|
|
4568
|
+
"$description": "Height of a large control. 40, the reference's lg (h-10); was 42 until 0.32.0.",
|
|
4523
4569
|
"$value": {
|
|
4524
|
-
"value": 2.
|
|
4570
|
+
"value": 2.5,
|
|
4525
4571
|
"unit": "rem"
|
|
4526
4572
|
}
|
|
4527
4573
|
},
|
|
@@ -4533,6 +4579,30 @@
|
|
|
4533
4579
|
"unit": "rem"
|
|
4534
4580
|
}
|
|
4535
4581
|
},
|
|
4582
|
+
"touch-control-h-sm": {
|
|
4583
|
+
"$type": "dimension",
|
|
4584
|
+
"$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).",
|
|
4585
|
+
"$value": {
|
|
4586
|
+
"value": 2.5,
|
|
4587
|
+
"unit": "rem"
|
|
4588
|
+
}
|
|
4589
|
+
},
|
|
4590
|
+
"touch-control-h-md": {
|
|
4591
|
+
"$type": "dimension",
|
|
4592
|
+
"$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).",
|
|
4593
|
+
"$value": {
|
|
4594
|
+
"value": 3,
|
|
4595
|
+
"unit": "rem"
|
|
4596
|
+
}
|
|
4597
|
+
},
|
|
4598
|
+
"touch-control-h-lg": {
|
|
4599
|
+
"$type": "dimension",
|
|
4600
|
+
"$description": "Height of a large control on the native (touch) target (0.32.0, ADR-0066).",
|
|
4601
|
+
"$value": {
|
|
4602
|
+
"value": 3.5,
|
|
4603
|
+
"unit": "rem"
|
|
4604
|
+
}
|
|
4605
|
+
},
|
|
4536
4606
|
"row-h": {
|
|
4537
4607
|
"$type": "dimension",
|
|
4538
4608
|
"$description": "Height of a table row. The one density token that is not about controls.",
|
|
@@ -4545,7 +4615,7 @@
|
|
|
4545
4615
|
"$type": "dimension",
|
|
4546
4616
|
"$description": "Inner padding of a panel. Density breathes here, which is why a compact layout feels tighter without anything having moved.",
|
|
4547
4617
|
"$value": {
|
|
4548
|
-
"value": 1.
|
|
4618
|
+
"value": 1.0,
|
|
4549
4619
|
"unit": "rem"
|
|
4550
4620
|
}
|
|
4551
4621
|
},
|
|
@@ -4569,7 +4639,7 @@
|
|
|
4569
4639
|
"control-h-sm": {
|
|
4570
4640
|
"$type": "dimension",
|
|
4571
4641
|
"$value": {
|
|
4572
|
-
"value": 2.
|
|
4642
|
+
"value": 2.25,
|
|
4573
4643
|
"unit": "rem"
|
|
4574
4644
|
}
|
|
4575
4645
|
},
|
|
@@ -4583,7 +4653,7 @@
|
|
|
4583
4653
|
"control-h-lg": {
|
|
4584
4654
|
"$type": "dimension",
|
|
4585
4655
|
"$value": {
|
|
4586
|
-
"value":
|
|
4656
|
+
"value": 2.75,
|
|
4587
4657
|
"unit": "rem"
|
|
4588
4658
|
}
|
|
4589
4659
|
},
|
|
@@ -4594,6 +4664,27 @@
|
|
|
4594
4664
|
"unit": "rem"
|
|
4595
4665
|
}
|
|
4596
4666
|
},
|
|
4667
|
+
"touch-control-h-sm": {
|
|
4668
|
+
"$type": "dimension",
|
|
4669
|
+
"$value": {
|
|
4670
|
+
"value": 2.75,
|
|
4671
|
+
"unit": "rem"
|
|
4672
|
+
}
|
|
4673
|
+
},
|
|
4674
|
+
"touch-control-h-md": {
|
|
4675
|
+
"$type": "dimension",
|
|
4676
|
+
"$value": {
|
|
4677
|
+
"value": 3.25,
|
|
4678
|
+
"unit": "rem"
|
|
4679
|
+
}
|
|
4680
|
+
},
|
|
4681
|
+
"touch-control-h-lg": {
|
|
4682
|
+
"$type": "dimension",
|
|
4683
|
+
"$value": {
|
|
4684
|
+
"value": 3.75,
|
|
4685
|
+
"unit": "rem"
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4597
4688
|
"row-h": {
|
|
4598
4689
|
"$type": "dimension",
|
|
4599
4690
|
"$value": {
|
|
@@ -4604,7 +4695,7 @@
|
|
|
4604
4695
|
"card-pad": {
|
|
4605
4696
|
"$type": "dimension",
|
|
4606
4697
|
"$value": {
|
|
4607
|
-
"value": 1.
|
|
4698
|
+
"value": 1.25,
|
|
4608
4699
|
"unit": "rem"
|
|
4609
4700
|
}
|
|
4610
4701
|
},
|