@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.
Files changed (93) hide show
  1. package/package.json +1 -1
  2. package/tokens-next-private/css/functional/themes/dark-colorblind.css +16 -12
  3. package/tokens-next-private/css/functional/themes/dark-dimmed.css +16 -12
  4. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +16 -12
  5. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +16 -12
  6. package/tokens-next-private/css/functional/themes/dark.css +16 -12
  7. package/tokens-next-private/css/functional/themes/light-colorblind.css +16 -12
  8. package/tokens-next-private/css/functional/themes/light-high-contrast.css +16 -12
  9. package/tokens-next-private/css/functional/themes/light-tritanopia.css +16 -12
  10. package/tokens-next-private/css/functional/themes/light.css +16 -12
  11. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +133 -55
  12. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +132 -54
  13. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +134 -54
  14. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +132 -54
  15. package/tokens-next-private/docs/functional/themes/dark.json +132 -54
  16. package/tokens-next-private/docs/functional/themes/light-colorblind.json +130 -52
  17. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +132 -52
  18. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +130 -52
  19. package/tokens-next-private/docs/functional/themes/light.json +130 -52
  20. package/tokens-next-private/fallbacks/color-fallbacks.json +4 -1
  21. package/tokens-next-private/figma/themes/dark.json +138 -72
  22. package/tokens-next-private/figma/themes/light.json +108 -42
  23. package/tokens-next-private/scss/base/size/size.scss +17 -21
  24. package/tokens-next-private/scss/base/typography/typography.scss +4 -8
  25. package/tokens-next-private/scss/functional/size/border.scss +12 -16
  26. package/tokens-next-private/scss/functional/size/breakpoints.scss +6 -10
  27. package/tokens-next-private/scss/functional/size/size-coarse.scss +3 -7
  28. package/tokens-next-private/scss/functional/size/size-fine.scss +3 -7
  29. package/tokens-next-private/scss/functional/size/size.scss +67 -71
  30. package/tokens-next-private/scss/functional/size/viewport.scss +6 -19
  31. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +415 -417
  32. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +415 -417
  33. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +415 -417
  34. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +415 -417
  35. package/tokens-next-private/scss/functional/themes/dark.scss +415 -417
  36. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +415 -417
  37. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +415 -417
  38. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +415 -417
  39. package/tokens-next-private/scss/functional/themes/light.scss +415 -417
  40. package/tokens-next-private/scss/functional/typography/typography.scss +45 -49
  41. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  42. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  43. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  44. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  45. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  46. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  47. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  48. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  49. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  50. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  51. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  52. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  53. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  54. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  55. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  56. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  57. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  58. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  59. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  60. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  61. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  62. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  63. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  64. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  65. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  66. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  67. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  68. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  69. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  70. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  71. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  72. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  73. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  74. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  75. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  76. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  77. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  78. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  79. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  83. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  84. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  85. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  86. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  87. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  88. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  89. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  91. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  92. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  93. 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.default}",
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.default}",
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": "#ffffff",
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": "#f0f6fc1a",
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": "#5fabfe",
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": "#7d8590",
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": "#e6edf3",
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/patterns-dark.json5",
3781
+ "isSource": true,
3782
+ "original": {
3783
+ "value": "{fgColor.default}",
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": "#8b949e",
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": "#30363d66",
4265
+ "value": "#f0f6fc1a",
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": "{borderColor.muted}",
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": "#30363d66",
4296
+ "value": "#f0f6fc1a",
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.muted}",
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": "#b62324",
4677
+ "value": "#f0f6fc1a",
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.red.6}",
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": "#d03533",
4708
+ "value": "#f0f6fc1a",
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.bgColor.active}",
4721
+ "value": "{button.danger.borderColor.hover}",
4623
4722
  "$type": "color",
4624
4723
  "$extensions": {
4625
4724
  "org.primer.figma": {
@@ -10512,27 +10611,6 @@
10512
10611
  "attributes": {},
10513
10612
  "path": ["shadow", "inset"]
10514
10613
  },
10515
- "shadow-highlight": {
10516
- "value": "inset 0px 1px 0px 0px #ffffff1f",
10517
- "$type": "shadow",
10518
- "filePath": "src/tokens/functional/shadow/dark.json5",
10519
- "isSource": true,
10520
- "original": {
10521
- "value": {
10522
- "color": "{base.color.white}",
10523
- "alpha": 0.12,
10524
- "offsetX": "0px",
10525
- "offsetY": "1px",
10526
- "blur": "0px",
10527
- "spread": "0px",
10528
- "inset": true
10529
- },
10530
- "$type": "shadow"
10531
- },
10532
- "name": "shadow-highlight",
10533
- "attributes": {},
10534
- "path": ["shadow", "highlight"]
10535
- },
10536
10614
  "shadow-resting-xsmall": {
10537
10615
  "value": "0px 1px 0px 0px #010409cc",
10538
10616
  "$type": "shadow",
@@ -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.default}",
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.default}",
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": "#ffffff",
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": "#f0f6fc1a",
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": "#46bf57",
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": "#7d8590",
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": "#e6edf3",
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/patterns-dark.json5",
3781
+ "isSource": true,
3782
+ "original": {
3783
+ "value": "{fgColor.default}",
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": "#8b949e",
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": "#30363d66",
4265
+ "value": "#f0f6fc1a",
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": "{borderColor.muted}",
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": "#30363d66",
4296
+ "value": "#f0f6fc1a",
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.muted}",
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": "#b62324",
4677
+ "value": "#f0f6fc1a",
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.red.6}",
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": "#d03533",
4708
+ "value": "#f0f6fc1a",
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.bgColor.active}",
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 #ffffff1f",
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 #010409cc",
10536
10614
  "$type": "shadow",