@motion-proto/live-tokens 0.70.0 → 0.72.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/.claude/skills/live-tokens-check-compliance/SKILL.md +78 -0
- package/.claude/skills/live-tokens-create-component/SKILL.md +2 -2
- package/.claude/skills/live-tokens-create-component/references/contract-tests.md +99 -0
- package/.claude/skills/live-tokens-create-component/references/sketch-mode.md +1 -2
- package/.claude/skills/live-tokens-create-component/references/token-naming.md +6 -0
- package/.claude/skills/live-tokens-fix-findings/SKILL.md +5 -2
- package/CHANGELOG.md +100 -0
- package/README.md +9 -2
- package/bin/check-component.mjs +2 -11
- package/bin/check-page.mjs +4 -3
- package/bin/cli.mjs +29 -1
- package/bin/lib/catalogue.mjs +6 -2
- package/bin/lib/findings.mjs +17 -0
- package/bin/lib/report.mjs +158 -0
- package/bin/lib/tokenVocabulary.mjs +20 -0
- package/dist-plugin/adjust/index.cjs +33 -6
- package/dist-plugin/adjust/index.d.cts +2 -2
- package/dist-plugin/adjust/index.d.ts +2 -2
- package/dist-plugin/adjust/index.js +7 -6
- package/dist-plugin/{chunk-2YNERPXY.js → chunk-RIXO2E55.js} +1 -1
- package/dist-plugin/{chunk-RVE3MNKM.js → chunk-W6Y4BWFB.js} +3 -1
- package/dist-plugin/{chunk-GPIBU44G.js → chunk-YLCOIGQC.js} +25 -1
- package/dist-plugin/{dataPaths-bJTCEO4H.d.ts → dataPaths-BhWzd5cL.d.cts} +4 -0
- package/dist-plugin/{dataPaths-bJTCEO4H.d.cts → dataPaths-BhWzd5cL.d.ts} +4 -0
- package/dist-plugin/fontPairing/index.cjs +3 -1
- package/dist-plugin/fontPairing/index.d.cts +1 -1
- package/dist-plugin/fontPairing/index.d.ts +1 -1
- package/dist-plugin/fontPairing/index.js +1 -1
- package/dist-plugin/generateColorsAndType/index.cjs +28 -2
- package/dist-plugin/generateColorsAndType/index.d.cts +1 -1
- package/dist-plugin/generateColorsAndType/index.d.ts +1 -1
- package/dist-plugin/generateColorsAndType/index.js +2 -2
- package/dist-plugin/index.cjs +28 -2
- package/dist-plugin/index.d.cts +1 -1
- package/dist-plugin/index.d.ts +1 -1
- package/dist-plugin/index.js +3 -3
- package/dist-plugin/migrateData/index.cjs +28 -2
- package/dist-plugin/migrateData/index.d.cts +1 -1
- package/dist-plugin/migrateData/index.d.ts +1 -1
- package/dist-plugin/migrateData/index.js +3 -3
- package/dist-plugin/tokensCssMigrations/index.cjs +3 -1
- package/dist-plugin/tokensCssMigrations/index.d.cts +1 -1
- package/dist-plugin/tokensCssMigrations/index.d.ts +1 -1
- package/dist-plugin/tokensCssMigrations/index.js +1 -1
- package/package.json +5 -1
- package/src/editor/component-editor/SectionDividerEditor.svelte +1 -11
- package/src/editor/component-editor/contract.ts +175 -0
- package/src/editor/component-editor/scaffolding/StateBlock.svelte +0 -8
- package/src/editor/component-editor/scaffolding/TokenLayout.svelte +5 -0
- package/src/editor/component-editor/scaffolding/TypeEditor.svelte +0 -21
- package/src/editor/component-editor/scaffolding/VariantGroup.svelte +2 -2
- package/src/editor/component-editor/scaffolding/types.ts +1 -7
- package/src/editor/core/components/aliasKinds.ts +6 -2
- package/src/editor/core/themes/migrations/2026-09-02-sectiondivider-drop-title-outline.ts +39 -0
- package/src/editor/core/themes/migrations/index.ts +2 -0
- package/src/live-tokens/data/themes/autumn.json +1 -7
- package/src/live-tokens/data/themes/halloween.json +1 -7
- package/src/live-tokens/data/themes/midnight-study.json +1 -7
- package/src/live-tokens/data/themes/ocean.json +1 -7
- package/src/live-tokens/data/themes/royal-velvet.json +1 -7
- package/src/live-tokens/data/themes/sketchy.json +1 -7
- package/src/live-tokens/data/themes/spring-meadow.json +1 -7
- package/src/live-tokens/data/themes/sunset.json +1 -7
- package/src/system/components/SectionDivider.svelte +3 -143
- package/src/system/components/FloatingTokenTags.css +0 -284
- package/src/system/components/FloatingTokenTags.svelte +0 -570
|
@@ -3554,7 +3554,6 @@
|
|
|
3554
3554
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3555
3555
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3556
3556
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3557
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3558
3557
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3559
3558
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3560
3559
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3576,14 +3575,12 @@
|
|
|
3576
3575
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3577
3576
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3578
3577
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3579
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3580
3578
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3581
3579
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3582
3580
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3583
3581
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3584
3582
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3585
3583
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3586
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3587
3584
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3588
3585
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3589
3586
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3605,14 +3602,12 @@
|
|
|
3605
3602
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3606
3603
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3607
3604
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3608
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3609
3605
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3610
3606
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3611
3607
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3612
3608
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3613
3609
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3614
3610
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3615
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3616
3611
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3617
3612
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3618
3613
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3634,7 +3629,6 @@
|
|
|
3634
3629
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3635
3630
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3636
3631
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3637
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3638
3632
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3639
3633
|
}
|
|
3640
3634
|
},
|
|
@@ -4075,5 +4069,5 @@
|
|
|
4075
4069
|
}
|
|
4076
4070
|
}
|
|
4077
4071
|
},
|
|
4078
|
-
"componentSchemaVersion":
|
|
4072
|
+
"componentSchemaVersion": 26
|
|
4079
4073
|
}
|
|
@@ -3573,7 +3573,6 @@
|
|
|
3573
3573
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3574
3574
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3575
3575
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3576
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3577
3576
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3578
3577
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3579
3578
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3595,14 +3594,12 @@
|
|
|
3595
3594
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3596
3595
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3597
3596
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3598
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3599
3597
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3600
3598
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3601
3599
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3602
3600
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3603
3601
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3604
3602
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3605
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3606
3603
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3607
3604
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3608
3605
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3624,14 +3621,12 @@
|
|
|
3624
3621
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3625
3622
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3626
3623
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3627
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3628
3624
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3629
3625
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3630
3626
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3631
3627
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3632
3628
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3633
3629
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3634
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3635
3630
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3636
3631
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3637
3632
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3653,7 +3648,6 @@
|
|
|
3653
3648
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3654
3649
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3655
3650
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3656
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3657
3651
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3658
3652
|
}
|
|
3659
3653
|
},
|
|
@@ -4094,5 +4088,5 @@
|
|
|
4094
4088
|
}
|
|
4095
4089
|
}
|
|
4096
4090
|
},
|
|
4097
|
-
"componentSchemaVersion":
|
|
4091
|
+
"componentSchemaVersion": 26
|
|
4098
4092
|
}
|
|
@@ -3514,7 +3514,6 @@
|
|
|
3514
3514
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3515
3515
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3516
3516
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3517
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3518
3517
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3519
3518
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3520
3519
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3536,14 +3535,12 @@
|
|
|
3536
3535
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3537
3536
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3538
3537
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3539
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3540
3538
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3541
3539
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3542
3540
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3543
3541
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3544
3542
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3545
3543
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3546
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3547
3544
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3548
3545
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3549
3546
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3565,14 +3562,12 @@
|
|
|
3565
3562
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3566
3563
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3567
3564
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3568
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3569
3565
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3570
3566
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3571
3567
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3572
3568
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3573
3569
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3574
3570
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3575
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3576
3571
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3577
3572
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3578
3573
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3594,7 +3589,6 @@
|
|
|
3594
3589
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3595
3590
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3596
3591
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3597
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3598
3592
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3599
3593
|
}
|
|
3600
3594
|
},
|
|
@@ -4035,5 +4029,5 @@
|
|
|
4035
4029
|
}
|
|
4036
4030
|
}
|
|
4037
4031
|
},
|
|
4038
|
-
"componentSchemaVersion":
|
|
4032
|
+
"componentSchemaVersion": 26
|
|
4039
4033
|
}
|
|
@@ -3545,7 +3545,6 @@
|
|
|
3545
3545
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3546
3546
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3547
3547
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3548
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3549
3548
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3550
3549
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3551
3550
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3567,14 +3566,12 @@
|
|
|
3567
3566
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3568
3567
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3569
3568
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3570
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3571
3569
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3572
3570
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3573
3571
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3574
3572
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3575
3573
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3576
3574
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3577
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3578
3575
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3579
3576
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3580
3577
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3596,14 +3593,12 @@
|
|
|
3596
3593
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3597
3594
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3598
3595
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3599
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3600
3596
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3601
3597
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3602
3598
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3603
3599
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3604
3600
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3605
3601
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3606
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3607
3602
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3608
3603
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3609
3604
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3625,7 +3620,6 @@
|
|
|
3625
3620
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3626
3621
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3627
3622
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3628
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3629
3623
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3630
3624
|
}
|
|
3631
3625
|
},
|
|
@@ -4066,5 +4060,5 @@
|
|
|
4066
4060
|
}
|
|
4067
4061
|
}
|
|
4068
4062
|
},
|
|
4069
|
-
"componentSchemaVersion":
|
|
4063
|
+
"componentSchemaVersion": 26
|
|
4070
4064
|
}
|
|
@@ -3528,7 +3528,6 @@
|
|
|
3528
3528
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3529
3529
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3530
3530
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3531
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3532
3531
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3533
3532
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3534
3533
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3550,14 +3549,12 @@
|
|
|
3550
3549
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3551
3550
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3552
3551
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3553
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3554
3552
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3555
3553
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3556
3554
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3557
3555
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3558
3556
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3559
3557
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3560
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3561
3558
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3562
3559
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3563
3560
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3579,14 +3576,12 @@
|
|
|
3579
3576
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3580
3577
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3581
3578
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3582
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3583
3579
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3584
3580
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3585
3581
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3586
3582
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3587
3583
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3588
3584
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3589
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3590
3585
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3591
3586
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3592
3587
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3608,7 +3603,6 @@
|
|
|
3608
3603
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3609
3604
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3610
3605
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3611
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3612
3606
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3613
3607
|
}
|
|
3614
3608
|
},
|
|
@@ -4049,5 +4043,5 @@
|
|
|
4049
4043
|
}
|
|
4050
4044
|
}
|
|
4051
4045
|
},
|
|
4052
|
-
"componentSchemaVersion":
|
|
4046
|
+
"componentSchemaVersion": 26
|
|
4053
4047
|
}
|
|
@@ -3501,7 +3501,6 @@
|
|
|
3501
3501
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3502
3502
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3503
3503
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3504
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3505
3504
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3506
3505
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3507
3506
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3523,14 +3522,12 @@
|
|
|
3523
3522
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3524
3523
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3525
3524
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3526
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3527
3525
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3528
3526
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3529
3527
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3530
3528
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3531
3529
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3532
3530
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3533
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3534
3531
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3535
3532
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3536
3533
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3552,14 +3549,12 @@
|
|
|
3552
3549
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3553
3550
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3554
3551
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3555
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3556
3552
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3557
3553
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3558
3554
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3559
3555
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3560
3556
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3561
3557
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3562
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3563
3558
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3564
3559
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3565
3560
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3581,7 +3576,6 @@
|
|
|
3581
3576
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3582
3577
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3583
3578
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3584
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3585
3579
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3586
3580
|
}
|
|
3587
3581
|
},
|
|
@@ -4022,5 +4016,5 @@
|
|
|
4022
4016
|
}
|
|
4023
4017
|
}
|
|
4024
4018
|
},
|
|
4025
|
-
"componentSchemaVersion":
|
|
4019
|
+
"componentSchemaVersion": 26
|
|
4026
4020
|
}
|
|
@@ -3553,7 +3553,6 @@
|
|
|
3553
3553
|
"--sectiondivider-lg-title-font-size": "--font-size-5xl",
|
|
3554
3554
|
"--sectiondivider-lg-title-line-height": "--line-height-normal",
|
|
3555
3555
|
"--sectiondivider-lg-title-letter-spacing": "--letter-spacing-normal",
|
|
3556
|
-
"--sectiondivider-lg-title-outline-width": "--border-width-4",
|
|
3557
3556
|
"--sectiondivider-lg-description-font-family": "--font-sans",
|
|
3558
3557
|
"--sectiondivider-lg-description-font-weight": "--font-weight-medium",
|
|
3559
3558
|
"--sectiondivider-lg-description-font-size": "--font-size-lg",
|
|
@@ -3575,14 +3574,12 @@
|
|
|
3575
3574
|
"--sectiondivider-lg-description": "--text-alternate",
|
|
3576
3575
|
"--sectiondivider-lg-eyebrow": "--text-brand",
|
|
3577
3576
|
"--sectiondivider-lg-border": "--color-transparent",
|
|
3578
|
-
"--sectiondivider-lg-title-outline-color": "transparent",
|
|
3579
3577
|
"--sectiondivider-lg-hairline-color": "--border-brand-medium",
|
|
3580
3578
|
"--sectiondivider-md-title-font-family": "--font-display",
|
|
3581
3579
|
"--sectiondivider-md-title-font-weight": "--font-weight-bold",
|
|
3582
3580
|
"--sectiondivider-md-title-font-size": "--font-size-4xl",
|
|
3583
3581
|
"--sectiondivider-md-title-line-height": "--line-height-normal",
|
|
3584
3582
|
"--sectiondivider-md-title-letter-spacing": "--letter-spacing-normal",
|
|
3585
|
-
"--sectiondivider-md-title-outline-width": "--border-width-4",
|
|
3586
3583
|
"--sectiondivider-md-description-font-family": "--font-sans",
|
|
3587
3584
|
"--sectiondivider-md-description-font-weight": "--font-weight-medium",
|
|
3588
3585
|
"--sectiondivider-md-description-font-size": "--font-size-lg",
|
|
@@ -3604,14 +3601,12 @@
|
|
|
3604
3601
|
"--sectiondivider-md-description": "--text-secondary",
|
|
3605
3602
|
"--sectiondivider-md-eyebrow": "--text-tertiary",
|
|
3606
3603
|
"--sectiondivider-md-border": "--color-transparent",
|
|
3607
|
-
"--sectiondivider-md-title-outline-color": "transparent",
|
|
3608
3604
|
"--sectiondivider-md-hairline-color": "--border-brand-medium",
|
|
3609
3605
|
"--sectiondivider-sm-title-font-family": "--font-display",
|
|
3610
3606
|
"--sectiondivider-sm-title-font-weight": "--font-weight-medium",
|
|
3611
3607
|
"--sectiondivider-sm-title-font-size": "--font-size-3xl",
|
|
3612
3608
|
"--sectiondivider-sm-title-line-height": "--line-height-normal",
|
|
3613
3609
|
"--sectiondivider-sm-title-letter-spacing": "--letter-spacing-normal",
|
|
3614
|
-
"--sectiondivider-sm-title-outline-width": "--border-width-4",
|
|
3615
3610
|
"--sectiondivider-sm-description-font-family": "--font-sans",
|
|
3616
3611
|
"--sectiondivider-sm-description-font-weight": "--font-weight-medium",
|
|
3617
3612
|
"--sectiondivider-sm-description-font-size": "--font-size-5xl",
|
|
@@ -3633,7 +3628,6 @@
|
|
|
3633
3628
|
"--sectiondivider-sm-description": "--text-secondary",
|
|
3634
3629
|
"--sectiondivider-sm-eyebrow": "--text-tertiary",
|
|
3635
3630
|
"--sectiondivider-sm-border": "--color-transparent",
|
|
3636
|
-
"--sectiondivider-sm-title-outline-color": "transparent",
|
|
3637
3631
|
"--sectiondivider-sm-hairline-color": "color-mix(in srgb, var(--border-brand-medium) 50%, transparent)"
|
|
3638
3632
|
}
|
|
3639
3633
|
},
|
|
@@ -4074,5 +4068,5 @@
|
|
|
4074
4068
|
}
|
|
4075
4069
|
}
|
|
4076
4070
|
},
|
|
4077
|
-
"componentSchemaVersion":
|
|
4071
|
+
"componentSchemaVersion": 26
|
|
4078
4072
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { run } from 'svelte/legacy';
|
|
3
|
-
|
|
4
|
-
import { onMount, tick } from 'svelte';
|
|
5
|
-
|
|
6
2
|
/** Size variant. Each variant owns everything that defines its style:
|
|
7
3
|
* typography, geometry, colors AND the intrinsic display properties
|
|
8
4
|
* (alignment, eyebrow visibility, description visibility, hairline
|
|
@@ -23,69 +19,6 @@
|
|
|
23
19
|
eyebrow = undefined,
|
|
24
20
|
variant = 'md',
|
|
25
21
|
}: Props = $props();
|
|
26
|
-
|
|
27
|
-
let svgEl: SVGSVGElement | undefined = $state();
|
|
28
|
-
let svgTextEl: SVGTextElement | undefined = $state();
|
|
29
|
-
let svgW = $state(0);
|
|
30
|
-
let svgH = $state(0);
|
|
31
|
-
let svgX = $state(0);
|
|
32
|
-
let svgY = $state(0);
|
|
33
|
-
|
|
34
|
-
// feMorphology radius and feFlood flood-color are non-presentation attributes
|
|
35
|
-
// and can't read CSS vars. Read resolved values off the SVG element and push
|
|
36
|
-
// them onto the filter primitives, refreshing on doc-level inline-var changes.
|
|
37
|
-
let outlineRadius = $state('0');
|
|
38
|
-
let outlineColor = $state('#000');
|
|
39
|
-
const filterId = `sd-outline-${Math.random().toString(36).slice(2, 10)}`;
|
|
40
|
-
|
|
41
|
-
function syncFilter(): void {
|
|
42
|
-
if (!svgEl) return;
|
|
43
|
-
const cs = getComputedStyle(svgEl);
|
|
44
|
-
const wPx = parseFloat(cs.getPropertyValue('--_divider-title-outline-width'));
|
|
45
|
-
outlineRadius = String(Number.isFinite(wPx) ? wPx / 2 : 0);
|
|
46
|
-
const c = cs.getPropertyValue('--_divider-title-outline-color').trim();
|
|
47
|
-
outlineColor = c || '#000';
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function measure(): void {
|
|
51
|
-
if (!svgTextEl) return;
|
|
52
|
-
const bb = svgTextEl.getBBox();
|
|
53
|
-
svgX = bb.x;
|
|
54
|
-
svgY = bb.y;
|
|
55
|
-
svgW = Math.ceil(bb.width);
|
|
56
|
-
svgH = Math.ceil(bb.height);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
run(() => {
|
|
60
|
-
if (title) {
|
|
61
|
-
tick().then(() => { measure(); syncFilter(); });
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
onMount(() => {
|
|
66
|
-
let mounted = true;
|
|
67
|
-
const sync = () => { measure(); syncFilter(); };
|
|
68
|
-
measure();
|
|
69
|
-
syncFilter();
|
|
70
|
-
const obs = new MutationObserver(sync);
|
|
71
|
-
obs.observe(document.documentElement, { attributes: true, attributeFilter: ['style'] });
|
|
72
|
-
|
|
73
|
-
// A font-family variable changes before its webfont necessarily finishes
|
|
74
|
-
// loading. Re-run getBBox when the real face becomes available so the SVG
|
|
75
|
-
// viewBox and outline do not stay sized for the fallback font.
|
|
76
|
-
const fonts = document.fonts;
|
|
77
|
-
const onFontsLoaded = () => {
|
|
78
|
-
if (mounted) sync();
|
|
79
|
-
};
|
|
80
|
-
fonts?.addEventListener('loadingdone', onFontsLoaded);
|
|
81
|
-
void fonts?.ready.then(onFontsLoaded);
|
|
82
|
-
|
|
83
|
-
return () => {
|
|
84
|
-
mounted = false;
|
|
85
|
-
obs.disconnect();
|
|
86
|
-
fonts?.removeEventListener('loadingdone', onFontsLoaded);
|
|
87
|
-
};
|
|
88
|
-
});
|
|
89
22
|
</script>
|
|
90
23
|
|
|
91
24
|
<!-- In dev, render every variant-controlled block so the editor can flip
|
|
@@ -101,31 +34,7 @@
|
|
|
101
34
|
<div class="title-row">
|
|
102
35
|
<span class="sd-hairline sd-hairline--side sd-hairline-through-label" aria-hidden="true"></span>
|
|
103
36
|
<span class="title-inline">
|
|
104
|
-
<
|
|
105
|
-
bind:this={svgEl}
|
|
106
|
-
class="divider-label"
|
|
107
|
-
width={svgW || undefined}
|
|
108
|
-
height={svgH || undefined}
|
|
109
|
-
viewBox={svgW && svgH ? `${svgX} ${svgY} ${svgW} ${svgH}` : undefined}
|
|
110
|
-
aria-label={title}
|
|
111
|
-
role="img"
|
|
112
|
-
>
|
|
113
|
-
<defs>
|
|
114
|
-
<filter id={filterId} x="-50%" y="-50%" width="200%" height="200%">
|
|
115
|
-
<feMorphology in="SourceAlpha" operator="dilate" radius={outlineRadius} result="dilated" />
|
|
116
|
-
<feFlood flood-color={outlineColor} result="color" />
|
|
117
|
-
<feComposite in="color" in2="dilated" operator="in" result="outline" />
|
|
118
|
-
<feComposite in="SourceGraphic" in2="outline" operator="over" />
|
|
119
|
-
</filter>
|
|
120
|
-
</defs>
|
|
121
|
-
<text
|
|
122
|
-
bind:this={svgTextEl}
|
|
123
|
-
x="0"
|
|
124
|
-
y="0"
|
|
125
|
-
dominant-baseline="hanging"
|
|
126
|
-
filter="url(#{filterId})"
|
|
127
|
-
>{title}</text>
|
|
128
|
-
</svg>
|
|
37
|
+
<span class="divider-label">{title}</span>
|
|
129
38
|
</span>
|
|
130
39
|
<span class="sd-hairline sd-hairline--side sd-hairline-through-label" aria-hidden="true"></span>
|
|
131
40
|
</div>
|
|
@@ -153,31 +62,7 @@
|
|
|
153
62
|
<span class="sd-hairline sd-hairline--side sd-hairline-through-label" aria-hidden="true"></span>
|
|
154
63
|
<!--END_PRUNE-->
|
|
155
64
|
<span class="title-inline">
|
|
156
|
-
<
|
|
157
|
-
bind:this={svgEl}
|
|
158
|
-
class="divider-label"
|
|
159
|
-
width={svgW || undefined}
|
|
160
|
-
height={svgH || undefined}
|
|
161
|
-
viewBox={svgW && svgH ? `${svgX} ${svgY} ${svgW} ${svgH}` : undefined}
|
|
162
|
-
aria-label={title}
|
|
163
|
-
role="img"
|
|
164
|
-
>
|
|
165
|
-
<defs>
|
|
166
|
-
<filter id={filterId} x="-50%" y="-50%" width="200%" height="200%">
|
|
167
|
-
<feMorphology in="SourceAlpha" operator="dilate" radius={outlineRadius} result="dilated" />
|
|
168
|
-
<feFlood flood-color={outlineColor} result="color" />
|
|
169
|
-
<feComposite in="color" in2="dilated" operator="in" result="outline" />
|
|
170
|
-
<feComposite in="SourceGraphic" in2="outline" operator="over" />
|
|
171
|
-
</filter>
|
|
172
|
-
</defs>
|
|
173
|
-
<text
|
|
174
|
-
bind:this={svgTextEl}
|
|
175
|
-
x="0"
|
|
176
|
-
y="0"
|
|
177
|
-
dominant-baseline="hanging"
|
|
178
|
-
filter="url(#{filterId})"
|
|
179
|
-
>{title}</text>
|
|
180
|
-
</svg>
|
|
65
|
+
<span class="divider-label">{title}</span>
|
|
181
66
|
</span>
|
|
182
67
|
<!--PRUNE_FOR sectiondivider hairline == through-label default=none-->
|
|
183
68
|
<span class="sd-hairline sd-hairline--side sd-hairline-through-label" aria-hidden="true"></span>
|
|
@@ -221,7 +106,6 @@
|
|
|
221
106
|
--sectiondivider-lg-title-font-size: var(--font-size-5xl);
|
|
222
107
|
--sectiondivider-lg-title-line-height: var(--line-height-normal);
|
|
223
108
|
--sectiondivider-lg-title-letter-spacing: var(--letter-spacing-normal);
|
|
224
|
-
--sectiondivider-lg-title-outline-width: var(--border-width-4);
|
|
225
109
|
--sectiondivider-lg-description-font-family: var(--font-sans);
|
|
226
110
|
--sectiondivider-lg-description-font-weight: var(--font-weight-medium);
|
|
227
111
|
--sectiondivider-lg-description-font-size: var(--font-size-lg);
|
|
@@ -243,7 +127,6 @@
|
|
|
243
127
|
--sectiondivider-lg-description: var(--text-alternate);
|
|
244
128
|
--sectiondivider-lg-eyebrow: var(--text-brand);
|
|
245
129
|
--sectiondivider-lg-border: var(--color-transparent);
|
|
246
|
-
--sectiondivider-lg-title-outline-color: var(--color-transparent);
|
|
247
130
|
--sectiondivider-lg-hairline-color: var(--border-brand-medium);
|
|
248
131
|
|
|
249
132
|
/* Medium */
|
|
@@ -252,7 +135,6 @@
|
|
|
252
135
|
--sectiondivider-md-title-font-size: var(--font-size-4xl);
|
|
253
136
|
--sectiondivider-md-title-line-height: var(--line-height-normal);
|
|
254
137
|
--sectiondivider-md-title-letter-spacing: var(--letter-spacing-normal);
|
|
255
|
-
--sectiondivider-md-title-outline-width: var(--border-width-4);
|
|
256
138
|
--sectiondivider-md-description-font-family: var(--font-sans);
|
|
257
139
|
--sectiondivider-md-description-font-weight: var(--font-weight-medium);
|
|
258
140
|
--sectiondivider-md-description-font-size: var(--font-size-lg);
|
|
@@ -274,7 +156,6 @@
|
|
|
274
156
|
--sectiondivider-md-description: var(--text-secondary);
|
|
275
157
|
--sectiondivider-md-eyebrow: var(--text-tertiary);
|
|
276
158
|
--sectiondivider-md-border: var(--color-transparent);
|
|
277
|
-
--sectiondivider-md-title-outline-color: var(--color-transparent);
|
|
278
159
|
--sectiondivider-md-hairline-color: var(--border-brand-medium);
|
|
279
160
|
|
|
280
161
|
/* Small */
|
|
@@ -283,7 +164,6 @@
|
|
|
283
164
|
--sectiondivider-sm-title-font-size: var(--font-size-3xl);
|
|
284
165
|
--sectiondivider-sm-title-line-height: var(--line-height-normal);
|
|
285
166
|
--sectiondivider-sm-title-letter-spacing: var(--letter-spacing-normal);
|
|
286
|
-
--sectiondivider-sm-title-outline-width: var(--border-width-4);
|
|
287
167
|
--sectiondivider-sm-description-font-family: var(--font-sans);
|
|
288
168
|
--sectiondivider-sm-description-font-weight: var(--font-weight-medium);
|
|
289
169
|
--sectiondivider-sm-description-font-size: var(--font-size-5xl);
|
|
@@ -305,7 +185,6 @@
|
|
|
305
185
|
--sectiondivider-sm-description: var(--text-secondary);
|
|
306
186
|
--sectiondivider-sm-eyebrow: var(--text-tertiary);
|
|
307
187
|
--sectiondivider-sm-border: var(--color-transparent);
|
|
308
|
-
--sectiondivider-sm-title-outline-color: var(--color-transparent);
|
|
309
188
|
--sectiondivider-sm-hairline-color: color-mix(in srgb, var(--border-brand-medium) 50%, transparent);
|
|
310
189
|
|
|
311
190
|
/* Intrinsic defaults. These keys cascade to `:root` via the editor's
|
|
@@ -361,7 +240,6 @@
|
|
|
361
240
|
--_divider-title-font-size: var(--sectiondivider-lg-title-font-size);
|
|
362
241
|
--_divider-title-line-height: var(--sectiondivider-lg-title-line-height);
|
|
363
242
|
--_divider-title-letter-spacing: var(--sectiondivider-lg-title-letter-spacing);
|
|
364
|
-
--_divider-title-outline-width: var(--sectiondivider-lg-title-outline-width);
|
|
365
243
|
--_divider-description-font-family: var(--sectiondivider-lg-description-font-family);
|
|
366
244
|
--_divider-description-font-weight: var(--sectiondivider-lg-description-font-weight);
|
|
367
245
|
--_divider-description-font-size: var(--sectiondivider-lg-description-font-size);
|
|
@@ -383,7 +261,6 @@
|
|
|
383
261
|
--_divider-description: var(--sectiondivider-lg-description);
|
|
384
262
|
--_divider-eyebrow: var(--sectiondivider-lg-eyebrow);
|
|
385
263
|
--_divider-border: var(--sectiondivider-lg-border);
|
|
386
|
-
--_divider-title-outline-color: var(--sectiondivider-lg-title-outline-color);
|
|
387
264
|
--_divider-hairline-color: var(--sectiondivider-lg-hairline-color);
|
|
388
265
|
--_divider-align: var(--sectiondivider-lg-align);
|
|
389
266
|
--_divider-eyebrow-display: var(--sectiondivider-lg-eyebrow-display);
|
|
@@ -398,7 +275,6 @@
|
|
|
398
275
|
--_divider-title-font-size: var(--sectiondivider-md-title-font-size);
|
|
399
276
|
--_divider-title-line-height: var(--sectiondivider-md-title-line-height);
|
|
400
277
|
--_divider-title-letter-spacing: var(--sectiondivider-md-title-letter-spacing);
|
|
401
|
-
--_divider-title-outline-width: var(--sectiondivider-md-title-outline-width);
|
|
402
278
|
--_divider-description-font-family: var(--sectiondivider-md-description-font-family);
|
|
403
279
|
--_divider-description-font-weight: var(--sectiondivider-md-description-font-weight);
|
|
404
280
|
--_divider-description-font-size: var(--sectiondivider-md-description-font-size);
|
|
@@ -420,7 +296,6 @@
|
|
|
420
296
|
--_divider-description: var(--sectiondivider-md-description);
|
|
421
297
|
--_divider-eyebrow: var(--sectiondivider-md-eyebrow);
|
|
422
298
|
--_divider-border: var(--sectiondivider-md-border);
|
|
423
|
-
--_divider-title-outline-color: var(--sectiondivider-md-title-outline-color);
|
|
424
299
|
--_divider-hairline-color: var(--sectiondivider-md-hairline-color);
|
|
425
300
|
--_divider-align: var(--sectiondivider-md-align);
|
|
426
301
|
--_divider-eyebrow-display: var(--sectiondivider-md-eyebrow-display);
|
|
@@ -435,7 +310,6 @@
|
|
|
435
310
|
--_divider-title-font-size: var(--sectiondivider-sm-title-font-size);
|
|
436
311
|
--_divider-title-line-height: var(--sectiondivider-sm-title-line-height);
|
|
437
312
|
--_divider-title-letter-spacing: var(--sectiondivider-sm-title-letter-spacing);
|
|
438
|
-
--_divider-title-outline-width: var(--sectiondivider-sm-title-outline-width);
|
|
439
313
|
--_divider-description-font-family: var(--sectiondivider-sm-description-font-family);
|
|
440
314
|
--_divider-description-font-weight: var(--sectiondivider-sm-description-font-weight);
|
|
441
315
|
--_divider-description-font-size: var(--sectiondivider-sm-description-font-size);
|
|
@@ -457,7 +331,6 @@
|
|
|
457
331
|
--_divider-description: var(--sectiondivider-sm-description);
|
|
458
332
|
--_divider-eyebrow: var(--sectiondivider-sm-eyebrow);
|
|
459
333
|
--_divider-border: var(--sectiondivider-sm-border);
|
|
460
|
-
--_divider-title-outline-color: var(--sectiondivider-sm-title-outline-color);
|
|
461
334
|
--_divider-hairline-color: var(--sectiondivider-sm-hairline-color);
|
|
462
335
|
--_divider-align: var(--sectiondivider-sm-align);
|
|
463
336
|
--_divider-eyebrow-display: var(--sectiondivider-sm-eyebrow-display);
|
|
@@ -535,27 +408,14 @@
|
|
|
535
408
|
var(--sectiondivider-sm-eyebrow-padding-left, var(--sectiondivider-sm-eyebrow-padding, 0));
|
|
536
409
|
}
|
|
537
410
|
|
|
538
|
-
|
|
539
|
-
composite filter. Dilating the alpha treats all glyphs as one combined
|
|
540
|
-
shape, so neighbor-glyph overlaps (CQ, AC etc.) merge into a single
|
|
541
|
-
outline instead of double-stacking. */
|
|
542
|
-
svg.divider-label {
|
|
411
|
+
.divider-label {
|
|
543
412
|
display: block;
|
|
544
|
-
overflow: visible;
|
|
545
413
|
color: var(--_divider-title);
|
|
546
|
-
/* The title is type that happens to be drawn as an SVG, so Sketch mode
|
|
547
|
-
reads it as one glyph and pushes it as far as it pushes a 16px icon.
|
|
548
|
-
At heading size any travel pulls the letters apart, so it stays crisp.
|
|
549
|
-
`none` drops the ink mask along with the displacement. */
|
|
550
|
-
--sketch-icon-off: none;
|
|
551
|
-
}
|
|
552
|
-
svg.divider-label text {
|
|
553
414
|
font-family: var(--_divider-title-font-family);
|
|
554
415
|
font-weight: var(--_divider-title-font-weight);
|
|
555
416
|
font-size: var(--_divider-title-font-size);
|
|
556
417
|
line-height: var(--_divider-title-line-height);
|
|
557
418
|
letter-spacing: var(--_divider-title-letter-spacing);
|
|
558
|
-
fill: currentColor;
|
|
559
419
|
}
|
|
560
420
|
|
|
561
421
|
.title-row {
|