@alea-design/tokens 0.5.1 → 0.6.1

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.
@@ -547,11 +547,11 @@
547
547
  },
548
548
  {
549
549
  "name": "--alea-font-family-display",
550
- "description": "Headlines, at weight 300 (fontFamily: 'Crimson Pro', Georgia, 'Times New Roman', serif)"
550
+ "description": "Heading font: titles and big numbers, at weight 300. Override with brand.fonts.heading or --alea-font-family-display; the sans looks point it at the body font. (fontFamily: 'Crimson Pro', Georgia, 'Times New Roman', serif)"
551
551
  },
552
552
  {
553
553
  "name": "--alea-font-family-body",
554
- "description": "(fontFamily: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif)"
554
+ "description": "Content font: all text and every control (buttons, fields, tables, tabs, menus, tooltips, chart labels). Override with brand.fonts.body or --alea-font-family-body. (fontFamily: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif)"
555
555
  },
556
556
  {
557
557
  "name": "--alea-font-family-mono",
@@ -559,55 +559,55 @@
559
559
  },
560
560
  {
561
561
  "name": "--alea-font-size-2xs",
562
- "description": "(dimension: 11px)"
562
+ "description": "(dimension: 0.6875rem)"
563
563
  },
564
564
  {
565
565
  "name": "--alea-font-size-xs",
566
- "description": "Eyebrows, badges (dimension: 12px)"
566
+ "description": "Eyebrows, badges (dimension: 0.75rem)"
567
567
  },
568
568
  {
569
569
  "name": "--alea-font-size-sm",
570
- "description": "Labels, small text (dimension: 13px)"
570
+ "description": "Labels, small text (dimension: 0.8125rem)"
571
571
  },
572
572
  {
573
573
  "name": "--alea-font-size-md",
574
- "description": "Buttons, dense UI (dimension: 14px)"
574
+ "description": "Buttons, dense UI (dimension: 0.875rem)"
575
575
  },
576
576
  {
577
577
  "name": "--alea-font-size-base",
578
- "description": "Body text, inputs (dimension: 16px)"
578
+ "description": "Body text, inputs (dimension: 1rem)"
579
579
  },
580
580
  {
581
581
  "name": "--alea-font-size-lg",
582
- "description": "(dimension: 18px)"
582
+ "description": "(dimension: 1.125rem)"
583
583
  },
584
584
  {
585
585
  "name": "--alea-font-size-xl",
586
- "description": "(dimension: 20px)"
586
+ "description": "(dimension: 1.25rem)"
587
587
  },
588
588
  {
589
589
  "name": "--alea-font-size-2xl",
590
- "description": "(dimension: 24px)"
590
+ "description": "(dimension: 1.5rem)"
591
591
  },
592
592
  {
593
593
  "name": "--alea-font-size-3xl",
594
- "description": "Card titles (dimension: 28px)"
594
+ "description": "Card titles (dimension: 1.75rem)"
595
595
  },
596
596
  {
597
597
  "name": "--alea-font-size-4xl",
598
- "description": "(dimension: 36px)"
598
+ "description": "(dimension: 2.25rem)"
599
599
  },
600
600
  {
601
601
  "name": "--alea-font-size-5xl",
602
- "description": "(dimension: 48px)"
602
+ "description": "(dimension: 3rem)"
603
603
  },
604
604
  {
605
605
  "name": "--alea-font-size-6xl",
606
- "description": "(dimension: 64px)"
606
+ "description": "(dimension: 4rem)"
607
607
  },
608
608
  {
609
609
  "name": "--alea-font-size-7xl",
610
- "description": "Hero headlines (dimension: 80px)"
610
+ "description": "Hero headlines (dimension: 5rem)"
611
611
  },
612
612
  {
613
613
  "name": "--alea-font-weight-light",
@@ -791,31 +791,75 @@
791
791
  },
792
792
  {
793
793
  "name": "--alea-size-control-sm",
794
- "description": "(dimension: 32px)"
794
+ "description": "(dimension: 2rem · compact 1.75rem)"
795
795
  },
796
796
  {
797
797
  "name": "--alea-size-control-md",
798
- "description": "(dimension: 40px)"
798
+ "description": "(dimension: 2.5rem · compact 2.25rem)"
799
799
  },
800
800
  {
801
801
  "name": "--alea-size-control-lg",
802
- "description": "(dimension: 48px)"
802
+ "description": "(dimension: 3rem · compact 2.75rem)"
803
803
  },
804
804
  {
805
805
  "name": "--alea-size-field",
806
- "description": "(dimension: 44px)"
806
+ "description": "(dimension: 2.75rem · compact 2.5rem)"
807
+ },
808
+ {
809
+ "name": "--alea-size-badge-sm",
810
+ "description": "Small Badge height. (dimension: 1.25rem · compact 1rem)"
811
+ },
812
+ {
813
+ "name": "--alea-size-badge-md",
814
+ "description": "Badge height. (dimension: 1.5rem · compact 1.25rem)"
815
+ },
816
+ {
817
+ "name": "--alea-size-badge-lg",
818
+ "description": "Large Badge height. (dimension: 1.75rem · compact 1.5rem)"
807
819
  },
808
820
  {
809
821
  "name": "--alea-size-icon-sm",
810
- "description": "(dimension: 16px)"
822
+ "description": "(dimension: 1rem)"
811
823
  },
812
824
  {
813
825
  "name": "--alea-size-icon-md",
814
- "description": "(dimension: 20px)"
826
+ "description": "(dimension: 1.25rem)"
815
827
  },
816
828
  {
817
829
  "name": "--alea-size-icon-lg",
818
- "description": "(dimension: 24px)"
830
+ "description": "(dimension: 1.5rem)"
831
+ },
832
+ {
833
+ "name": "--alea-control-pad-x-2",
834
+ "description": "(dimension: 0.5rem · compact 0.5rem)"
835
+ },
836
+ {
837
+ "name": "--alea-control-pad-x-3",
838
+ "description": "(dimension: 0.75rem · compact 0.75rem)"
839
+ },
840
+ {
841
+ "name": "--alea-control-pad-x-4",
842
+ "description": "(dimension: 1rem · compact 1rem)"
843
+ },
844
+ {
845
+ "name": "--alea-control-pad-x-5",
846
+ "description": "(dimension: 1.25rem · compact 1rem)"
847
+ },
848
+ {
849
+ "name": "--alea-control-pad-x-6",
850
+ "description": "(dimension: 1.5rem · compact 1.25rem)"
851
+ },
852
+ {
853
+ "name": "--alea-control-pad-x-7",
854
+ "description": "(dimension: 1.75rem · compact 1.5rem)"
855
+ },
856
+ {
857
+ "name": "--alea-control-pad-x-8",
858
+ "description": "(dimension: 2rem · compact 1.5rem)"
859
+ },
860
+ {
861
+ "name": "--alea-control-pad-x-10",
862
+ "description": "(dimension: 2.5rem · compact 2rem)"
819
863
  },
820
864
  {
821
865
  "name": "--alea-bg",
package/dist/figma.json CHANGED
@@ -3374,6 +3374,18 @@
3374
3374
  "WIDTH_HEIGHT"
3375
3375
  ]
3376
3376
  },
3377
+ {
3378
+ "name": "size/badge-sm",
3379
+ "type": "FLOAT",
3380
+ "description": "Small Badge height.",
3381
+ "values": {
3382
+ "Comfy": 20,
3383
+ "Compact": 16
3384
+ },
3385
+ "scopes": [
3386
+ "WIDTH_HEIGHT"
3387
+ ]
3388
+ },
3377
3389
  {
3378
3390
  "name": "size/icon-md",
3379
3391
  "type": "FLOAT",
@@ -3386,6 +3398,18 @@
3386
3398
  "WIDTH_HEIGHT"
3387
3399
  ]
3388
3400
  },
3401
+ {
3402
+ "name": "size/badge-md",
3403
+ "type": "FLOAT",
3404
+ "description": "Badge height.",
3405
+ "values": {
3406
+ "Comfy": 24,
3407
+ "Compact": 20
3408
+ },
3409
+ "scopes": [
3410
+ "WIDTH_HEIGHT"
3411
+ ]
3412
+ },
3389
3413
  {
3390
3414
  "name": "size/icon-lg",
3391
3415
  "type": "FLOAT",
@@ -3398,13 +3422,25 @@
3398
3422
  "WIDTH_HEIGHT"
3399
3423
  ]
3400
3424
  },
3425
+ {
3426
+ "name": "size/badge-lg",
3427
+ "type": "FLOAT",
3428
+ "description": "Large Badge height.",
3429
+ "values": {
3430
+ "Comfy": 28,
3431
+ "Compact": 24
3432
+ },
3433
+ "scopes": [
3434
+ "WIDTH_HEIGHT"
3435
+ ]
3436
+ },
3401
3437
  {
3402
3438
  "name": "size/control-sm",
3403
3439
  "type": "FLOAT",
3404
3440
  "description": "",
3405
3441
  "values": {
3406
3442
  "Comfy": 32,
3407
- "Compact": 32
3443
+ "Compact": 28
3408
3444
  },
3409
3445
  "scopes": [
3410
3446
  "WIDTH_HEIGHT"
@@ -3416,7 +3452,7 @@
3416
3452
  "description": "",
3417
3453
  "values": {
3418
3454
  "Comfy": 40,
3419
- "Compact": 40
3455
+ "Compact": 36
3420
3456
  },
3421
3457
  "scopes": [
3422
3458
  "WIDTH_HEIGHT"
@@ -3428,7 +3464,7 @@
3428
3464
  "description": "",
3429
3465
  "values": {
3430
3466
  "Comfy": 44,
3431
- "Compact": 44
3467
+ "Compact": 40
3432
3468
  },
3433
3469
  "scopes": [
3434
3470
  "WIDTH_HEIGHT"
@@ -3440,9 +3476,113 @@
3440
3476
  "description": "",
3441
3477
  "values": {
3442
3478
  "Comfy": 48,
3443
- "Compact": 48
3479
+ "Compact": 44
3480
+ },
3481
+ "scopes": [
3482
+ "WIDTH_HEIGHT"
3483
+ ]
3484
+ },
3485
+ {
3486
+ "name": "control-pad/x-2",
3487
+ "type": "FLOAT",
3488
+ "description": "",
3489
+ "values": {
3490
+ "Comfy": 8,
3491
+ "Compact": 8
3492
+ },
3493
+ "scopes": [
3494
+ "GAP",
3495
+ "WIDTH_HEIGHT"
3496
+ ]
3497
+ },
3498
+ {
3499
+ "name": "control-pad/x-3",
3500
+ "type": "FLOAT",
3501
+ "description": "",
3502
+ "values": {
3503
+ "Comfy": 12,
3504
+ "Compact": 12
3444
3505
  },
3445
3506
  "scopes": [
3507
+ "GAP",
3508
+ "WIDTH_HEIGHT"
3509
+ ]
3510
+ },
3511
+ {
3512
+ "name": "control-pad/x-4",
3513
+ "type": "FLOAT",
3514
+ "description": "",
3515
+ "values": {
3516
+ "Comfy": 16,
3517
+ "Compact": 16
3518
+ },
3519
+ "scopes": [
3520
+ "GAP",
3521
+ "WIDTH_HEIGHT"
3522
+ ]
3523
+ },
3524
+ {
3525
+ "name": "control-pad/x-5",
3526
+ "type": "FLOAT",
3527
+ "description": "",
3528
+ "values": {
3529
+ "Comfy": 20,
3530
+ "Compact": 16
3531
+ },
3532
+ "scopes": [
3533
+ "GAP",
3534
+ "WIDTH_HEIGHT"
3535
+ ]
3536
+ },
3537
+ {
3538
+ "name": "control-pad/x-6",
3539
+ "type": "FLOAT",
3540
+ "description": "",
3541
+ "values": {
3542
+ "Comfy": 24,
3543
+ "Compact": 20
3544
+ },
3545
+ "scopes": [
3546
+ "GAP",
3547
+ "WIDTH_HEIGHT"
3548
+ ]
3549
+ },
3550
+ {
3551
+ "name": "control-pad/x-7",
3552
+ "type": "FLOAT",
3553
+ "description": "",
3554
+ "values": {
3555
+ "Comfy": 28,
3556
+ "Compact": 24
3557
+ },
3558
+ "scopes": [
3559
+ "GAP",
3560
+ "WIDTH_HEIGHT"
3561
+ ]
3562
+ },
3563
+ {
3564
+ "name": "control-pad/x-8",
3565
+ "type": "FLOAT",
3566
+ "description": "",
3567
+ "values": {
3568
+ "Comfy": 32,
3569
+ "Compact": 24
3570
+ },
3571
+ "scopes": [
3572
+ "GAP",
3573
+ "WIDTH_HEIGHT"
3574
+ ]
3575
+ },
3576
+ {
3577
+ "name": "control-pad/x-10",
3578
+ "type": "FLOAT",
3579
+ "description": "",
3580
+ "values": {
3581
+ "Comfy": 40,
3582
+ "Compact": 32
3583
+ },
3584
+ "scopes": [
3585
+ "GAP",
3446
3586
  "WIDTH_HEIGHT"
3447
3587
  ]
3448
3588
  },
@@ -3509,7 +3649,7 @@
3509
3649
  {
3510
3650
  "name": "font/family/display",
3511
3651
  "type": "STRING",
3512
- "description": "Headlines, at weight 300",
3652
+ "description": "Heading font: titles and big numbers, at weight 300. Override with brand.fonts.heading or --alea-font-family-display; the sans looks point it at the body font.",
3513
3653
  "values": {
3514
3654
  "Comfy": "Crimson Pro",
3515
3655
  "Compact": "Crimson Pro"
@@ -3521,7 +3661,7 @@
3521
3661
  {
3522
3662
  "name": "font/family/body",
3523
3663
  "type": "STRING",
3524
- "description": "",
3664
+ "description": "Content font: all text and every control (buttons, fields, tables, tabs, menus, tooltips, chart labels). Override with brand.fonts.body or --alea-font-family-body.",
3525
3665
  "values": {
3526
3666
  "Comfy": "Inter",
3527
3667
  "Compact": "Inter"
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export type TokenPath = "color.purple.50" | "color.purple.100" | "color.purple.200" | "color.purple.300" | "color.purple.400" | "color.purple.500" | "color.purple.600" | "color.purple.650" | "color.purple.700" | "color.purple.800" | "color.purple.900" | "color.purple.950" | "color.yellow.50" | "color.yellow.100" | "color.yellow.200" | "color.yellow.300" | "color.yellow.400" | "color.yellow.500" | "color.yellow.600" | "color.yellow.700" | "color.yellow.800" | "color.yellow.900" | "color.yellow.950" | "color.violet.50" | "color.violet.100" | "color.violet.200" | "color.violet.300" | "color.violet.400" | "color.violet.500" | "color.violet.600" | "color.violet.700" | "color.violet.800" | "color.violet.900" | "color.violet.950" | "color.neutral.50" | "color.neutral.100" | "color.neutral.200" | "color.neutral.300" | "color.neutral.400" | "color.neutral.500" | "color.neutral.600" | "color.neutral.700" | "color.neutral.800" | "color.neutral.900" | "color.neutral.950" | "color.green.50" | "color.green.100" | "color.green.200" | "color.green.300" | "color.green.400" | "color.green.500" | "color.green.600" | "color.green.700" | "color.green.800" | "color.green.900" | "color.green.950" | "color.red.50" | "color.red.100" | "color.red.200" | "color.red.300" | "color.red.400" | "color.red.500" | "color.red.600" | "color.red.650" | "color.red.700" | "color.red.800" | "color.red.900" | "color.red.950" | "color.amber.50" | "color.amber.100" | "color.amber.200" | "color.amber.300" | "color.amber.400" | "color.amber.500" | "color.amber.600" | "color.amber.700" | "color.amber.800" | "color.amber.900" | "color.amber.950" | "color.blue.50" | "color.blue.100" | "color.blue.200" | "color.blue.300" | "color.blue.400" | "color.blue.500" | "color.blue.600" | "color.blue.700" | "color.blue.800" | "color.blue.900" | "color.blue.950" | "color.white" | "color.black" | "color.blue-gray.550" | "color.gray.50" | "color.gray.100" | "color.gray.300" | "color.gray.400" | "color.gray.700" | "color.gray.800" | "color.gray.950" | "color.gray.1000" | "color.transparent" | "color.warm-gray.350" | "spacing.base" | "space.0" | "space.1" | "space.2" | "space.3" | "space.4" | "space.5" | "space.6" | "space.7" | "space.8" | "space.10" | "space.12" | "space.16" | "space.20" | "space.22" | "space.24" | "space.0-25" | "space.0-5" | "space.1-5" | "space.2-5" | "space.3-5" | "radius.3xs" | "radius.2xs" | "radius.xs" | "radius.sm" | "radius.field" | "radius.md" | "radius.lg" | "radius.xl" | "radius.2xl" | "radius.3xl" | "radius.4xl" | "radius.full" | "font.family.display" | "font.family.body" | "font.family.mono" | "font.size.2xs" | "font.size.xs" | "font.size.sm" | "font.size.md" | "font.size.base" | "font.size.lg" | "font.size.xl" | "font.size.2xl" | "font.size.3xl" | "font.size.4xl" | "font.size.5xl" | "font.size.6xl" | "font.size.7xl" | "font.weight.light" | "font.weight.regular" | "font.weight.medium" | "font.weight.semibold" | "font.leading.tight" | "font.leading.snug" | "font.leading.normal" | "font.leading.relaxed" | "font.tracking.display" | "font.tracking.tight" | "font.tracking.normal" | "font.tracking.eyebrow" | "motion.ease.out" | "motion.ease.in-out" | "motion.ease.standard" | "motion.ease.emphasized" | "motion.ease.spring" | "motion.ease.in" | "motion.duration.instant" | "motion.duration.fast" | "motion.duration.base" | "motion.duration.slow" | "motion.duration.slower" | "motion.distance.sm" | "motion.distance.md" | "motion.distance.lg" | "motion.scale.from" | "motion.scale.press" | "motion.stagger" | "motion.lift" | "motion.spring" | "motion.blur.sm" | "motion.blur.md" | "motion.blur.lg" | "z.dropdown" | "z.sticky" | "z.overlay" | "z.modal" | "z.toast" | "z.tooltip" | "breakpoint.xs" | "breakpoint.sm" | "breakpoint.md" | "breakpoint.lg" | "breakpoint.xl" | "size.control-sm" | "size.control-md" | "size.control-lg" | "size.field" | "size.icon-sm" | "size.icon-md" | "size.icon-lg" | "bg.default" | "bg.deep" | "surface.default" | "surface.deep" | "surface.raised" | "surface.hover" | "surface.overlay" | "border.default" | "border.strong" | "border.control" | "text.default" | "text.soft" | "text.muted" | "text.faint" | "accent.default" | "accent.strong" | "accent.second" | "accent.third" | "accent.subtle" | "accent.on" | "accent.solid" | "focus.default" | "focus.halo" | "chip.bg" | "chip.text" | "button.ring" | "button.top" | "button.bottom" | "button.text" | "effect.top-light" | "effect.glow" | "effect.glow-soft" | "field.bg" | "status.success" | "status.success-bg" | "status.danger" | "status.danger-bg" | "status.warning" | "status.warning-bg" | "status.info" | "status.info-bg" | "status.on" | "status.success-solid" | "status.success-on-solid" | "status.warning-solid" | "status.warning-on-solid" | "status.danger-solid" | "status.danger-solid-hover" | "status.danger-on-solid" | "status.info-solid" | "status.info-on-solid" | "shadow.card" | "shadow.pop" | "shadow.glow" | "gradient.accent" | "gradient.accent-linear" | "gradient.text" | "gradient.text-linear" | "gradient.button" | "presence.online" | "presence.away" | "presence.busy" | "presence.offline" | "rating.fill" | "control.thumb" | "on-media" | "media-backdrop" | "media-scrim" | "chart.2" | "chart.3" | "chart.4" | "chart.5" | "chart.6" | "chart.7" | "chart.8" | "reaction.like" | "icon.default" | "icon.muted" | "icon.soft" | "icon.faint" | "icon.accent" | "icon.brand" | "icon.on-accent" | "icon.button" | "icon.chip" | "icon.danger" | "icon.success" | "icon.warning" | "icon.info" | "icon.on-danger" | "icon.on-success" | "icon.on-warning" | "icon.on-info" | "icon.on-status" | "icon.rating" | "icon.control" | "icon.like";
1
+ export type TokenPath = "color.purple.50" | "color.purple.100" | "color.purple.200" | "color.purple.300" | "color.purple.400" | "color.purple.500" | "color.purple.600" | "color.purple.650" | "color.purple.700" | "color.purple.800" | "color.purple.900" | "color.purple.950" | "color.yellow.50" | "color.yellow.100" | "color.yellow.200" | "color.yellow.300" | "color.yellow.400" | "color.yellow.500" | "color.yellow.600" | "color.yellow.700" | "color.yellow.800" | "color.yellow.900" | "color.yellow.950" | "color.violet.50" | "color.violet.100" | "color.violet.200" | "color.violet.300" | "color.violet.400" | "color.violet.500" | "color.violet.600" | "color.violet.700" | "color.violet.800" | "color.violet.900" | "color.violet.950" | "color.neutral.50" | "color.neutral.100" | "color.neutral.200" | "color.neutral.300" | "color.neutral.400" | "color.neutral.500" | "color.neutral.600" | "color.neutral.700" | "color.neutral.800" | "color.neutral.900" | "color.neutral.950" | "color.green.50" | "color.green.100" | "color.green.200" | "color.green.300" | "color.green.400" | "color.green.500" | "color.green.600" | "color.green.700" | "color.green.800" | "color.green.900" | "color.green.950" | "color.red.50" | "color.red.100" | "color.red.200" | "color.red.300" | "color.red.400" | "color.red.500" | "color.red.600" | "color.red.650" | "color.red.700" | "color.red.800" | "color.red.900" | "color.red.950" | "color.amber.50" | "color.amber.100" | "color.amber.200" | "color.amber.300" | "color.amber.400" | "color.amber.500" | "color.amber.600" | "color.amber.700" | "color.amber.800" | "color.amber.900" | "color.amber.950" | "color.blue.50" | "color.blue.100" | "color.blue.200" | "color.blue.300" | "color.blue.400" | "color.blue.500" | "color.blue.600" | "color.blue.700" | "color.blue.800" | "color.blue.900" | "color.blue.950" | "color.white" | "color.black" | "color.blue-gray.550" | "color.gray.50" | "color.gray.100" | "color.gray.300" | "color.gray.400" | "color.gray.700" | "color.gray.800" | "color.gray.950" | "color.gray.1000" | "color.transparent" | "color.warm-gray.350" | "spacing.base" | "space.0" | "space.1" | "space.2" | "space.3" | "space.4" | "space.5" | "space.6" | "space.7" | "space.8" | "space.10" | "space.12" | "space.16" | "space.20" | "space.22" | "space.24" | "space.0-25" | "space.0-5" | "space.1-5" | "space.2-5" | "space.3-5" | "radius.3xs" | "radius.2xs" | "radius.xs" | "radius.sm" | "radius.field" | "radius.md" | "radius.lg" | "radius.xl" | "radius.2xl" | "radius.3xl" | "radius.4xl" | "radius.full" | "font.family.display" | "font.family.body" | "font.family.mono" | "font.size.2xs" | "font.size.xs" | "font.size.sm" | "font.size.md" | "font.size.base" | "font.size.lg" | "font.size.xl" | "font.size.2xl" | "font.size.3xl" | "font.size.4xl" | "font.size.5xl" | "font.size.6xl" | "font.size.7xl" | "font.weight.light" | "font.weight.regular" | "font.weight.medium" | "font.weight.semibold" | "font.leading.tight" | "font.leading.snug" | "font.leading.normal" | "font.leading.relaxed" | "font.tracking.display" | "font.tracking.tight" | "font.tracking.normal" | "font.tracking.eyebrow" | "motion.ease.out" | "motion.ease.in-out" | "motion.ease.standard" | "motion.ease.emphasized" | "motion.ease.spring" | "motion.ease.in" | "motion.duration.instant" | "motion.duration.fast" | "motion.duration.base" | "motion.duration.slow" | "motion.duration.slower" | "motion.distance.sm" | "motion.distance.md" | "motion.distance.lg" | "motion.scale.from" | "motion.scale.press" | "motion.stagger" | "motion.lift" | "motion.spring" | "motion.blur.sm" | "motion.blur.md" | "motion.blur.lg" | "z.dropdown" | "z.sticky" | "z.overlay" | "z.modal" | "z.toast" | "z.tooltip" | "breakpoint.xs" | "breakpoint.sm" | "breakpoint.md" | "breakpoint.lg" | "breakpoint.xl" | "size.control-sm" | "size.control-md" | "size.control-lg" | "size.field" | "size.badge-sm" | "size.badge-md" | "size.badge-lg" | "size.icon-sm" | "size.icon-md" | "size.icon-lg" | "control-pad.x-2" | "control-pad.x-3" | "control-pad.x-4" | "control-pad.x-5" | "control-pad.x-6" | "control-pad.x-7" | "control-pad.x-8" | "control-pad.x-10" | "bg.default" | "bg.deep" | "surface.default" | "surface.deep" | "surface.raised" | "surface.hover" | "surface.overlay" | "border.default" | "border.strong" | "border.control" | "text.default" | "text.soft" | "text.muted" | "text.faint" | "accent.default" | "accent.strong" | "accent.second" | "accent.third" | "accent.subtle" | "accent.on" | "accent.solid" | "focus.default" | "focus.halo" | "chip.bg" | "chip.text" | "button.ring" | "button.top" | "button.bottom" | "button.text" | "effect.top-light" | "effect.glow" | "effect.glow-soft" | "field.bg" | "status.success" | "status.success-bg" | "status.danger" | "status.danger-bg" | "status.warning" | "status.warning-bg" | "status.info" | "status.info-bg" | "status.on" | "status.success-solid" | "status.success-on-solid" | "status.warning-solid" | "status.warning-on-solid" | "status.danger-solid" | "status.danger-solid-hover" | "status.danger-on-solid" | "status.info-solid" | "status.info-on-solid" | "shadow.card" | "shadow.pop" | "shadow.glow" | "gradient.accent" | "gradient.accent-linear" | "gradient.text" | "gradient.text-linear" | "gradient.button" | "presence.online" | "presence.away" | "presence.busy" | "presence.offline" | "rating.fill" | "control.thumb" | "on-media" | "media-backdrop" | "media-scrim" | "chart.2" | "chart.3" | "chart.4" | "chart.5" | "chart.6" | "chart.7" | "chart.8" | "reaction.like" | "icon.default" | "icon.muted" | "icon.soft" | "icon.faint" | "icon.accent" | "icon.brand" | "icon.on-accent" | "icon.button" | "icon.chip" | "icon.danger" | "icon.success" | "icon.warning" | "icon.info" | "icon.on-danger" | "icon.on-success" | "icon.on-warning" | "icon.on-info" | "icon.on-status" | "icon.rating" | "icon.control" | "icon.like";
2
2
  export declare const tokens: Record<TokenPath, { value?: string; compact?: string; dark?: string; light?: string; css: string }>;
3
3
  export declare function cssVar(path: TokenPath | string): string;
package/dist/index.js CHANGED
@@ -578,55 +578,55 @@ export const tokens = {
578
578
  "css": "var(--alea-font-family-mono)"
579
579
  },
580
580
  "font.size.2xs": {
581
- "value": "11px",
581
+ "value": "0.6875rem",
582
582
  "css": "var(--alea-font-size-2xs)"
583
583
  },
584
584
  "font.size.xs": {
585
- "value": "12px",
585
+ "value": "0.75rem",
586
586
  "css": "var(--alea-font-size-xs)"
587
587
  },
588
588
  "font.size.sm": {
589
- "value": "13px",
589
+ "value": "0.8125rem",
590
590
  "css": "var(--alea-font-size-sm)"
591
591
  },
592
592
  "font.size.md": {
593
- "value": "14px",
593
+ "value": "0.875rem",
594
594
  "css": "var(--alea-font-size-md)"
595
595
  },
596
596
  "font.size.base": {
597
- "value": "16px",
597
+ "value": "1rem",
598
598
  "css": "var(--alea-font-size-base)"
599
599
  },
600
600
  "font.size.lg": {
601
- "value": "18px",
601
+ "value": "1.125rem",
602
602
  "css": "var(--alea-font-size-lg)"
603
603
  },
604
604
  "font.size.xl": {
605
- "value": "20px",
605
+ "value": "1.25rem",
606
606
  "css": "var(--alea-font-size-xl)"
607
607
  },
608
608
  "font.size.2xl": {
609
- "value": "24px",
609
+ "value": "1.5rem",
610
610
  "css": "var(--alea-font-size-2xl)"
611
611
  },
612
612
  "font.size.3xl": {
613
- "value": "28px",
613
+ "value": "1.75rem",
614
614
  "css": "var(--alea-font-size-3xl)"
615
615
  },
616
616
  "font.size.4xl": {
617
- "value": "36px",
617
+ "value": "2.25rem",
618
618
  "css": "var(--alea-font-size-4xl)"
619
619
  },
620
620
  "font.size.5xl": {
621
- "value": "48px",
621
+ "value": "3rem",
622
622
  "css": "var(--alea-font-size-5xl)"
623
623
  },
624
624
  "font.size.6xl": {
625
- "value": "64px",
625
+ "value": "4rem",
626
626
  "css": "var(--alea-font-size-6xl)"
627
627
  },
628
628
  "font.size.7xl": {
629
- "value": "80px",
629
+ "value": "5rem",
630
630
  "css": "var(--alea-font-size-7xl)"
631
631
  },
632
632
  "font.weight.light": {
@@ -810,33 +810,92 @@ export const tokens = {
810
810
  "css": "var(--alea-breakpoint-xl)"
811
811
  },
812
812
  "size.control-sm": {
813
- "value": "32px",
813
+ "value": "2rem",
814
+ "compact": "1.75rem",
814
815
  "css": "var(--alea-size-control-sm)"
815
816
  },
816
817
  "size.control-md": {
817
- "value": "40px",
818
+ "value": "2.5rem",
819
+ "compact": "2.25rem",
818
820
  "css": "var(--alea-size-control-md)"
819
821
  },
820
822
  "size.control-lg": {
821
- "value": "48px",
823
+ "value": "3rem",
824
+ "compact": "2.75rem",
822
825
  "css": "var(--alea-size-control-lg)"
823
826
  },
824
827
  "size.field": {
825
- "value": "44px",
828
+ "value": "2.75rem",
829
+ "compact": "2.5rem",
826
830
  "css": "var(--alea-size-field)"
827
831
  },
832
+ "size.badge-sm": {
833
+ "value": "1.25rem",
834
+ "compact": "1rem",
835
+ "css": "var(--alea-size-badge-sm)"
836
+ },
837
+ "size.badge-md": {
838
+ "value": "1.5rem",
839
+ "compact": "1.25rem",
840
+ "css": "var(--alea-size-badge-md)"
841
+ },
842
+ "size.badge-lg": {
843
+ "value": "1.75rem",
844
+ "compact": "1.5rem",
845
+ "css": "var(--alea-size-badge-lg)"
846
+ },
828
847
  "size.icon-sm": {
829
- "value": "16px",
848
+ "value": "1rem",
830
849
  "css": "var(--alea-size-icon-sm)"
831
850
  },
832
851
  "size.icon-md": {
833
- "value": "20px",
852
+ "value": "1.25rem",
834
853
  "css": "var(--alea-size-icon-md)"
835
854
  },
836
855
  "size.icon-lg": {
837
- "value": "24px",
856
+ "value": "1.5rem",
838
857
  "css": "var(--alea-size-icon-lg)"
839
858
  },
859
+ "control-pad.x-2": {
860
+ "value": "0.5rem",
861
+ "compact": "0.5rem",
862
+ "css": "var(--alea-control-pad-x-2)"
863
+ },
864
+ "control-pad.x-3": {
865
+ "value": "0.75rem",
866
+ "compact": "0.75rem",
867
+ "css": "var(--alea-control-pad-x-3)"
868
+ },
869
+ "control-pad.x-4": {
870
+ "value": "1rem",
871
+ "compact": "1rem",
872
+ "css": "var(--alea-control-pad-x-4)"
873
+ },
874
+ "control-pad.x-5": {
875
+ "value": "1.25rem",
876
+ "compact": "1rem",
877
+ "css": "var(--alea-control-pad-x-5)"
878
+ },
879
+ "control-pad.x-6": {
880
+ "value": "1.5rem",
881
+ "compact": "1.25rem",
882
+ "css": "var(--alea-control-pad-x-6)"
883
+ },
884
+ "control-pad.x-7": {
885
+ "value": "1.75rem",
886
+ "compact": "1.5rem",
887
+ "css": "var(--alea-control-pad-x-7)"
888
+ },
889
+ "control-pad.x-8": {
890
+ "value": "2rem",
891
+ "compact": "1.5rem",
892
+ "css": "var(--alea-control-pad-x-8)"
893
+ },
894
+ "control-pad.x-10": {
895
+ "value": "2.5rem",
896
+ "compact": "2rem",
897
+ "css": "var(--alea-control-pad-x-10)"
898
+ },
840
899
  "bg.default": {
841
900
  "dark": "#272625",
842
901
  "light": "#f7f4f2",
package/dist/tokens.css CHANGED
@@ -140,19 +140,19 @@
140
140
  --alea-font-family-display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
141
141
  --alea-font-family-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
142
142
  --alea-font-family-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
143
- --alea-font-size-2xs: 11px;
144
- --alea-font-size-xs: 12px;
145
- --alea-font-size-sm: 13px;
146
- --alea-font-size-md: 14px;
147
- --alea-font-size-base: 16px;
148
- --alea-font-size-lg: 18px;
149
- --alea-font-size-xl: 20px;
150
- --alea-font-size-2xl: 24px;
151
- --alea-font-size-3xl: 28px;
152
- --alea-font-size-4xl: 36px;
153
- --alea-font-size-5xl: 48px;
154
- --alea-font-size-6xl: 64px;
155
- --alea-font-size-7xl: 80px;
143
+ --alea-font-size-2xs: 0.6875rem;
144
+ --alea-font-size-xs: 0.75rem;
145
+ --alea-font-size-sm: 0.8125rem;
146
+ --alea-font-size-md: 0.875rem;
147
+ --alea-font-size-base: 1rem;
148
+ --alea-font-size-lg: 1.125rem;
149
+ --alea-font-size-xl: 1.25rem;
150
+ --alea-font-size-2xl: 1.5rem;
151
+ --alea-font-size-3xl: 1.75rem;
152
+ --alea-font-size-4xl: 2.25rem;
153
+ --alea-font-size-5xl: 3rem;
154
+ --alea-font-size-6xl: 4rem;
155
+ --alea-font-size-7xl: 5rem;
156
156
  --alea-font-weight-light: 300;
157
157
  --alea-font-weight-regular: 400;
158
158
  --alea-font-weight-medium: 500;
@@ -198,13 +198,24 @@
198
198
  --alea-breakpoint-md: 768px;
199
199
  --alea-breakpoint-lg: 1024px;
200
200
  --alea-breakpoint-xl: 1280px;
201
- --alea-size-control-sm: 32px;
202
- --alea-size-control-md: 40px;
203
- --alea-size-control-lg: 48px;
204
- --alea-size-field: 44px;
205
- --alea-size-icon-sm: 16px;
206
- --alea-size-icon-md: 20px;
207
- --alea-size-icon-lg: 24px;
201
+ --alea-size-control-sm: 2rem;
202
+ --alea-size-control-md: 2.5rem;
203
+ --alea-size-control-lg: 3rem;
204
+ --alea-size-field: 2.75rem;
205
+ --alea-size-badge-sm: 1.25rem;
206
+ --alea-size-badge-md: 1.5rem;
207
+ --alea-size-badge-lg: 1.75rem;
208
+ --alea-size-icon-sm: 1rem;
209
+ --alea-size-icon-md: 1.25rem;
210
+ --alea-size-icon-lg: 1.5rem;
211
+ --alea-control-pad-x-2: 0.5rem;
212
+ --alea-control-pad-x-3: 0.75rem;
213
+ --alea-control-pad-x-4: 1rem;
214
+ --alea-control-pad-x-5: 1.25rem;
215
+ --alea-control-pad-x-6: 1.5rem;
216
+ --alea-control-pad-x-7: 1.75rem;
217
+ --alea-control-pad-x-8: 2rem;
218
+ --alea-control-pad-x-10: 2.5rem;
208
219
  --alea-shadow-glow: 0px 10px 30px -10px #cd57ff8c;
209
220
  --alea-gradient-accent: radial-gradient(100% 100% at 25% 100%, #cd57ff 0%, #ffce1f 100%);
210
221
  --alea-gradient-accent-linear: linear-gradient(120deg, #cd57ff 0%, #ffce1f 100%);
@@ -328,6 +339,21 @@
328
339
  --alea-space-1-5: 0.1875rem;
329
340
  --alea-space-2-5: 0.3125rem;
330
341
  --alea-space-3-5: 0.4375rem;
342
+ --alea-size-control-sm: 1.75rem;
343
+ --alea-size-control-md: 2.25rem;
344
+ --alea-size-control-lg: 2.75rem;
345
+ --alea-size-field: 2.5rem;
346
+ --alea-size-badge-sm: 1rem;
347
+ --alea-size-badge-md: 1.25rem;
348
+ --alea-size-badge-lg: 1.5rem;
349
+ --alea-control-pad-x-2: 0.5rem;
350
+ --alea-control-pad-x-3: 0.75rem;
351
+ --alea-control-pad-x-4: 1rem;
352
+ --alea-control-pad-x-5: 1rem;
353
+ --alea-control-pad-x-6: 1.25rem;
354
+ --alea-control-pad-x-7: 1.5rem;
355
+ --alea-control-pad-x-8: 1.5rem;
356
+ --alea-control-pad-x-10: 2rem;
331
357
  }
332
358
 
333
359
  /* Mixes of the accent (effect glows) are resolved where they are declared, so they are written again on every element that can set the accent: a theme, a look or a brand wrapper */
package/dist/tokens.json CHANGED
@@ -577,55 +577,55 @@
577
577
  "css": "var(--alea-font-family-mono)"
578
578
  },
579
579
  "font.size.2xs": {
580
- "value": "11px",
580
+ "value": "0.6875rem",
581
581
  "css": "var(--alea-font-size-2xs)"
582
582
  },
583
583
  "font.size.xs": {
584
- "value": "12px",
584
+ "value": "0.75rem",
585
585
  "css": "var(--alea-font-size-xs)"
586
586
  },
587
587
  "font.size.sm": {
588
- "value": "13px",
588
+ "value": "0.8125rem",
589
589
  "css": "var(--alea-font-size-sm)"
590
590
  },
591
591
  "font.size.md": {
592
- "value": "14px",
592
+ "value": "0.875rem",
593
593
  "css": "var(--alea-font-size-md)"
594
594
  },
595
595
  "font.size.base": {
596
- "value": "16px",
596
+ "value": "1rem",
597
597
  "css": "var(--alea-font-size-base)"
598
598
  },
599
599
  "font.size.lg": {
600
- "value": "18px",
600
+ "value": "1.125rem",
601
601
  "css": "var(--alea-font-size-lg)"
602
602
  },
603
603
  "font.size.xl": {
604
- "value": "20px",
604
+ "value": "1.25rem",
605
605
  "css": "var(--alea-font-size-xl)"
606
606
  },
607
607
  "font.size.2xl": {
608
- "value": "24px",
608
+ "value": "1.5rem",
609
609
  "css": "var(--alea-font-size-2xl)"
610
610
  },
611
611
  "font.size.3xl": {
612
- "value": "28px",
612
+ "value": "1.75rem",
613
613
  "css": "var(--alea-font-size-3xl)"
614
614
  },
615
615
  "font.size.4xl": {
616
- "value": "36px",
616
+ "value": "2.25rem",
617
617
  "css": "var(--alea-font-size-4xl)"
618
618
  },
619
619
  "font.size.5xl": {
620
- "value": "48px",
620
+ "value": "3rem",
621
621
  "css": "var(--alea-font-size-5xl)"
622
622
  },
623
623
  "font.size.6xl": {
624
- "value": "64px",
624
+ "value": "4rem",
625
625
  "css": "var(--alea-font-size-6xl)"
626
626
  },
627
627
  "font.size.7xl": {
628
- "value": "80px",
628
+ "value": "5rem",
629
629
  "css": "var(--alea-font-size-7xl)"
630
630
  },
631
631
  "font.weight.light": {
@@ -809,33 +809,92 @@
809
809
  "css": "var(--alea-breakpoint-xl)"
810
810
  },
811
811
  "size.control-sm": {
812
- "value": "32px",
812
+ "value": "2rem",
813
+ "compact": "1.75rem",
813
814
  "css": "var(--alea-size-control-sm)"
814
815
  },
815
816
  "size.control-md": {
816
- "value": "40px",
817
+ "value": "2.5rem",
818
+ "compact": "2.25rem",
817
819
  "css": "var(--alea-size-control-md)"
818
820
  },
819
821
  "size.control-lg": {
820
- "value": "48px",
822
+ "value": "3rem",
823
+ "compact": "2.75rem",
821
824
  "css": "var(--alea-size-control-lg)"
822
825
  },
823
826
  "size.field": {
824
- "value": "44px",
827
+ "value": "2.75rem",
828
+ "compact": "2.5rem",
825
829
  "css": "var(--alea-size-field)"
826
830
  },
831
+ "size.badge-sm": {
832
+ "value": "1.25rem",
833
+ "compact": "1rem",
834
+ "css": "var(--alea-size-badge-sm)"
835
+ },
836
+ "size.badge-md": {
837
+ "value": "1.5rem",
838
+ "compact": "1.25rem",
839
+ "css": "var(--alea-size-badge-md)"
840
+ },
841
+ "size.badge-lg": {
842
+ "value": "1.75rem",
843
+ "compact": "1.5rem",
844
+ "css": "var(--alea-size-badge-lg)"
845
+ },
827
846
  "size.icon-sm": {
828
- "value": "16px",
847
+ "value": "1rem",
829
848
  "css": "var(--alea-size-icon-sm)"
830
849
  },
831
850
  "size.icon-md": {
832
- "value": "20px",
851
+ "value": "1.25rem",
833
852
  "css": "var(--alea-size-icon-md)"
834
853
  },
835
854
  "size.icon-lg": {
836
- "value": "24px",
855
+ "value": "1.5rem",
837
856
  "css": "var(--alea-size-icon-lg)"
838
857
  },
858
+ "control-pad.x-2": {
859
+ "value": "0.5rem",
860
+ "compact": "0.5rem",
861
+ "css": "var(--alea-control-pad-x-2)"
862
+ },
863
+ "control-pad.x-3": {
864
+ "value": "0.75rem",
865
+ "compact": "0.75rem",
866
+ "css": "var(--alea-control-pad-x-3)"
867
+ },
868
+ "control-pad.x-4": {
869
+ "value": "1rem",
870
+ "compact": "1rem",
871
+ "css": "var(--alea-control-pad-x-4)"
872
+ },
873
+ "control-pad.x-5": {
874
+ "value": "1.25rem",
875
+ "compact": "1rem",
876
+ "css": "var(--alea-control-pad-x-5)"
877
+ },
878
+ "control-pad.x-6": {
879
+ "value": "1.5rem",
880
+ "compact": "1.25rem",
881
+ "css": "var(--alea-control-pad-x-6)"
882
+ },
883
+ "control-pad.x-7": {
884
+ "value": "1.75rem",
885
+ "compact": "1.5rem",
886
+ "css": "var(--alea-control-pad-x-7)"
887
+ },
888
+ "control-pad.x-8": {
889
+ "value": "2rem",
890
+ "compact": "1.5rem",
891
+ "css": "var(--alea-control-pad-x-8)"
892
+ },
893
+ "control-pad.x-10": {
894
+ "value": "2.5rem",
895
+ "compact": "2rem",
896
+ "css": "var(--alea-control-pad-x-10)"
897
+ },
839
898
  "bg.default": {
840
899
  "dark": "#272625",
841
900
  "light": "#f7f4f2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alea-design/tokens",
3
- "version": "0.5.1",
3
+ "version": "0.6.1",
4
4
  "description": "Alea design tokens: CSS variables (dark and light), JSON, JS and Figma variables from one W3C source.",
5
5
  "keywords": [
6
6
  "design tokens",
package/src/base.json CHANGED
@@ -137,7 +137,7 @@
137
137
  "Times New Roman",
138
138
  "serif"
139
139
  ],
140
- "$description": "Headlines, at weight 300"
140
+ "$description": "Heading font: titles and big numbers, at weight 300. Override with brand.fonts.heading or --alea-font-family-display; the sans looks point it at the body font."
141
141
  },
142
142
  "body": {
143
143
  "$value": [
@@ -147,7 +147,8 @@
147
147
  "Segoe UI",
148
148
  "Roboto",
149
149
  "sans-serif"
150
- ]
150
+ ],
151
+ "$description": "Content font: all text and every control (buttons, fields, tables, tabs, menus, tooltips, chart labels). Override with brand.fonts.body or --alea-font-family-body."
151
152
  },
152
153
  "mono": {
153
154
  "$value": [
@@ -162,48 +163,48 @@
162
163
  "size": {
163
164
  "$type": "dimension",
164
165
  "2xs": {
165
- "$value": "11px"
166
+ "$value": "0.6875rem"
166
167
  },
167
168
  "xs": {
168
- "$value": "12px",
169
+ "$value": "0.75rem",
169
170
  "$description": "Eyebrows, badges"
170
171
  },
171
172
  "sm": {
172
- "$value": "13px",
173
+ "$value": "0.8125rem",
173
174
  "$description": "Labels, small text"
174
175
  },
175
176
  "md": {
176
- "$value": "14px",
177
+ "$value": "0.875rem",
177
178
  "$description": "Buttons, dense UI"
178
179
  },
179
180
  "base": {
180
- "$value": "16px",
181
+ "$value": "1rem",
181
182
  "$description": "Body text, inputs"
182
183
  },
183
184
  "lg": {
184
- "$value": "18px"
185
+ "$value": "1.125rem"
185
186
  },
186
187
  "xl": {
187
- "$value": "20px"
188
+ "$value": "1.25rem"
188
189
  },
189
190
  "2xl": {
190
- "$value": "24px"
191
+ "$value": "1.5rem"
191
192
  },
192
193
  "3xl": {
193
- "$value": "28px",
194
+ "$value": "1.75rem",
194
195
  "$description": "Card titles"
195
196
  },
196
197
  "4xl": {
197
- "$value": "36px"
198
+ "$value": "2.25rem"
198
199
  },
199
200
  "5xl": {
200
- "$value": "48px"
201
+ "$value": "3rem"
201
202
  },
202
203
  "6xl": {
203
- "$value": "64px"
204
+ "$value": "4rem"
204
205
  },
205
206
  "7xl": {
206
- "$value": "80px",
207
+ "$value": "5rem",
207
208
  "$description": "Hero headlines"
208
209
  }
209
210
  },
@@ -427,27 +428,58 @@
427
428
  },
428
429
  "size": {
429
430
  "$type": "dimension",
430
- "$description": "Control heights",
431
+ "$description": "Control heights. Compact density lowers the heights of controls by 4px (field 44px to 40px) and, on a touch pointer (coarse), every control height is 44px or more in Compact. Written in rem (1rem = 16px) so the sizes follow the text size the person chose; at the default 16px they are the pixel values named here.",
431
432
  "control-sm": {
432
- "$value": "32px"
433
+ "$value": "2rem",
434
+ "$extensions": { "fun.lab": { "compact": "1.75rem" } }
433
435
  },
434
436
  "control-md": {
435
- "$value": "40px"
437
+ "$value": "2.5rem",
438
+ "$extensions": { "fun.lab": { "compact": "2.25rem" } }
436
439
  },
437
440
  "control-lg": {
438
- "$value": "48px"
441
+ "$value": "3rem",
442
+ "$extensions": { "fun.lab": { "compact": "2.75rem" } }
439
443
  },
440
444
  "field": {
441
- "$value": "44px"
445
+ "$value": "2.75rem",
446
+ "$extensions": { "fun.lab": { "compact": "2.5rem" } }
447
+ },
448
+ "badge-sm": {
449
+ "$value": "1.25rem",
450
+ "$description": "Small Badge height.",
451
+ "$extensions": { "fun.lab": { "compact": "1rem" } }
452
+ },
453
+ "badge-md": {
454
+ "$value": "1.5rem",
455
+ "$description": "Badge height.",
456
+ "$extensions": { "fun.lab": { "compact": "1.25rem" } }
457
+ },
458
+ "badge-lg": {
459
+ "$value": "1.75rem",
460
+ "$description": "Large Badge height.",
461
+ "$extensions": { "fun.lab": { "compact": "1.5rem" } }
442
462
  },
443
463
  "icon-sm": {
444
- "$value": "16px"
464
+ "$value": "1rem"
445
465
  },
446
466
  "icon-md": {
447
- "$value": "20px"
467
+ "$value": "1.25rem"
448
468
  },
449
469
  "icon-lg": {
450
- "$value": "24px"
470
+ "$value": "1.5rem"
451
471
  }
472
+ },
473
+ "control-pad": {
474
+ "$type": "dimension",
475
+ "$description": "Control padding on the inline axis (and the padding of surfaces: Card, Dialog, Modal). Same steps as the space scale in Comfy; in Compact it is NOT halved (a control gets shorter, not narrower), so the horizontal padding stays at or above the vertical air. Never below 8px, and 12px or more on Cards and dialogs. On a touch pointer in Compact the small steps rise to 16px so they keep up with the 44px control heights.",
476
+ "x-2": { "$value": "0.5rem", "$extensions": { "fun.lab": { "compact": "0.5rem" } } },
477
+ "x-3": { "$value": "0.75rem", "$extensions": { "fun.lab": { "compact": "0.75rem" } } },
478
+ "x-4": { "$value": "1rem", "$extensions": { "fun.lab": { "compact": "1rem" } } },
479
+ "x-5": { "$value": "1.25rem", "$extensions": { "fun.lab": { "compact": "1rem" } } },
480
+ "x-6": { "$value": "1.5rem", "$extensions": { "fun.lab": { "compact": "1.25rem" } } },
481
+ "x-7": { "$value": "1.75rem", "$extensions": { "fun.lab": { "compact": "1.5rem" } } },
482
+ "x-8": { "$value": "2rem", "$extensions": { "fun.lab": { "compact": "1.5rem" } } },
483
+ "x-10": { "$value": "2.5rem", "$extensions": { "fun.lab": { "compact": "2rem" } } }
452
484
  }
453
485
  }