@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
|
@@ -3184,7 +3184,7 @@
|
|
|
3184
3184
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3185
3185
|
"isSource": true,
|
|
3186
3186
|
"original": {
|
|
3187
|
-
"value": "{borderColor.
|
|
3187
|
+
"value": "{button.default.borderColor.rest}",
|
|
3188
3188
|
"$type": "color",
|
|
3189
3189
|
"$extensions": {
|
|
3190
3190
|
"org.primer.figma": {
|
|
@@ -3213,7 +3213,7 @@
|
|
|
3213
3213
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3214
3214
|
"isSource": true,
|
|
3215
3215
|
"original": {
|
|
3216
|
-
"value": "{borderColor.
|
|
3216
|
+
"value": "{button.default.borderColor.rest}",
|
|
3217
3217
|
"$type": "color",
|
|
3218
3218
|
"$extensions": {
|
|
3219
3219
|
"org.primer.figma": {
|
|
@@ -3280,27 +3280,6 @@
|
|
|
3280
3280
|
"attributes": {},
|
|
3281
3281
|
"path": ["button", "default", "shadow", "resting"]
|
|
3282
3282
|
},
|
|
3283
|
-
"button-default-shadow-inset": {
|
|
3284
|
-
"value": "0px 0px 0px 0px #000000",
|
|
3285
|
-
"$type": "shadow",
|
|
3286
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
3287
|
-
"isSource": true,
|
|
3288
|
-
"original": {
|
|
3289
|
-
"value": {
|
|
3290
|
-
"color": "{base.color.transparent}",
|
|
3291
|
-
"alpha": 0,
|
|
3292
|
-
"offsetX": "0px",
|
|
3293
|
-
"offsetY": "0px",
|
|
3294
|
-
"blur": "0px",
|
|
3295
|
-
"spread": "0px",
|
|
3296
|
-
"inset": false
|
|
3297
|
-
},
|
|
3298
|
-
"$type": "shadow"
|
|
3299
|
-
},
|
|
3300
|
-
"name": "button-default-shadow-inset",
|
|
3301
|
-
"attributes": {},
|
|
3302
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3303
|
-
},
|
|
3304
3283
|
"button-primary-fgColor-rest": {
|
|
3305
3284
|
"value": "#cdd9e5",
|
|
3306
3285
|
"$type": "color",
|
|
@@ -3590,6 +3569,35 @@
|
|
|
3590
3569
|
"attributes": {},
|
|
3591
3570
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3592
3571
|
},
|
|
3572
|
+
"button-primary-borderColor-active": {
|
|
3573
|
+
"value": "#cdd9e51a",
|
|
3574
|
+
"$type": "color",
|
|
3575
|
+
"$extensions": {
|
|
3576
|
+
"org.primer.figma": {
|
|
3577
|
+
"collection": "mode",
|
|
3578
|
+
"mode": "dark",
|
|
3579
|
+
"group": "component",
|
|
3580
|
+
"scopes": ["borderColor"]
|
|
3581
|
+
}
|
|
3582
|
+
},
|
|
3583
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3584
|
+
"isSource": true,
|
|
3585
|
+
"original": {
|
|
3586
|
+
"value": "{button.primary.borderColor.rest}",
|
|
3587
|
+
"$type": "color",
|
|
3588
|
+
"$extensions": {
|
|
3589
|
+
"org.primer.figma": {
|
|
3590
|
+
"collection": "mode",
|
|
3591
|
+
"mode": "dark",
|
|
3592
|
+
"group": "component",
|
|
3593
|
+
"scopes": ["borderColor"]
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
},
|
|
3597
|
+
"name": "button-primary-borderColor-active",
|
|
3598
|
+
"attributes": {},
|
|
3599
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3600
|
+
},
|
|
3593
3601
|
"button-primary-borderColor-disabled": {
|
|
3594
3602
|
"value": "#50a254",
|
|
3595
3603
|
"$type": "color",
|
|
@@ -3729,6 +3737,93 @@
|
|
|
3729
3737
|
"attributes": {},
|
|
3730
3738
|
"path": ["button", "invisible", "fgColor", "disabled"]
|
|
3731
3739
|
},
|
|
3740
|
+
"button-invisible-iconColor-rest": {
|
|
3741
|
+
"value": "#6d7986",
|
|
3742
|
+
"$type": "color",
|
|
3743
|
+
"$extensions": {
|
|
3744
|
+
"org.primer.figma": {
|
|
3745
|
+
"collection": "mode",
|
|
3746
|
+
"mode": "dark",
|
|
3747
|
+
"group": "component",
|
|
3748
|
+
"scopes": ["fgColor"]
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3752
|
+
"isSource": true,
|
|
3753
|
+
"original": {
|
|
3754
|
+
"value": "{fgColor.muted}",
|
|
3755
|
+
"$type": "color",
|
|
3756
|
+
"$extensions": {
|
|
3757
|
+
"org.primer.figma": {
|
|
3758
|
+
"collection": "mode",
|
|
3759
|
+
"mode": "dark",
|
|
3760
|
+
"group": "component",
|
|
3761
|
+
"scopes": ["fgColor"]
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
},
|
|
3765
|
+
"name": "button-invisible-iconColor-rest",
|
|
3766
|
+
"attributes": {},
|
|
3767
|
+
"path": ["button", "invisible", "iconColor", "rest"]
|
|
3768
|
+
},
|
|
3769
|
+
"button-invisible-iconColor-hover": {
|
|
3770
|
+
"value": "#6d7986",
|
|
3771
|
+
"$type": "color",
|
|
3772
|
+
"$extensions": {
|
|
3773
|
+
"org.primer.figma": {
|
|
3774
|
+
"collection": "mode",
|
|
3775
|
+
"mode": "dark",
|
|
3776
|
+
"group": "component",
|
|
3777
|
+
"scopes": ["fgColor"]
|
|
3778
|
+
}
|
|
3779
|
+
},
|
|
3780
|
+
"filePath": "src/tokens/functional/color/dark/overrides/dark.dimmed.json5",
|
|
3781
|
+
"isSource": true,
|
|
3782
|
+
"original": {
|
|
3783
|
+
"value": "{fgColor.muted}",
|
|
3784
|
+
"$type": "color",
|
|
3785
|
+
"$extensions": {
|
|
3786
|
+
"org.primer.figma": {
|
|
3787
|
+
"collection": "mode",
|
|
3788
|
+
"mode": "dark",
|
|
3789
|
+
"group": "component",
|
|
3790
|
+
"scopes": ["fgColor"]
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3793
|
+
},
|
|
3794
|
+
"name": "button-invisible-iconColor-hover",
|
|
3795
|
+
"attributes": {},
|
|
3796
|
+
"path": ["button", "invisible", "iconColor", "hover"]
|
|
3797
|
+
},
|
|
3798
|
+
"button-invisible-iconColor-disabled": {
|
|
3799
|
+
"value": "#768390",
|
|
3800
|
+
"$type": "color",
|
|
3801
|
+
"$extensions": {
|
|
3802
|
+
"org.primer.figma": {
|
|
3803
|
+
"collection": "mode",
|
|
3804
|
+
"mode": "light",
|
|
3805
|
+
"group": "component",
|
|
3806
|
+
"scopes": ["fgColor"]
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3810
|
+
"isSource": true,
|
|
3811
|
+
"original": {
|
|
3812
|
+
"value": "{control.fgColor.disabled}",
|
|
3813
|
+
"$type": "color",
|
|
3814
|
+
"$extensions": {
|
|
3815
|
+
"org.primer.figma": {
|
|
3816
|
+
"collection": "mode",
|
|
3817
|
+
"mode": "light",
|
|
3818
|
+
"group": "component",
|
|
3819
|
+
"scopes": ["fgColor"]
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
"name": "button-invisible-iconColor-disabled",
|
|
3824
|
+
"attributes": {},
|
|
3825
|
+
"path": ["button", "invisible", "iconColor", "disabled"]
|
|
3826
|
+
},
|
|
3732
3827
|
"button-invisible-bgColor-rest": {
|
|
3733
3828
|
"value": "#00000000",
|
|
3734
3829
|
"$type": "color",
|
|
@@ -4167,7 +4262,7 @@
|
|
|
4167
4262
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4168
4263
|
},
|
|
4169
4264
|
"button-outline-borderColor-hover": {
|
|
4170
|
-
"value": "#
|
|
4265
|
+
"value": "#cdd9e51a",
|
|
4171
4266
|
"$type": "color",
|
|
4172
4267
|
"$extensions": {
|
|
4173
4268
|
"org.primer.figma": {
|
|
@@ -4177,10 +4272,11 @@
|
|
|
4177
4272
|
"scopes": ["borderColor"]
|
|
4178
4273
|
}
|
|
4179
4274
|
},
|
|
4275
|
+
"alpha": 0.1,
|
|
4180
4276
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4181
4277
|
"isSource": true,
|
|
4182
4278
|
"original": {
|
|
4183
|
-
"value": "{
|
|
4279
|
+
"value": "{base.color.gray.0}",
|
|
4184
4280
|
"$type": "color",
|
|
4185
4281
|
"$extensions": {
|
|
4186
4282
|
"org.primer.figma": {
|
|
@@ -4189,14 +4285,15 @@
|
|
|
4189
4285
|
"group": "component",
|
|
4190
4286
|
"scopes": ["borderColor"]
|
|
4191
4287
|
}
|
|
4192
|
-
}
|
|
4288
|
+
},
|
|
4289
|
+
"alpha": 0.1
|
|
4193
4290
|
},
|
|
4194
4291
|
"name": "button-outline-borderColor-hover",
|
|
4195
4292
|
"attributes": {},
|
|
4196
4293
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4197
4294
|
},
|
|
4198
4295
|
"button-outline-borderColor-selected": {
|
|
4199
|
-
"value": "#
|
|
4296
|
+
"value": "#cdd9e51a",
|
|
4200
4297
|
"$type": "color",
|
|
4201
4298
|
"$extensions": {
|
|
4202
4299
|
"org.primer.figma": {
|
|
@@ -4209,7 +4306,7 @@
|
|
|
4209
4306
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4210
4307
|
"isSource": true,
|
|
4211
4308
|
"original": {
|
|
4212
|
-
"value": "{borderColor.
|
|
4309
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4213
4310
|
"$type": "color",
|
|
4214
4311
|
"$extensions": {
|
|
4215
4312
|
"org.primer.figma": {
|
|
@@ -4577,7 +4674,7 @@
|
|
|
4577
4674
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4578
4675
|
},
|
|
4579
4676
|
"button-danger-borderColor-hover": {
|
|
4580
|
-
"value": "#
|
|
4677
|
+
"value": "#cdd9e51a",
|
|
4581
4678
|
"$type": "color",
|
|
4582
4679
|
"$extensions": {
|
|
4583
4680
|
"org.primer.figma": {
|
|
@@ -4587,10 +4684,11 @@
|
|
|
4587
4684
|
"scopes": ["borderColor"]
|
|
4588
4685
|
}
|
|
4589
4686
|
},
|
|
4687
|
+
"alpha": 0.1,
|
|
4590
4688
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4591
4689
|
"isSource": true,
|
|
4592
4690
|
"original": {
|
|
4593
|
-
"value": "{base.color.
|
|
4691
|
+
"value": "{base.color.gray.0}",
|
|
4594
4692
|
"$type": "color",
|
|
4595
4693
|
"$extensions": {
|
|
4596
4694
|
"org.primer.figma": {
|
|
@@ -4599,14 +4697,15 @@
|
|
|
4599
4697
|
"group": "component",
|
|
4600
4698
|
"scopes": ["borderColor"]
|
|
4601
4699
|
}
|
|
4602
|
-
}
|
|
4700
|
+
},
|
|
4701
|
+
"alpha": 0.1
|
|
4603
4702
|
},
|
|
4604
4703
|
"name": "button-danger-borderColor-hover",
|
|
4605
4704
|
"attributes": {},
|
|
4606
4705
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4607
4706
|
},
|
|
4608
4707
|
"button-danger-borderColor-active": {
|
|
4609
|
-
"value": "#
|
|
4708
|
+
"value": "#cdd9e51a",
|
|
4610
4709
|
"$type": "color",
|
|
4611
4710
|
"$extensions": {
|
|
4612
4711
|
"org.primer.figma": {
|
|
@@ -4619,7 +4718,7 @@
|
|
|
4619
4718
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4620
4719
|
"isSource": true,
|
|
4621
4720
|
"original": {
|
|
4622
|
-
"value": "{button.danger.
|
|
4721
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4623
4722
|
"$type": "color",
|
|
4624
4723
|
"$extensions": {
|
|
4625
4724
|
"org.primer.figma": {
|
|
@@ -10510,27 +10609,6 @@
|
|
|
10510
10609
|
"attributes": {},
|
|
10511
10610
|
"path": ["shadow", "inset"]
|
|
10512
10611
|
},
|
|
10513
|
-
"shadow-highlight": {
|
|
10514
|
-
"value": "inset 0px 1px 0px 0px #cdd9e51f",
|
|
10515
|
-
"$type": "shadow",
|
|
10516
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
10517
|
-
"isSource": true,
|
|
10518
|
-
"original": {
|
|
10519
|
-
"value": {
|
|
10520
|
-
"color": "{base.color.white}",
|
|
10521
|
-
"alpha": 0.12,
|
|
10522
|
-
"offsetX": "0px",
|
|
10523
|
-
"offsetY": "1px",
|
|
10524
|
-
"blur": "0px",
|
|
10525
|
-
"spread": "0px",
|
|
10526
|
-
"inset": true
|
|
10527
|
-
},
|
|
10528
|
-
"$type": "shadow"
|
|
10529
|
-
},
|
|
10530
|
-
"name": "shadow-highlight",
|
|
10531
|
-
"attributes": {},
|
|
10532
|
-
"path": ["shadow", "highlight"]
|
|
10533
|
-
},
|
|
10534
10612
|
"shadow-resting-xsmall": {
|
|
10535
10613
|
"value": "0px 1px 0px 0px #1c2128cc",
|
|
10536
10614
|
"$type": "shadow",
|
|
@@ -3192,7 +3192,7 @@
|
|
|
3192
3192
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3193
3193
|
"isSource": true,
|
|
3194
3194
|
"original": {
|
|
3195
|
-
"value": "{borderColor.
|
|
3195
|
+
"value": "{button.default.borderColor.rest}",
|
|
3196
3196
|
"$type": "color",
|
|
3197
3197
|
"$extensions": {
|
|
3198
3198
|
"org.primer.figma": {
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3222
3222
|
"isSource": true,
|
|
3223
3223
|
"original": {
|
|
3224
|
-
"value": "{borderColor.
|
|
3224
|
+
"value": "{button.default.borderColor.rest}",
|
|
3225
3225
|
"$type": "color",
|
|
3226
3226
|
"$extensions": {
|
|
3227
3227
|
"org.primer.figma": {
|
|
@@ -3288,27 +3288,6 @@
|
|
|
3288
3288
|
"attributes": {},
|
|
3289
3289
|
"path": ["button", "default", "shadow", "resting"]
|
|
3290
3290
|
},
|
|
3291
|
-
"button-default-shadow-inset": {
|
|
3292
|
-
"value": "0px 0px 0px 0px #000000",
|
|
3293
|
-
"$type": "shadow",
|
|
3294
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
3295
|
-
"isSource": true,
|
|
3296
|
-
"original": {
|
|
3297
|
-
"value": {
|
|
3298
|
-
"color": "{base.color.transparent}",
|
|
3299
|
-
"alpha": 0,
|
|
3300
|
-
"offsetX": "0px",
|
|
3301
|
-
"offsetY": "0px",
|
|
3302
|
-
"blur": "0px",
|
|
3303
|
-
"spread": "0px",
|
|
3304
|
-
"inset": false
|
|
3305
|
-
},
|
|
3306
|
-
"$type": "shadow"
|
|
3307
|
-
},
|
|
3308
|
-
"name": "button-default-shadow-inset",
|
|
3309
|
-
"attributes": {},
|
|
3310
|
-
"path": ["button", "default", "shadow", "inset"]
|
|
3311
|
-
},
|
|
3312
3291
|
"button-primary-fgColor-rest": {
|
|
3313
3292
|
"value": "#0a0c10",
|
|
3314
3293
|
"$type": "color",
|
|
@@ -3600,6 +3579,37 @@
|
|
|
3600
3579
|
"attributes": {},
|
|
3601
3580
|
"path": ["button", "primary", "borderColor", "hover"]
|
|
3602
3581
|
},
|
|
3582
|
+
"button-primary-borderColor-active": {
|
|
3583
|
+
"value": "#4ae168",
|
|
3584
|
+
"$type": "color",
|
|
3585
|
+
"$extensions": {
|
|
3586
|
+
"org.primer.figma": {
|
|
3587
|
+
"collection": "mode",
|
|
3588
|
+
"mode": "dark",
|
|
3589
|
+
"group": "component",
|
|
3590
|
+
"scopes": ["borderColor"]
|
|
3591
|
+
}
|
|
3592
|
+
},
|
|
3593
|
+
"filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
|
|
3594
|
+
"isSource": true,
|
|
3595
|
+
"alpha": 1,
|
|
3596
|
+
"original": {
|
|
3597
|
+
"value": "{base.color.green.2}",
|
|
3598
|
+
"$type": "color",
|
|
3599
|
+
"$extensions": {
|
|
3600
|
+
"org.primer.figma": {
|
|
3601
|
+
"collection": "mode",
|
|
3602
|
+
"mode": "dark",
|
|
3603
|
+
"group": "component",
|
|
3604
|
+
"scopes": ["borderColor"]
|
|
3605
|
+
}
|
|
3606
|
+
},
|
|
3607
|
+
"alpha": 1
|
|
3608
|
+
},
|
|
3609
|
+
"name": "button-primary-borderColor-active",
|
|
3610
|
+
"attributes": {},
|
|
3611
|
+
"path": ["button", "primary", "borderColor", "active"]
|
|
3612
|
+
},
|
|
3603
3613
|
"button-primary-borderColor-disabled": {
|
|
3604
3614
|
"value": "#4ae16866",
|
|
3605
3615
|
"$type": "color",
|
|
@@ -3741,6 +3751,93 @@
|
|
|
3741
3751
|
"attributes": {},
|
|
3742
3752
|
"path": ["button", "invisible", "fgColor", "disabled"]
|
|
3743
3753
|
},
|
|
3754
|
+
"button-invisible-iconColor-rest": {
|
|
3755
|
+
"value": "#f0f3f6",
|
|
3756
|
+
"$type": "color",
|
|
3757
|
+
"$extensions": {
|
|
3758
|
+
"org.primer.figma": {
|
|
3759
|
+
"collection": "mode",
|
|
3760
|
+
"mode": "dark",
|
|
3761
|
+
"group": "component",
|
|
3762
|
+
"scopes": ["fgColor"]
|
|
3763
|
+
}
|
|
3764
|
+
},
|
|
3765
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3766
|
+
"isSource": true,
|
|
3767
|
+
"original": {
|
|
3768
|
+
"value": "{fgColor.muted}",
|
|
3769
|
+
"$type": "color",
|
|
3770
|
+
"$extensions": {
|
|
3771
|
+
"org.primer.figma": {
|
|
3772
|
+
"collection": "mode",
|
|
3773
|
+
"mode": "dark",
|
|
3774
|
+
"group": "component",
|
|
3775
|
+
"scopes": ["fgColor"]
|
|
3776
|
+
}
|
|
3777
|
+
}
|
|
3778
|
+
},
|
|
3779
|
+
"name": "button-invisible-iconColor-rest",
|
|
3780
|
+
"attributes": {},
|
|
3781
|
+
"path": ["button", "invisible", "iconColor", "rest"]
|
|
3782
|
+
},
|
|
3783
|
+
"button-invisible-iconColor-hover": {
|
|
3784
|
+
"value": "#fbfcfd",
|
|
3785
|
+
"$type": "color",
|
|
3786
|
+
"$extensions": {
|
|
3787
|
+
"org.primer.figma": {
|
|
3788
|
+
"collection": "mode",
|
|
3789
|
+
"mode": "dark",
|
|
3790
|
+
"group": "component",
|
|
3791
|
+
"scopes": ["fgColor"]
|
|
3792
|
+
}
|
|
3793
|
+
},
|
|
3794
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3795
|
+
"isSource": true,
|
|
3796
|
+
"original": {
|
|
3797
|
+
"value": "{fgColor.default}",
|
|
3798
|
+
"$type": "color",
|
|
3799
|
+
"$extensions": {
|
|
3800
|
+
"org.primer.figma": {
|
|
3801
|
+
"collection": "mode",
|
|
3802
|
+
"mode": "dark",
|
|
3803
|
+
"group": "component",
|
|
3804
|
+
"scopes": ["fgColor"]
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
"name": "button-invisible-iconColor-hover",
|
|
3809
|
+
"attributes": {},
|
|
3810
|
+
"path": ["button", "invisible", "iconColor", "hover"]
|
|
3811
|
+
},
|
|
3812
|
+
"button-invisible-iconColor-disabled": {
|
|
3813
|
+
"value": "#bdc4cc",
|
|
3814
|
+
"$type": "color",
|
|
3815
|
+
"$extensions": {
|
|
3816
|
+
"org.primer.figma": {
|
|
3817
|
+
"collection": "mode",
|
|
3818
|
+
"mode": "light",
|
|
3819
|
+
"group": "component",
|
|
3820
|
+
"scopes": ["fgColor"]
|
|
3821
|
+
}
|
|
3822
|
+
},
|
|
3823
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
3824
|
+
"isSource": true,
|
|
3825
|
+
"original": {
|
|
3826
|
+
"value": "{control.fgColor.disabled}",
|
|
3827
|
+
"$type": "color",
|
|
3828
|
+
"$extensions": {
|
|
3829
|
+
"org.primer.figma": {
|
|
3830
|
+
"collection": "mode",
|
|
3831
|
+
"mode": "light",
|
|
3832
|
+
"group": "component",
|
|
3833
|
+
"scopes": ["fgColor"]
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
},
|
|
3837
|
+
"name": "button-invisible-iconColor-disabled",
|
|
3838
|
+
"attributes": {},
|
|
3839
|
+
"path": ["button", "invisible", "iconColor", "disabled"]
|
|
3840
|
+
},
|
|
3744
3841
|
"button-invisible-bgColor-rest": {
|
|
3745
3842
|
"value": "#00000000",
|
|
3746
3843
|
"$type": "color",
|
|
@@ -4187,7 +4284,7 @@
|
|
|
4187
4284
|
"path": ["button", "outline", "bgColor", "disabled"]
|
|
4188
4285
|
},
|
|
4189
4286
|
"button-outline-borderColor-hover": {
|
|
4190
|
-
"value": "#
|
|
4287
|
+
"value": "#ffffff1a",
|
|
4191
4288
|
"$type": "color",
|
|
4192
4289
|
"$extensions": {
|
|
4193
4290
|
"org.primer.figma": {
|
|
@@ -4197,10 +4294,11 @@
|
|
|
4197
4294
|
"scopes": ["borderColor"]
|
|
4198
4295
|
}
|
|
4199
4296
|
},
|
|
4297
|
+
"alpha": 0.1,
|
|
4200
4298
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4201
4299
|
"isSource": true,
|
|
4202
4300
|
"original": {
|
|
4203
|
-
"value": "{
|
|
4301
|
+
"value": "{base.color.gray.0}",
|
|
4204
4302
|
"$type": "color",
|
|
4205
4303
|
"$extensions": {
|
|
4206
4304
|
"org.primer.figma": {
|
|
@@ -4209,14 +4307,15 @@
|
|
|
4209
4307
|
"group": "component",
|
|
4210
4308
|
"scopes": ["borderColor"]
|
|
4211
4309
|
}
|
|
4212
|
-
}
|
|
4310
|
+
},
|
|
4311
|
+
"alpha": 0.1
|
|
4213
4312
|
},
|
|
4214
4313
|
"name": "button-outline-borderColor-hover",
|
|
4215
4314
|
"attributes": {},
|
|
4216
4315
|
"path": ["button", "outline", "borderColor", "hover"]
|
|
4217
4316
|
},
|
|
4218
4317
|
"button-outline-borderColor-selected": {
|
|
4219
|
-
"value": "#
|
|
4318
|
+
"value": "#ffffff1a",
|
|
4220
4319
|
"$type": "color",
|
|
4221
4320
|
"$extensions": {
|
|
4222
4321
|
"org.primer.figma": {
|
|
@@ -4229,7 +4328,7 @@
|
|
|
4229
4328
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4230
4329
|
"isSource": true,
|
|
4231
4330
|
"original": {
|
|
4232
|
-
"value": "{borderColor.
|
|
4331
|
+
"value": "{button.outline.borderColor.hover}",
|
|
4233
4332
|
"$type": "color",
|
|
4234
4333
|
"$extensions": {
|
|
4235
4334
|
"org.primer.figma": {
|
|
@@ -4597,7 +4696,7 @@
|
|
|
4597
4696
|
"path": ["button", "danger", "borderColor", "rest"]
|
|
4598
4697
|
},
|
|
4599
4698
|
"button-danger-borderColor-hover": {
|
|
4600
|
-
"value": "#
|
|
4699
|
+
"value": "#ffffff1a",
|
|
4601
4700
|
"$type": "color",
|
|
4602
4701
|
"$extensions": {
|
|
4603
4702
|
"org.primer.figma": {
|
|
@@ -4607,10 +4706,11 @@
|
|
|
4607
4706
|
"scopes": ["borderColor"]
|
|
4608
4707
|
}
|
|
4609
4708
|
},
|
|
4709
|
+
"alpha": 0.1,
|
|
4610
4710
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4611
4711
|
"isSource": true,
|
|
4612
4712
|
"original": {
|
|
4613
|
-
"value": "{base.color.
|
|
4713
|
+
"value": "{base.color.gray.0}",
|
|
4614
4714
|
"$type": "color",
|
|
4615
4715
|
"$extensions": {
|
|
4616
4716
|
"org.primer.figma": {
|
|
@@ -4619,14 +4719,15 @@
|
|
|
4619
4719
|
"group": "component",
|
|
4620
4720
|
"scopes": ["borderColor"]
|
|
4621
4721
|
}
|
|
4622
|
-
}
|
|
4722
|
+
},
|
|
4723
|
+
"alpha": 0.1
|
|
4623
4724
|
},
|
|
4624
4725
|
"name": "button-danger-borderColor-hover",
|
|
4625
4726
|
"attributes": {},
|
|
4626
4727
|
"path": ["button", "danger", "borderColor", "hover"]
|
|
4627
4728
|
},
|
|
4628
4729
|
"button-danger-borderColor-active": {
|
|
4629
|
-
"value": "#
|
|
4730
|
+
"value": "#ffffff1a",
|
|
4630
4731
|
"$type": "color",
|
|
4631
4732
|
"$extensions": {
|
|
4632
4733
|
"org.primer.figma": {
|
|
@@ -4639,7 +4740,7 @@
|
|
|
4639
4740
|
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
4640
4741
|
"isSource": true,
|
|
4641
4742
|
"original": {
|
|
4642
|
-
"value": "{button.danger.
|
|
4743
|
+
"value": "{button.danger.borderColor.hover}",
|
|
4643
4744
|
"$type": "color",
|
|
4644
4745
|
"$extensions": {
|
|
4645
4746
|
"org.primer.figma": {
|
|
@@ -10526,27 +10627,6 @@
|
|
|
10526
10627
|
"attributes": {},
|
|
10527
10628
|
"path": ["shadow", "inset"]
|
|
10528
10629
|
},
|
|
10529
|
-
"shadow-highlight": {
|
|
10530
|
-
"value": "inset 0px 1px 0px 0px #ffffff1f",
|
|
10531
|
-
"$type": "shadow",
|
|
10532
|
-
"filePath": "src/tokens/functional/shadow/dark.json5",
|
|
10533
|
-
"isSource": true,
|
|
10534
|
-
"original": {
|
|
10535
|
-
"value": {
|
|
10536
|
-
"color": "{base.color.white}",
|
|
10537
|
-
"alpha": 0.12,
|
|
10538
|
-
"offsetX": "0px",
|
|
10539
|
-
"offsetY": "1px",
|
|
10540
|
-
"blur": "0px",
|
|
10541
|
-
"spread": "0px",
|
|
10542
|
-
"inset": true
|
|
10543
|
-
},
|
|
10544
|
-
"$type": "shadow"
|
|
10545
|
-
},
|
|
10546
|
-
"name": "shadow-highlight",
|
|
10547
|
-
"attributes": {},
|
|
10548
|
-
"path": ["shadow", "highlight"]
|
|
10549
|
-
},
|
|
10550
10630
|
"shadow-resting-xsmall": {
|
|
10551
10631
|
"value": "0px 1px 0px 0px #010409cc",
|
|
10552
10632
|
"$type": "shadow",
|