@primer/primitives 7.13.0 → 7.13.1-rc.0fa7554
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/package.json +1 -1
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +16 -12
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +16 -12
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +16 -12
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +16 -12
- package/tokens-next-private/css/functional/themes/dark.css +16 -12
- package/tokens-next-private/css/functional/themes/light-colorblind.css +16 -12
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +16 -12
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +16 -12
- package/tokens-next-private/css/functional/themes/light.css +16 -12
- package/tokens-next-private/docs/functional/themes/dark-colorblind.json +133 -55
- package/tokens-next-private/docs/functional/themes/dark-dimmed.json +132 -54
- package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +134 -54
- package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +132 -54
- package/tokens-next-private/docs/functional/themes/dark.json +132 -54
- package/tokens-next-private/docs/functional/themes/light-colorblind.json +130 -52
- package/tokens-next-private/docs/functional/themes/light-high-contrast.json +132 -52
- package/tokens-next-private/docs/functional/themes/light-tritanopia.json +130 -52
- package/tokens-next-private/docs/functional/themes/light.json +130 -52
- package/tokens-next-private/fallbacks/color-fallbacks.json +4 -1
- package/tokens-next-private/figma/themes/dark.json +138 -72
- package/tokens-next-private/figma/themes/light.json +108 -42
- package/tokens-next-private/scss/base/size/size.scss +17 -21
- package/tokens-next-private/scss/base/typography/typography.scss +4 -8
- package/tokens-next-private/scss/functional/size/border.scss +12 -16
- package/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
- package/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
- package/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
- package/tokens-next-private/scss/functional/size/size.scss +67 -71
- package/tokens-next-private/scss/functional/size/viewport.scss +6 -19
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +415 -417
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +415 -417
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +415 -417
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +415 -417
- package/tokens-next-private/scss/functional/themes/dark.scss +415 -417
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +415 -417
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +415 -417
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +415 -417
- package/tokens-next-private/scss/functional/themes/light.scss +415 -417
- package/tokens-next-private/scss/functional/typography/typography.scss +45 -49
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
|
@@ -3252,27 +3252,6 @@
|
|
|
3252
3252
|
"attributes": {},
|
|
3253
3253
|
"path": ["button", "default", "shadow", "resting"]
|
|
3254
3254
|
},
|
|
3255
|
-
"button-default-shadow-inset": {
|
|
3256
|
-
"value": "inset 0px 1px 0px 0px #ffffff40",
|
|
3257
|
-
"$type": "shadow",
|
|
3258
|
-
"filePath": "src/tokens/functional/shadow/light.json5",
|
|
3259
|
-
"isSource": true,
|
|
3260
|
-
"original": {
|
|
3261
|
-
"value": {
|
|
3262
|
-
"color": "{base.color.white}",
|
|
3263
|
-
"alpha": 0.25,
|
|
3264
|
-
"offsetX": "0px",
|
|
3265
|
-
"offsetY": "1px",
|
|
3266
|
-
"blur": "0px",
|
|
3267
|
-
"spread": "0px",
|
|
3268
|
-
"inset": true
|
|
3269
|
-
},
|
|
3270
|
-
"$type": "shadow"
|
|
3271
|
-
},
|
|
3272
|
-
"name": "button-default-shadow-inset",
|
|
3273
|
-
"attributes": {},
|
|
3274
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3275
|
-
},
|
|
3276
3255
|
"button-primary-fgColor-rest": {
|
|
3277
3256
|
"value": "#ffffff",
|
|
3278
3257
|
"$type": "color",
|
|
@@ -3564,6 +3543,35 @@
|
|
|
3564
3543
|
"attributes": {},
|
|
3565
3544
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3566
3545
|
},
|
|
3546
|
+
"button-primary-borderColor-active": {
|
|
3547
|
+
"value": "#1f232826",
|
|
3548
|
+
"$type": "color",
|
|
3549
|
+
"$extensions": {
|
|
3550
|
+
"org.primer.figma": {
|
|
3551
|
+
"collection": "mode",
|
|
3552
|
+
"mode": "light",
|
|
3553
|
+
"group": "component",
|
|
3554
|
+
"scopes": ["borderColor"]
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3558
|
+
"isSource": true,
|
|
3559
|
+
"original": {
|
|
3560
|
+
"value": "{button.primary.borderColor.rest}",
|
|
3561
|
+
"$type": "color",
|
|
3562
|
+
"$extensions": {
|
|
3563
|
+
"org.primer.figma": {
|
|
3564
|
+
"collection": "mode",
|
|
3565
|
+
"mode": "light",
|
|
3566
|
+
"group": "component",
|
|
3567
|
+
"scopes": ["borderColor"]
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"name": "button-primary-borderColor-active",
|
|
3572
|
+
"attributes": {},
|
|
3573
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3574
|
+
},
|
|
3567
3575
|
"button-primary-borderColor-disabled": {
|
|
3568
3576
|
"value": "#92caff",
|
|
3569
3577
|
"$type": "color",
|
|
@@ -3703,6 +3711,93 @@
|
|
|
3703
3711
|
"attributes": {},
|
|
3704
3712
|
"path": ["button", "invisible", "fgColor", "disabled"]
|
|
3705
3713
|
},
|
|
3714
|
+
"button-invisible-iconColor-rest": {
|
|
3715
|
+
"value": "#636c76",
|
|
3716
|
+
"$type": "color",
|
|
3717
|
+
"$extensions": {
|
|
3718
|
+
"org.primer.figma": {
|
|
3719
|
+
"collection": "mode",
|
|
3720
|
+
"mode": "light",
|
|
3721
|
+
"group": "component",
|
|
3722
|
+
"scopes": ["fgColor"]
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3726
|
+
"isSource": true,
|
|
3727
|
+
"original": {
|
|
3728
|
+
"value": "{fgColor.muted}",
|
|
3729
|
+
"$type": "color",
|
|
3730
|
+
"$extensions": {
|
|
3731
|
+
"org.primer.figma": {
|
|
3732
|
+
"collection": "mode",
|
|
3733
|
+
"mode": "light",
|
|
3734
|
+
"group": "component",
|
|
3735
|
+
"scopes": ["fgColor"]
|
|
3736
|
+
}
|
|
3737
|
+
}
|
|
3738
|
+
},
|
|
3739
|
+
"name": "button-invisible-iconColor-rest",
|
|
3740
|
+
"attributes": {},
|
|
3741
|
+
"path": ["button", "invisible", "iconColor", "rest"]
|
|
3742
|
+
},
|
|
3743
|
+
"button-invisible-iconColor-hover": {
|
|
3744
|
+
"value": "#636c76",
|
|
3745
|
+
"$type": "color",
|
|
3746
|
+
"$extensions": {
|
|
3747
|
+
"org.primer.figma": {
|
|
3748
|
+
"collection": "mode",
|
|
3749
|
+
"mode": "light",
|
|
3750
|
+
"group": "component",
|
|
3751
|
+
"scopes": ["fgColor"]
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3755
|
+
"isSource": true,
|
|
3756
|
+
"original": {
|
|
3757
|
+
"value": "{fgColor.muted}",
|
|
3758
|
+
"$type": "color",
|
|
3759
|
+
"$extensions": {
|
|
3760
|
+
"org.primer.figma": {
|
|
3761
|
+
"collection": "mode",
|
|
3762
|
+
"mode": "light",
|
|
3763
|
+
"group": "component",
|
|
3764
|
+
"scopes": ["fgColor"]
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
"name": "button-invisible-iconColor-hover",
|
|
3769
|
+
"attributes": {},
|
|
3770
|
+
"path": ["button", "invisible", "iconColor", "hover"]
|
|
3771
|
+
},
|
|
3772
|
+
"button-invisible-iconColor-disabled": {
|
|
3773
|
+
"value": "#8c959f",
|
|
3774
|
+
"$type": "color",
|
|
3775
|
+
"$extensions": {
|
|
3776
|
+
"org.primer.figma": {
|
|
3777
|
+
"collection": "mode",
|
|
3778
|
+
"mode": "light",
|
|
3779
|
+
"group": "component",
|
|
3780
|
+
"scopes": ["fgColor"]
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3784
|
+
"isSource": true,
|
|
3785
|
+
"original": {
|
|
3786
|
+
"value": "{control.fgColor.disabled}",
|
|
3787
|
+
"$type": "color",
|
|
3788
|
+
"$extensions": {
|
|
3789
|
+
"org.primer.figma": {
|
|
3790
|
+
"collection": "mode",
|
|
3791
|
+
"mode": "light",
|
|
3792
|
+
"group": "component",
|
|
3793
|
+
"scopes": ["fgColor"]
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
},
|
|
3797
|
+
"name": "button-invisible-iconColor-disabled",
|
|
3798
|
+
"attributes": {},
|
|
3799
|
+
"path": ["button", "invisible", "iconColor", "disabled"]
|
|
3800
|
+
},
|
|
3706
3801
|
"button-invisible-bgColor-rest": {
|
|
3707
3802
|
"value": "#ffffff00",
|
|
3708
3803
|
"$type": "color",
|
|
@@ -4149,7 +4244,7 @@
|
|
|
4149
4244
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4150
4245
|
},
|
|
4151
4246
|
"button-outline-borderColor-hover": {
|
|
4152
|
-
"value": "#
|
|
4247
|
+
"value": "#1f232826",
|
|
4153
4248
|
"$type": "color",
|
|
4154
4249
|
"$extensions": {
|
|
4155
4250
|
"org.primer.figma": {
|
|
@@ -4159,10 +4254,11 @@
|
|
|
4159
4254
|
"scopes": ["borderColor"]
|
|
4160
4255
|
}
|
|
4161
4256
|
},
|
|
4257
|
+
"alpha": 0.15,
|
|
4162
4258
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4163
4259
|
"isSource": true,
|
|
4164
4260
|
"original": {
|
|
4165
|
-
"value": "{
|
|
4261
|
+
"value": "{base.color.black}",
|
|
4166
4262
|
"$type": "color",
|
|
4167
4263
|
"$extensions": {
|
|
4168
4264
|
"org.primer.figma": {
|
|
@@ -4171,14 +4267,15 @@
|
|
|
4171
4267
|
"group": "component",
|
|
4172
4268
|
"scopes": ["borderColor"]
|
|
4173
4269
|
}
|
|
4174
|
-
}
|
|
4270
|
+
},
|
|
4271
|
+
"alpha": 0.15
|
|
4175
4272
|
},
|
|
4176
4273
|
"name": "button-outline-borderColor-hover",
|
|
4177
4274
|
"attributes": {},
|
|
4178
4275
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4179
4276
|
},
|
|
4180
4277
|
"button-outline-borderColor-active": {
|
|
4181
|
-
"value": "#
|
|
4278
|
+
"value": "#1f232826",
|
|
4182
4279
|
"$type": "color",
|
|
4183
4280
|
"$extensions": {
|
|
4184
4281
|
"org.primer.figma": {
|
|
@@ -4191,7 +4288,7 @@
|
|
|
4191
4288
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4192
4289
|
"isSource": true,
|
|
4193
4290
|
"original": {
|
|
4194
|
-
"value": "{borderColor.
|
|
4291
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4195
4292
|
"$type": "color",
|
|
4196
4293
|
"$extensions": {
|
|
4197
4294
|
"org.primer.figma": {
|
|
@@ -4559,7 +4656,7 @@
|
|
|
4559
4656
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4560
4657
|
},
|
|
4561
4658
|
"button-danger-borderColor-hover": {
|
|
4562
|
-
"value": "#
|
|
4659
|
+
"value": "#1f232826",
|
|
4563
4660
|
"$type": "color",
|
|
4564
4661
|
"$extensions": {
|
|
4565
4662
|
"org.primer.figma": {
|
|
@@ -4569,10 +4666,11 @@
|
|
|
4569
4666
|
"scopes": ["borderColor"]
|
|
4570
4667
|
}
|
|
4571
4668
|
},
|
|
4669
|
+
"alpha": 0.15,
|
|
4572
4670
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4573
4671
|
"isSource": true,
|
|
4574
4672
|
"original": {
|
|
4575
|
-
"value": "{
|
|
4673
|
+
"value": "{base.color.black}",
|
|
4576
4674
|
"$type": "color",
|
|
4577
4675
|
"$extensions": {
|
|
4578
4676
|
"org.primer.figma": {
|
|
@@ -4581,14 +4679,15 @@
|
|
|
4581
4679
|
"group": "component",
|
|
4582
4680
|
"scopes": ["borderColor"]
|
|
4583
4681
|
}
|
|
4584
|
-
}
|
|
4682
|
+
},
|
|
4683
|
+
"alpha": 0.15
|
|
4585
4684
|
},
|
|
4586
4685
|
"name": "button-danger-borderColor-hover",
|
|
4587
4686
|
"attributes": {},
|
|
4588
4687
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4589
4688
|
},
|
|
4590
4689
|
"button-danger-borderColor-active": {
|
|
4591
|
-
"value": "#
|
|
4690
|
+
"value": "#1f232826",
|
|
4592
4691
|
"$type": "color",
|
|
4593
4692
|
"$extensions": {
|
|
4594
4693
|
"org.primer.figma": {
|
|
@@ -4601,7 +4700,7 @@
|
|
|
4601
4700
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4602
4701
|
"isSource": true,
|
|
4603
4702
|
"original": {
|
|
4604
|
-
"value": "{borderColor.
|
|
4703
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4605
4704
|
"$type": "color",
|
|
4606
4705
|
"$extensions": {
|
|
4607
4706
|
"org.primer.figma": {
|
|
@@ -10501,27 +10600,6 @@
|
|
|
10501
10600
|
"attributes": {},
|
|
10502
10601
|
"path": ["shadow", "inset"]
|
|
10503
10602
|
},
|
|
10504
|
-
"shadow-highlight": {
|
|
10505
|
-
"value": "inset 0px 1px 0px 0px #ffffff3d",
|
|
10506
|
-
"$type": "shadow",
|
|
10507
|
-
"filePath": "src/tokens/functional/shadow/light.json5",
|
|
10508
|
-
"isSource": true,
|
|
10509
|
-
"original": {
|
|
10510
|
-
"value": {
|
|
10511
|
-
"color": "{base.color.white}",
|
|
10512
|
-
"alpha": 0.24,
|
|
10513
|
-
"offsetX": "0px",
|
|
10514
|
-
"offsetY": "1px",
|
|
10515
|
-
"blur": "0px",
|
|
10516
|
-
"spread": "0px",
|
|
10517
|
-
"inset": true
|
|
10518
|
-
},
|
|
10519
|
-
"$type": "shadow"
|
|
10520
|
-
},
|
|
10521
|
-
"name": "shadow-highlight",
|
|
10522
|
-
"attributes": {},
|
|
10523
|
-
"path": ["shadow", "highlight"]
|
|
10524
|
-
},
|
|
10525
10603
|
"shadow-resting-xsmall": {
|
|
10526
10604
|
"value": "0px 1px 0px 0px #1f23281a",
|
|
10527
10605
|
"$type": "shadow",
|
|
@@ -3252,27 +3252,6 @@
|
|
|
3252
3252
|
"attributes": {},
|
|
3253
3253
|
"path": ["button", "default", "shadow", "resting"]
|
|
3254
3254
|
},
|
|
3255
|
-
"button-default-shadow-inset": {
|
|
3256
|
-
"value": "inset 0px 1px 0px 0px #ffffff40",
|
|
3257
|
-
"$type": "shadow",
|
|
3258
|
-
"filePath": "src/tokens/functional/shadow/light.json5",
|
|
3259
|
-
"isSource": true,
|
|
3260
|
-
"original": {
|
|
3261
|
-
"value": {
|
|
3262
|
-
"color": "{base.color.white}",
|
|
3263
|
-
"alpha": 0.25,
|
|
3264
|
-
"offsetX": "0px",
|
|
3265
|
-
"offsetY": "1px",
|
|
3266
|
-
"blur": "0px",
|
|
3267
|
-
"spread": "0px",
|
|
3268
|
-
"inset": true
|
|
3269
|
-
},
|
|
3270
|
-
"$type": "shadow"
|
|
3271
|
-
},
|
|
3272
|
-
"name": "button-default-shadow-inset",
|
|
3273
|
-
"attributes": {},
|
|
3274
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3275
|
-
},
|
|
3276
3255
|
"button-primary-fgColor-rest": {
|
|
3277
3256
|
"value": "#ffffff",
|
|
3278
3257
|
"$type": "color",
|
|
@@ -3564,6 +3543,35 @@
|
|
|
3564
3543
|
"attributes": {},
|
|
3565
3544
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3566
3545
|
},
|
|
3546
|
+
"button-primary-borderColor-active": {
|
|
3547
|
+
"value": "#1f232826",
|
|
3548
|
+
"$type": "color",
|
|
3549
|
+
"$extensions": {
|
|
3550
|
+
"org.primer.figma": {
|
|
3551
|
+
"collection": "mode",
|
|
3552
|
+
"mode": "light",
|
|
3553
|
+
"group": "component",
|
|
3554
|
+
"scopes": ["borderColor"]
|
|
3555
|
+
}
|
|
3556
|
+
},
|
|
3557
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3558
|
+
"isSource": true,
|
|
3559
|
+
"original": {
|
|
3560
|
+
"value": "{button.primary.borderColor.rest}",
|
|
3561
|
+
"$type": "color",
|
|
3562
|
+
"$extensions": {
|
|
3563
|
+
"org.primer.figma": {
|
|
3564
|
+
"collection": "mode",
|
|
3565
|
+
"mode": "light",
|
|
3566
|
+
"group": "component",
|
|
3567
|
+
"scopes": ["borderColor"]
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"name": "button-primary-borderColor-active",
|
|
3572
|
+
"attributes": {},
|
|
3573
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3574
|
+
},
|
|
3567
3575
|
"button-primary-borderColor-disabled": {
|
|
3568
3576
|
"value": "#95d8a6",
|
|
3569
3577
|
"$type": "color",
|
|
@@ -3703,6 +3711,93 @@
|
|
|
3703
3711
|
"attributes": {},
|
|
3704
3712
|
"path": ["button", "invisible", "fgColor", "disabled"]
|
|
3705
3713
|
},
|
|
3714
|
+
"button-invisible-iconColor-rest": {
|
|
3715
|
+
"value": "#636c76",
|
|
3716
|
+
"$type": "color",
|
|
3717
|
+
"$extensions": {
|
|
3718
|
+
"org.primer.figma": {
|
|
3719
|
+
"collection": "mode",
|
|
3720
|
+
"mode": "light",
|
|
3721
|
+
"group": "component",
|
|
3722
|
+
"scopes": ["fgColor"]
|
|
3723
|
+
}
|
|
3724
|
+
},
|
|
3725
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3726
|
+
"isSource": true,
|
|
3727
|
+
"original": {
|
|
3728
|
+
"value": "{fgColor.muted}",
|
|
3729
|
+
"$type": "color",
|
|
3730
|
+
"$extensions": {
|
|
3731
|
+
"org.primer.figma": {
|
|
3732
|
+
"collection": "mode",
|
|
3733
|
+
"mode": "light",
|
|
3734
|
+
"group": "component",
|
|
3735
|
+
"scopes": ["fgColor"]
|
|
3736
|
+
}
|
|
3737
|
+
}
|
|
3738
|
+
},
|
|
3739
|
+
"name": "button-invisible-iconColor-rest",
|
|
3740
|
+
"attributes": {},
|
|
3741
|
+
"path": ["button", "invisible", "iconColor", "rest"]
|
|
3742
|
+
},
|
|
3743
|
+
"button-invisible-iconColor-hover": {
|
|
3744
|
+
"value": "#636c76",
|
|
3745
|
+
"$type": "color",
|
|
3746
|
+
"$extensions": {
|
|
3747
|
+
"org.primer.figma": {
|
|
3748
|
+
"collection": "mode",
|
|
3749
|
+
"mode": "light",
|
|
3750
|
+
"group": "component",
|
|
3751
|
+
"scopes": ["fgColor"]
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3755
|
+
"isSource": true,
|
|
3756
|
+
"original": {
|
|
3757
|
+
"value": "{fgColor.muted}",
|
|
3758
|
+
"$type": "color",
|
|
3759
|
+
"$extensions": {
|
|
3760
|
+
"org.primer.figma": {
|
|
3761
|
+
"collection": "mode",
|
|
3762
|
+
"mode": "light",
|
|
3763
|
+
"group": "component",
|
|
3764
|
+
"scopes": ["fgColor"]
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
},
|
|
3768
|
+
"name": "button-invisible-iconColor-hover",
|
|
3769
|
+
"attributes": {},
|
|
3770
|
+
"path": ["button", "invisible", "iconColor", "hover"]
|
|
3771
|
+
},
|
|
3772
|
+
"button-invisible-iconColor-disabled": {
|
|
3773
|
+
"value": "#8c959f",
|
|
3774
|
+
"$type": "color",
|
|
3775
|
+
"$extensions": {
|
|
3776
|
+
"org.primer.figma": {
|
|
3777
|
+
"collection": "mode",
|
|
3778
|
+
"mode": "light",
|
|
3779
|
+
"group": "component",
|
|
3780
|
+
"scopes": ["fgColor"]
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
3784
|
+
"isSource": true,
|
|
3785
|
+
"original": {
|
|
3786
|
+
"value": "{control.fgColor.disabled}",
|
|
3787
|
+
"$type": "color",
|
|
3788
|
+
"$extensions": {
|
|
3789
|
+
"org.primer.figma": {
|
|
3790
|
+
"collection": "mode",
|
|
3791
|
+
"mode": "light",
|
|
3792
|
+
"group": "component",
|
|
3793
|
+
"scopes": ["fgColor"]
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
},
|
|
3797
|
+
"name": "button-invisible-iconColor-disabled",
|
|
3798
|
+
"attributes": {},
|
|
3799
|
+
"path": ["button", "invisible", "iconColor", "disabled"]
|
|
3800
|
+
},
|
|
3706
3801
|
"button-invisible-bgColor-rest": {
|
|
3707
3802
|
"value": "#ffffff00",
|
|
3708
3803
|
"$type": "color",
|
|
@@ -4149,7 +4244,7 @@
|
|
|
4149
4244
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4150
4245
|
},
|
|
4151
4246
|
"button-outline-borderColor-hover": {
|
|
4152
|
-
"value": "#
|
|
4247
|
+
"value": "#1f232826",
|
|
4153
4248
|
"$type": "color",
|
|
4154
4249
|
"$extensions": {
|
|
4155
4250
|
"org.primer.figma": {
|
|
@@ -4159,10 +4254,11 @@
|
|
|
4159
4254
|
"scopes": ["borderColor"]
|
|
4160
4255
|
}
|
|
4161
4256
|
},
|
|
4257
|
+
"alpha": 0.15,
|
|
4162
4258
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4163
4259
|
"isSource": true,
|
|
4164
4260
|
"original": {
|
|
4165
|
-
"value": "{
|
|
4261
|
+
"value": "{base.color.black}",
|
|
4166
4262
|
"$type": "color",
|
|
4167
4263
|
"$extensions": {
|
|
4168
4264
|
"org.primer.figma": {
|
|
@@ -4171,14 +4267,15 @@
|
|
|
4171
4267
|
"group": "component",
|
|
4172
4268
|
"scopes": ["borderColor"]
|
|
4173
4269
|
}
|
|
4174
|
-
}
|
|
4270
|
+
},
|
|
4271
|
+
"alpha": 0.15
|
|
4175
4272
|
},
|
|
4176
4273
|
"name": "button-outline-borderColor-hover",
|
|
4177
4274
|
"attributes": {},
|
|
4178
4275
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4179
4276
|
},
|
|
4180
4277
|
"button-outline-borderColor-active": {
|
|
4181
|
-
"value": "#
|
|
4278
|
+
"value": "#1f232826",
|
|
4182
4279
|
"$type": "color",
|
|
4183
4280
|
"$extensions": {
|
|
4184
4281
|
"org.primer.figma": {
|
|
@@ -4191,7 +4288,7 @@
|
|
|
4191
4288
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4192
4289
|
"isSource": true,
|
|
4193
4290
|
"original": {
|
|
4194
|
-
"value": "{borderColor.
|
|
4291
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4195
4292
|
"$type": "color",
|
|
4196
4293
|
"$extensions": {
|
|
4197
4294
|
"org.primer.figma": {
|
|
@@ -4559,7 +4656,7 @@
|
|
|
4559
4656
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4560
4657
|
},
|
|
4561
4658
|
"button-danger-borderColor-hover": {
|
|
4562
|
-
"value": "#
|
|
4659
|
+
"value": "#1f232826",
|
|
4563
4660
|
"$type": "color",
|
|
4564
4661
|
"$extensions": {
|
|
4565
4662
|
"org.primer.figma": {
|
|
@@ -4569,10 +4666,11 @@
|
|
|
4569
4666
|
"scopes": ["borderColor"]
|
|
4570
4667
|
}
|
|
4571
4668
|
},
|
|
4669
|
+
"alpha": 0.15,
|
|
4572
4670
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4573
4671
|
"isSource": true,
|
|
4574
4672
|
"original": {
|
|
4575
|
-
"value": "{
|
|
4673
|
+
"value": "{base.color.black}",
|
|
4576
4674
|
"$type": "color",
|
|
4577
4675
|
"$extensions": {
|
|
4578
4676
|
"org.primer.figma": {
|
|
@@ -4581,14 +4679,15 @@
|
|
|
4581
4679
|
"group": "component",
|
|
4582
4680
|
"scopes": ["borderColor"]
|
|
4583
4681
|
}
|
|
4584
|
-
}
|
|
4682
|
+
},
|
|
4683
|
+
"alpha": 0.15
|
|
4585
4684
|
},
|
|
4586
4685
|
"name": "button-danger-borderColor-hover",
|
|
4587
4686
|
"attributes": {},
|
|
4588
4687
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4589
4688
|
},
|
|
4590
4689
|
"button-danger-borderColor-active": {
|
|
4591
|
-
"value": "#
|
|
4690
|
+
"value": "#1f232826",
|
|
4592
4691
|
"$type": "color",
|
|
4593
4692
|
"$extensions": {
|
|
4594
4693
|
"org.primer.figma": {
|
|
@@ -4601,7 +4700,7 @@
|
|
|
4601
4700
|
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
4602
4701
|
"isSource": true,
|
|
4603
4702
|
"original": {
|
|
4604
|
-
"value": "{borderColor.
|
|
4703
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4605
4704
|
"$type": "color",
|
|
4606
4705
|
"$extensions": {
|
|
4607
4706
|
"org.primer.figma": {
|
|
@@ -10499,27 +10598,6 @@
|
|
|
10499
10598
|
"attributes": {},
|
|
10500
10599
|
"path": ["shadow", "inset"]
|
|
10501
10600
|
},
|
|
10502
|
-
"shadow-highlight": {
|
|
10503
|
-
"value": "inset 0px 1px 0px 0px #ffffff3d",
|
|
10504
|
-
"$type": "shadow",
|
|
10505
|
-
"filePath": "src/tokens/functional/shadow/light.json5",
|
|
10506
|
-
"isSource": true,
|
|
10507
|
-
"original": {
|
|
10508
|
-
"value": {
|
|
10509
|
-
"color": "{base.color.white}",
|
|
10510
|
-
"alpha": 0.24,
|
|
10511
|
-
"offsetX": "0px",
|
|
10512
|
-
"offsetY": "1px",
|
|
10513
|
-
"blur": "0px",
|
|
10514
|
-
"spread": "0px",
|
|
10515
|
-
"inset": true
|
|
10516
|
-
},
|
|
10517
|
-
"$type": "shadow"
|
|
10518
|
-
},
|
|
10519
|
-
"name": "shadow-highlight",
|
|
10520
|
-
"attributes": {},
|
|
10521
|
-
"path": ["shadow", "highlight"]
|
|
10522
|
-
},
|
|
10523
10601
|
"shadow-resting-xsmall": {
|
|
10524
10602
|
"value": "0px 1px 0px 0px #1f23281a",
|
|
10525
10603
|
"$type": "shadow",
|
|
@@ -103,9 +103,11 @@
|
|
|
103
103
|
"--button-default-bgColor-hover": "var(--color-btn-hover-bg)",
|
|
104
104
|
"--button-default-bgColor-active": "var(--color-btn-active-bg)",
|
|
105
105
|
"--button-default-bgColor-selected": "var(--color-btn-selected-bg)",
|
|
106
|
+
"--button-default-bgColor-disabled": "var(--color-btn-bg)",
|
|
106
107
|
"--button-default-borderColor-rest": "var(--color-btn-border)",
|
|
107
108
|
"--button-default-borderColor-hover": "var(--color-btn-hover-border)",
|
|
108
109
|
"--button-default-borderColor-active": "var(--color-btn-active-border)",
|
|
110
|
+
"--button-default-borderColor-disabled": "var(--color-btn-border)",
|
|
109
111
|
"--button-default-shadow-resting": "var(--color-btn-shadow)",
|
|
110
112
|
"--button-default-shadow-inset": "var(--color-btn-inset-shadow)",
|
|
111
113
|
"--button-primary-fgColor-rest": "var(--color-btn-primary-text)",
|
|
@@ -128,6 +130,7 @@
|
|
|
128
130
|
"--button-invisible-bgColor-disabled": "var(--color-action-list-item-default-selected-bg)",
|
|
129
131
|
"--button-invisible-borderColor-rest": "transparent",
|
|
130
132
|
"--button-invisible-borderColor-hover": "transparent",
|
|
133
|
+
"--button-invisible-borderColor-disabled": "var(--color-action-list-item-default-selected-bg)",
|
|
131
134
|
"--button-outline-fgColor-rest": "var(--color-btn-outline-text)",
|
|
132
135
|
"--button-outline-fgColor-hover": "var(--color-btn-outline-hover-text)",
|
|
133
136
|
"--button-outline-fgColor-active": "var(--color-btn-outline-selected-text)",
|
|
@@ -152,6 +155,7 @@
|
|
|
152
155
|
"--button-danger-borderColor-rest": "var(--color-btn-border)",
|
|
153
156
|
"--button-danger-borderColor-hover": "var(--color-btn-danger-hover-border)",
|
|
154
157
|
"--button-danger-borderColor-active": "var(--color-btn-danger-selected-border)",
|
|
158
|
+
"--button-danger-borderColor-disabled": "var(--color-action-list-item-default-selected-bg)",
|
|
155
159
|
"--button-danger-shadow-selected": "var(--color-btn-danger-selected-shadow)",
|
|
156
160
|
"--buttonCounter-default-bgColor-rest": "var(--color-btn-counter-bg)",
|
|
157
161
|
"--buttonCounter-primary-bgColor-rest": "var(--color-btn-primary-counter-bg)",
|
|
@@ -250,7 +254,6 @@
|
|
|
250
254
|
"--shadow-floating-medium": "",
|
|
251
255
|
"--shadow-floating-large": "var(--color-shadow-large)",
|
|
252
256
|
"--shadow-floating-xlarge": "var(--color-shadow-extra-large)",
|
|
253
|
-
"--shadow-highlight": "var(--color-primer-shadow-highlight)",
|
|
254
257
|
"--shadow-inset": "var(--color-primer-shadow-inset)",
|
|
255
258
|
"--borderColor-transparent": "transparent",
|
|
256
259
|
"--bgColor-transparent": "transparent"
|