@primer/primitives 7.15.10 → 7.15.11-rc.06eebf07

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 (136) hide show
  1. package/dist/css/functional/themes/dark-colorblind.css +10 -6
  2. package/dist/css/functional/themes/dark-dimmed.css +14 -10
  3. package/dist/css/functional/themes/dark-high-contrast.css +10 -6
  4. package/dist/css/functional/themes/dark-tritanopia.css +10 -6
  5. package/dist/css/functional/themes/dark.css +10 -6
  6. package/dist/css/functional/themes/light-colorblind.css +10 -6
  7. package/dist/css/functional/themes/light-high-contrast.css +12 -8
  8. package/dist/css/functional/themes/light-tritanopia.css +10 -6
  9. package/dist/css/functional/themes/light.css +10 -6
  10. package/dist/docs/functional/themes/dark-colorblind.json +85 -12
  11. package/dist/docs/functional/themes/dark-dimmed.json +87 -14
  12. package/dist/docs/functional/themes/dark-high-contrast.json +83 -10
  13. package/dist/docs/functional/themes/dark-tritanopia.json +85 -12
  14. package/dist/docs/functional/themes/dark.json +85 -12
  15. package/dist/docs/functional/themes/light-colorblind.json +71 -12
  16. package/dist/docs/functional/themes/light-high-contrast.json +74 -15
  17. package/dist/docs/functional/themes/light-tritanopia.json +71 -12
  18. package/dist/docs/functional/themes/light.json +71 -12
  19. package/dist/figma/shadows/dark-colorblind.json +100 -0
  20. package/dist/figma/shadows/dark-dimmed.json +100 -0
  21. package/dist/figma/shadows/dark-high-contrast.json +100 -0
  22. package/dist/figma/shadows/dark-tritanopia.json +100 -0
  23. package/dist/figma/shadows/dark.json +100 -0
  24. package/dist/figma/themes/dark-colorblind.json +138 -23
  25. package/dist/figma/themes/dark-dimmed.json +144 -29
  26. package/dist/figma/themes/dark-high-contrast.json +136 -21
  27. package/dist/figma/themes/dark-tritanopia.json +138 -23
  28. package/dist/figma/themes/dark.json +138 -23
  29. package/dist/figma/themes/light-colorblind.json +38 -23
  30. package/dist/figma/themes/light-high-contrast.json +43 -28
  31. package/dist/figma/themes/light-tritanopia.json +38 -23
  32. package/dist/figma/themes/light.json +38 -23
  33. package/dist/scss/functional/themes/dark-colorblind.scss +5 -3
  34. package/dist/scss/functional/themes/dark-dimmed.scss +7 -5
  35. package/dist/scss/functional/themes/dark-high-contrast.scss +5 -3
  36. package/dist/scss/functional/themes/dark-tritanopia.scss +5 -3
  37. package/dist/scss/functional/themes/dark.scss +5 -3
  38. package/dist/scss/functional/themes/light-colorblind.scss +5 -3
  39. package/dist/scss/functional/themes/light-high-contrast.scss +6 -4
  40. package/dist/scss/functional/themes/light-tritanopia.scss +5 -3
  41. package/dist/scss/functional/themes/light.scss +5 -3
  42. package/package.json +1 -1
  43. package/tokens-next-private/css/functional/themes/dark-colorblind.css +10 -6
  44. package/tokens-next-private/css/functional/themes/dark-dimmed.css +14 -10
  45. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +10 -6
  46. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +10 -6
  47. package/tokens-next-private/css/functional/themes/dark.css +10 -6
  48. package/tokens-next-private/css/functional/themes/light-colorblind.css +10 -6
  49. package/tokens-next-private/css/functional/themes/light-high-contrast.css +12 -8
  50. package/tokens-next-private/css/functional/themes/light-tritanopia.css +10 -6
  51. package/tokens-next-private/css/functional/themes/light.css +10 -6
  52. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +85 -12
  53. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +87 -14
  54. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +83 -10
  55. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +85 -12
  56. package/tokens-next-private/docs/functional/themes/dark.json +85 -12
  57. package/tokens-next-private/docs/functional/themes/light-colorblind.json +71 -12
  58. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +74 -15
  59. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +71 -12
  60. package/tokens-next-private/docs/functional/themes/light.json +71 -12
  61. package/tokens-next-private/figma/shadows/dark-colorblind.json +100 -0
  62. package/tokens-next-private/figma/shadows/dark-dimmed.json +100 -0
  63. package/tokens-next-private/figma/shadows/dark-high-contrast.json +100 -0
  64. package/tokens-next-private/figma/shadows/dark-tritanopia.json +100 -0
  65. package/tokens-next-private/figma/shadows/dark.json +100 -0
  66. package/tokens-next-private/figma/themes/dark-colorblind.json +138 -23
  67. package/tokens-next-private/figma/themes/dark-dimmed.json +144 -29
  68. package/tokens-next-private/figma/themes/dark-high-contrast.json +136 -21
  69. package/tokens-next-private/figma/themes/dark-tritanopia.json +138 -23
  70. package/tokens-next-private/figma/themes/dark.json +138 -23
  71. package/tokens-next-private/figma/themes/light-colorblind.json +38 -23
  72. package/tokens-next-private/figma/themes/light-high-contrast.json +43 -28
  73. package/tokens-next-private/figma/themes/light-tritanopia.json +38 -23
  74. package/tokens-next-private/figma/themes/light.json +38 -23
  75. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +5 -3
  76. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +7 -5
  77. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +5 -3
  78. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +5 -3
  79. package/tokens-next-private/scss/functional/themes/dark.scss +5 -3
  80. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +5 -3
  81. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +6 -4
  82. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +5 -3
  83. package/tokens-next-private/scss/functional/themes/light.scss +5 -3
  84. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  85. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  86. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  87. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  88. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  89. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  90. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  91. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  92. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  93. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  94. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  95. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  96. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  97. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  98. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  99. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  100. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  101. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  102. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  103. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  104. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  105. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  106. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  107. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  108. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  109. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  110. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  111. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  112. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  113. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  114. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  115. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  116. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  117. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  118. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  119. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  120. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  121. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  122. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  123. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  124. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  125. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  126. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  127. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  128. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  129. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  130. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  131. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  132. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  133. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  134. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  135. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  136. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
@@ -3583,7 +3583,7 @@
3583
3583
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3584
3584
  "isSource": true,
3585
3585
  "original": {
3586
- "value": "{base.color.white}",
3586
+ "value": "{fgColor.white}",
3587
3587
  "$type": "color",
3588
3588
  "$extensions": {
3589
3589
  "org.primer.figma": {
@@ -3643,7 +3643,7 @@
3643
3643
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3644
3644
  "isSource": true,
3645
3645
  "original": {
3646
- "value": "{base.color.white}",
3646
+ "value": "{fgColor.white}",
3647
3647
  "$type": "color",
3648
3648
  "$extensions": {
3649
3649
  "org.primer.figma": {
@@ -5081,7 +5081,7 @@
5081
5081
  "attributes": {},
5082
5082
  "path": ["button", "danger", "shadow", "selected"]
5083
5083
  },
5084
- "button-inactive-fgColor-rest": {
5084
+ "button-inactive-fgColor": {
5085
5085
  "value": "#8b949e",
5086
5086
  "$type": "color",
5087
5087
  "$extensions": {
@@ -5106,11 +5106,11 @@
5106
5106
  }
5107
5107
  }
5108
5108
  },
5109
- "name": "button-inactive-fgColor-rest",
5109
+ "name": "button-inactive-fgColor",
5110
5110
  "attributes": {},
5111
- "path": ["button", "inactive", "fgColor", "rest"]
5111
+ "path": ["button", "inactive", "fgColor"]
5112
5112
  },
5113
- "button-inactive-bgColor-rest": {
5113
+ "button-inactive-bgColor": {
5114
5114
  "value": "#21262d",
5115
5115
  "$type": "color",
5116
5116
  "$extensions": {
@@ -5135,9 +5135,9 @@
5135
5135
  }
5136
5136
  }
5137
5137
  },
5138
- "name": "button-inactive-bgColor-rest",
5138
+ "name": "button-inactive-bgColor",
5139
5139
  "attributes": {},
5140
- "path": ["button", "inactive", "bgColor", "rest"]
5140
+ "path": ["button", "inactive", "bgColor"]
5141
5141
  },
5142
5142
  "buttonCounter-default-bgColor-rest": {
5143
5143
  "value": "#30363d",
@@ -5985,7 +5985,7 @@
5985
5985
  "path": ["underlineNav", "iconColor", "rest"]
5986
5986
  },
5987
5987
  "selection-bgColor": {
5988
- "value": "#4493f833",
5988
+ "value": "#1f6febb3",
5989
5989
  "$type": "color",
5990
5990
  "$extensions": {
5991
5991
  "org.primer.figma": {
@@ -5995,11 +5995,11 @@
5995
5995
  "scopes": ["bgColor"]
5996
5996
  }
5997
5997
  },
5998
- "alpha": 0.2,
5998
+ "alpha": 0.7,
5999
5999
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
6000
6000
  "isSource": true,
6001
6001
  "original": {
6002
- "value": "{fgColor.link.@}",
6002
+ "value": "{bgColor.accent.emphasis}",
6003
6003
  "$type": "color",
6004
6004
  "$extensions": {
6005
6005
  "org.primer.figma": {
@@ -6009,7 +6009,7 @@
6009
6009
  "scopes": ["bgColor"]
6010
6010
  }
6011
6011
  },
6012
- "alpha": 0.2
6012
+ "alpha": 0.7
6013
6013
  },
6014
6014
  "name": "selection-bgColor",
6015
6015
  "attributes": {},
@@ -6136,6 +6136,35 @@
6136
6136
  "attributes": {},
6137
6137
  "path": ["fgColor", "onEmphasis"]
6138
6138
  },
6139
+ "fgColor-white": {
6140
+ "value": "#ffffff",
6141
+ "$type": "color",
6142
+ "$extensions": {
6143
+ "org.primer.figma": {
6144
+ "collection": "mode",
6145
+ "mode": "light",
6146
+ "group": "semantic",
6147
+ "scopes": ["fgColor"]
6148
+ }
6149
+ },
6150
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
6151
+ "isSource": true,
6152
+ "original": {
6153
+ "value": "#ffffff",
6154
+ "$type": "color",
6155
+ "$extensions": {
6156
+ "org.primer.figma": {
6157
+ "collection": "mode",
6158
+ "mode": "light",
6159
+ "group": "semantic",
6160
+ "scopes": ["fgColor"]
6161
+ }
6162
+ }
6163
+ },
6164
+ "name": "fgColor-white",
6165
+ "attributes": {},
6166
+ "path": ["fgColor", "white"]
6167
+ },
6139
6168
  "fgColor-disabled": {
6140
6169
  "value": "#6e7681",
6141
6170
  "$type": "color",
@@ -11386,6 +11415,50 @@
11386
11415
  "attributes": {},
11387
11416
  "path": ["shadow", "floating", "xlarge"]
11388
11417
  },
11418
+ "shadow-floating-legacy": {
11419
+ "value": "0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966",
11420
+ "$type": "shadow",
11421
+ "$extensions": {
11422
+ "org.primer.figma": {
11423
+ "collection": "mode",
11424
+ "mode": "light",
11425
+ "group": "shadow"
11426
+ }
11427
+ },
11428
+ "filePath": "src/tokens/functional/shadow/dark.json5",
11429
+ "isSource": true,
11430
+ "original": {
11431
+ "value": [
11432
+ {
11433
+ "color": "{base.color.black}",
11434
+ "alpha": 0.4,
11435
+ "offsetX": "0px",
11436
+ "offsetY": "6px",
11437
+ "blur": "12px",
11438
+ "spread": "-3px"
11439
+ },
11440
+ {
11441
+ "color": "{base.color.black}",
11442
+ "alpha": 0.4,
11443
+ "offsetX": "0px",
11444
+ "offsetY": "6px",
11445
+ "blur": "18px",
11446
+ "spread": "0px"
11447
+ }
11448
+ ],
11449
+ "$type": "shadow",
11450
+ "$extensions": {
11451
+ "org.primer.figma": {
11452
+ "collection": "mode",
11453
+ "mode": "light",
11454
+ "group": "shadow"
11455
+ }
11456
+ }
11457
+ },
11458
+ "name": "shadow-floating-legacy",
11459
+ "attributes": {},
11460
+ "path": ["shadow", "floating", "legacy"]
11461
+ },
11389
11462
  "outline-focus": {
11390
11463
  "value": "#1f6feb solid 2px",
11391
11464
  "$type": "border",
@@ -3570,7 +3570,7 @@
3570
3570
  "path": ["button", "default", "shadow", "resting"]
3571
3571
  },
3572
3572
  "button-primary-fgColor-rest": {
3573
- "value": "#cdd9e5",
3573
+ "value": "#ffffff",
3574
3574
  "$type": "color",
3575
3575
  "$extensions": {
3576
3576
  "org.primer.figma": {
@@ -3583,7 +3583,7 @@
3583
3583
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3584
3584
  "isSource": true,
3585
3585
  "original": {
3586
- "value": "{base.color.white}",
3586
+ "value": "{fgColor.white}",
3587
3587
  "$type": "color",
3588
3588
  "$extensions": {
3589
3589
  "org.primer.figma": {
@@ -3630,7 +3630,7 @@
3630
3630
  "path": ["button", "primary", "fgColor", "disabled"]
3631
3631
  },
3632
3632
  "button-primary-iconColor-rest": {
3633
- "value": "#cdd9e5",
3633
+ "value": "#ffffff",
3634
3634
  "$type": "color",
3635
3635
  "$extensions": {
3636
3636
  "org.primer.figma": {
@@ -3643,7 +3643,7 @@
3643
3643
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3644
3644
  "isSource": true,
3645
3645
  "original": {
3646
- "value": "{base.color.white}",
3646
+ "value": "{fgColor.white}",
3647
3647
  "$type": "color",
3648
3648
  "$extensions": {
3649
3649
  "org.primer.figma": {
@@ -5087,7 +5087,7 @@
5087
5087
  "attributes": {},
5088
5088
  "path": ["button", "danger", "shadow", "selected"]
5089
5089
  },
5090
- "button-inactive-fgColor-rest": {
5090
+ "button-inactive-fgColor": {
5091
5091
  "value": "#768390",
5092
5092
  "$type": "color",
5093
5093
  "$extensions": {
@@ -5112,11 +5112,11 @@
5112
5112
  }
5113
5113
  }
5114
5114
  },
5115
- "name": "button-inactive-fgColor-rest",
5115
+ "name": "button-inactive-fgColor",
5116
5116
  "attributes": {},
5117
- "path": ["button", "inactive", "fgColor", "rest"]
5117
+ "path": ["button", "inactive", "fgColor"]
5118
5118
  },
5119
- "button-inactive-bgColor-rest": {
5119
+ "button-inactive-bgColor": {
5120
5120
  "value": "#373e47",
5121
5121
  "$type": "color",
5122
5122
  "$extensions": {
@@ -5141,9 +5141,9 @@
5141
5141
  }
5142
5142
  }
5143
5143
  },
5144
- "name": "button-inactive-bgColor-rest",
5144
+ "name": "button-inactive-bgColor",
5145
5145
  "attributes": {},
5146
- "path": ["button", "inactive", "bgColor", "rest"]
5146
+ "path": ["button", "inactive", "bgColor"]
5147
5147
  },
5148
5148
  "buttonCounter-default-bgColor-rest": {
5149
5149
  "value": "#444c56",
@@ -5991,7 +5991,7 @@
5991
5991
  "path": ["underlineNav", "iconColor", "rest"]
5992
5992
  },
5993
5993
  "selection-bgColor": {
5994
- "value": "#478be633",
5994
+ "value": "#316dcab3",
5995
5995
  "$type": "color",
5996
5996
  "$extensions": {
5997
5997
  "org.primer.figma": {
@@ -6001,11 +6001,11 @@
6001
6001
  "scopes": ["bgColor"]
6002
6002
  }
6003
6003
  },
6004
- "alpha": 0.2,
6004
+ "alpha": 0.7,
6005
6005
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
6006
6006
  "isSource": true,
6007
6007
  "original": {
6008
- "value": "{fgColor.link.@}",
6008
+ "value": "{bgColor.accent.emphasis}",
6009
6009
  "$type": "color",
6010
6010
  "$extensions": {
6011
6011
  "org.primer.figma": {
@@ -6015,7 +6015,7 @@
6015
6015
  "scopes": ["bgColor"]
6016
6016
  }
6017
6017
  },
6018
- "alpha": 0.2
6018
+ "alpha": 0.7
6019
6019
  },
6020
6020
  "name": "selection-bgColor",
6021
6021
  "attributes": {},
@@ -6142,6 +6142,35 @@
6142
6142
  "attributes": {},
6143
6143
  "path": ["fgColor", "onEmphasis"]
6144
6144
  },
6145
+ "fgColor-white": {
6146
+ "value": "#ffffff",
6147
+ "$type": "color",
6148
+ "$extensions": {
6149
+ "org.primer.figma": {
6150
+ "collection": "mode",
6151
+ "mode": "light",
6152
+ "group": "semantic",
6153
+ "scopes": ["fgColor"]
6154
+ }
6155
+ },
6156
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
6157
+ "isSource": true,
6158
+ "original": {
6159
+ "value": "#ffffff",
6160
+ "$type": "color",
6161
+ "$extensions": {
6162
+ "org.primer.figma": {
6163
+ "collection": "mode",
6164
+ "mode": "light",
6165
+ "group": "semantic",
6166
+ "scopes": ["fgColor"]
6167
+ }
6168
+ }
6169
+ },
6170
+ "name": "fgColor-white",
6171
+ "attributes": {},
6172
+ "path": ["fgColor", "white"]
6173
+ },
6145
6174
  "fgColor-disabled": {
6146
6175
  "value": "#636e7b",
6147
6176
  "$type": "color",
@@ -11390,6 +11419,50 @@
11390
11419
  "attributes": {},
11391
11420
  "path": ["shadow", "floating", "xlarge"]
11392
11421
  },
11422
+ "shadow-floating-legacy": {
11423
+ "value": "0px 6px 12px -3px #1c212866, 0px 6px 18px 0px #1c212866",
11424
+ "$type": "shadow",
11425
+ "$extensions": {
11426
+ "org.primer.figma": {
11427
+ "collection": "mode",
11428
+ "mode": "light",
11429
+ "group": "shadow"
11430
+ }
11431
+ },
11432
+ "filePath": "src/tokens/functional/shadow/dark.json5",
11433
+ "isSource": true,
11434
+ "original": {
11435
+ "value": [
11436
+ {
11437
+ "color": "{base.color.black}",
11438
+ "alpha": 0.4,
11439
+ "offsetX": "0px",
11440
+ "offsetY": "6px",
11441
+ "blur": "12px",
11442
+ "spread": "-3px"
11443
+ },
11444
+ {
11445
+ "color": "{base.color.black}",
11446
+ "alpha": 0.4,
11447
+ "offsetX": "0px",
11448
+ "offsetY": "6px",
11449
+ "blur": "18px",
11450
+ "spread": "0px"
11451
+ }
11452
+ ],
11453
+ "$type": "shadow",
11454
+ "$extensions": {
11455
+ "org.primer.figma": {
11456
+ "collection": "mode",
11457
+ "mode": "light",
11458
+ "group": "shadow"
11459
+ }
11460
+ }
11461
+ },
11462
+ "name": "shadow-floating-legacy",
11463
+ "attributes": {},
11464
+ "path": ["shadow", "floating", "legacy"]
11465
+ },
11393
11466
  "outline-focus": {
11394
11467
  "value": "#316dca solid 2px",
11395
11468
  "$type": "border",
@@ -5109,7 +5109,7 @@
5109
5109
  "attributes": {},
5110
5110
  "path": ["button", "danger", "shadow", "selected"]
5111
5111
  },
5112
- "button-inactive-fgColor-rest": {
5112
+ "button-inactive-fgColor": {
5113
5113
  "value": "#bdc4cc",
5114
5114
  "$type": "color",
5115
5115
  "$extensions": {
@@ -5134,11 +5134,11 @@
5134
5134
  }
5135
5135
  }
5136
5136
  },
5137
- "name": "button-inactive-fgColor-rest",
5137
+ "name": "button-inactive-fgColor",
5138
5138
  "attributes": {},
5139
- "path": ["button", "inactive", "fgColor", "rest"]
5139
+ "path": ["button", "inactive", "fgColor"]
5140
5140
  },
5141
- "button-inactive-bgColor-rest": {
5141
+ "button-inactive-bgColor": {
5142
5142
  "value": "#3d424d",
5143
5143
  "$type": "color",
5144
5144
  "$extensions": {
@@ -5163,9 +5163,9 @@
5163
5163
  }
5164
5164
  }
5165
5165
  },
5166
- "name": "button-inactive-bgColor-rest",
5166
+ "name": "button-inactive-bgColor",
5167
5167
  "attributes": {},
5168
- "path": ["button", "inactive", "bgColor", "rest"]
5168
+ "path": ["button", "inactive", "bgColor"]
5169
5169
  },
5170
5170
  "buttonCounter-default-bgColor-rest": {
5171
5171
  "value": "#525964",
@@ -6013,7 +6013,7 @@
6013
6013
  "path": ["underlineNav", "iconColor", "rest"]
6014
6014
  },
6015
6015
  "selection-bgColor": {
6016
- "value": "#60aeff33",
6016
+ "value": "#409effb3",
6017
6017
  "$type": "color",
6018
6018
  "$extensions": {
6019
6019
  "org.primer.figma": {
@@ -6023,11 +6023,11 @@
6023
6023
  "scopes": ["bgColor"]
6024
6024
  }
6025
6025
  },
6026
- "alpha": 0.2,
6026
+ "alpha": 0.7,
6027
6027
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
6028
6028
  "isSource": true,
6029
6029
  "original": {
6030
- "value": "{fgColor.link.@}",
6030
+ "value": "{bgColor.accent.emphasis}",
6031
6031
  "$type": "color",
6032
6032
  "$extensions": {
6033
6033
  "org.primer.figma": {
@@ -6037,7 +6037,7 @@
6037
6037
  "scopes": ["bgColor"]
6038
6038
  }
6039
6039
  },
6040
- "alpha": 0.2
6040
+ "alpha": 0.7
6041
6041
  },
6042
6042
  "name": "selection-bgColor",
6043
6043
  "attributes": {},
@@ -6160,6 +6160,35 @@
6160
6160
  "attributes": {},
6161
6161
  "path": ["fgColor", "onEmphasis"]
6162
6162
  },
6163
+ "fgColor-white": {
6164
+ "value": "#ffffff",
6165
+ "$type": "color",
6166
+ "$extensions": {
6167
+ "org.primer.figma": {
6168
+ "collection": "mode",
6169
+ "mode": "light",
6170
+ "group": "semantic",
6171
+ "scopes": ["fgColor"]
6172
+ }
6173
+ },
6174
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
6175
+ "isSource": true,
6176
+ "original": {
6177
+ "value": "#ffffff",
6178
+ "$type": "color",
6179
+ "$extensions": {
6180
+ "org.primer.figma": {
6181
+ "collection": "mode",
6182
+ "mode": "light",
6183
+ "group": "semantic",
6184
+ "scopes": ["fgColor"]
6185
+ }
6186
+ }
6187
+ },
6188
+ "name": "fgColor-white",
6189
+ "attributes": {},
6190
+ "path": ["fgColor", "white"]
6191
+ },
6163
6192
  "fgColor-disabled": {
6164
6193
  "value": "#9ea7b3",
6165
6194
  "$type": "color",
@@ -11408,6 +11437,50 @@
11408
11437
  "attributes": {},
11409
11438
  "path": ["shadow", "floating", "xlarge"]
11410
11439
  },
11440
+ "shadow-floating-legacy": {
11441
+ "value": "0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966",
11442
+ "$type": "shadow",
11443
+ "$extensions": {
11444
+ "org.primer.figma": {
11445
+ "collection": "mode",
11446
+ "mode": "light",
11447
+ "group": "shadow"
11448
+ }
11449
+ },
11450
+ "filePath": "src/tokens/functional/shadow/dark.json5",
11451
+ "isSource": true,
11452
+ "original": {
11453
+ "value": [
11454
+ {
11455
+ "color": "{base.color.black}",
11456
+ "alpha": 0.4,
11457
+ "offsetX": "0px",
11458
+ "offsetY": "6px",
11459
+ "blur": "12px",
11460
+ "spread": "-3px"
11461
+ },
11462
+ {
11463
+ "color": "{base.color.black}",
11464
+ "alpha": 0.4,
11465
+ "offsetX": "0px",
11466
+ "offsetY": "6px",
11467
+ "blur": "18px",
11468
+ "spread": "0px"
11469
+ }
11470
+ ],
11471
+ "$type": "shadow",
11472
+ "$extensions": {
11473
+ "org.primer.figma": {
11474
+ "collection": "mode",
11475
+ "mode": "light",
11476
+ "group": "shadow"
11477
+ }
11478
+ }
11479
+ },
11480
+ "name": "shadow-floating-legacy",
11481
+ "attributes": {},
11482
+ "path": ["shadow", "floating", "legacy"]
11483
+ },
11411
11484
  "outline-focus": {
11412
11485
  "value": "#409eff solid 2px",
11413
11486
  "$type": "border",
@@ -3583,7 +3583,7 @@
3583
3583
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3584
3584
  "isSource": true,
3585
3585
  "original": {
3586
- "value": "{base.color.white}",
3586
+ "value": "{fgColor.white}",
3587
3587
  "$type": "color",
3588
3588
  "$extensions": {
3589
3589
  "org.primer.figma": {
@@ -3643,7 +3643,7 @@
3643
3643
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
3644
3644
  "isSource": true,
3645
3645
  "original": {
3646
- "value": "{base.color.white}",
3646
+ "value": "{fgColor.white}",
3647
3647
  "$type": "color",
3648
3648
  "$extensions": {
3649
3649
  "org.primer.figma": {
@@ -5087,7 +5087,7 @@
5087
5087
  "attributes": {},
5088
5088
  "path": ["button", "danger", "shadow", "selected"]
5089
5089
  },
5090
- "button-inactive-fgColor-rest": {
5090
+ "button-inactive-fgColor": {
5091
5091
  "value": "#8b949e",
5092
5092
  "$type": "color",
5093
5093
  "$extensions": {
@@ -5112,11 +5112,11 @@
5112
5112
  }
5113
5113
  }
5114
5114
  },
5115
- "name": "button-inactive-fgColor-rest",
5115
+ "name": "button-inactive-fgColor",
5116
5116
  "attributes": {},
5117
- "path": ["button", "inactive", "fgColor", "rest"]
5117
+ "path": ["button", "inactive", "fgColor"]
5118
5118
  },
5119
- "button-inactive-bgColor-rest": {
5119
+ "button-inactive-bgColor": {
5120
5120
  "value": "#21262d",
5121
5121
  "$type": "color",
5122
5122
  "$extensions": {
@@ -5141,9 +5141,9 @@
5141
5141
  }
5142
5142
  }
5143
5143
  },
5144
- "name": "button-inactive-bgColor-rest",
5144
+ "name": "button-inactive-bgColor",
5145
5145
  "attributes": {},
5146
- "path": ["button", "inactive", "bgColor", "rest"]
5146
+ "path": ["button", "inactive", "bgColor"]
5147
5147
  },
5148
5148
  "buttonCounter-default-bgColor-rest": {
5149
5149
  "value": "#30363d",
@@ -5991,7 +5991,7 @@
5991
5991
  "path": ["underlineNav", "iconColor", "rest"]
5992
5992
  },
5993
5993
  "selection-bgColor": {
5994
- "value": "#4493f833",
5994
+ "value": "#1f6febb3",
5995
5995
  "$type": "color",
5996
5996
  "$extensions": {
5997
5997
  "org.primer.figma": {
@@ -6001,11 +6001,11 @@
6001
6001
  "scopes": ["bgColor"]
6002
6002
  }
6003
6003
  },
6004
- "alpha": 0.2,
6004
+ "alpha": 0.7,
6005
6005
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
6006
6006
  "isSource": true,
6007
6007
  "original": {
6008
- "value": "{fgColor.link.@}",
6008
+ "value": "{bgColor.accent.emphasis}",
6009
6009
  "$type": "color",
6010
6010
  "$extensions": {
6011
6011
  "org.primer.figma": {
@@ -6015,7 +6015,7 @@
6015
6015
  "scopes": ["bgColor"]
6016
6016
  }
6017
6017
  },
6018
- "alpha": 0.2
6018
+ "alpha": 0.7
6019
6019
  },
6020
6020
  "name": "selection-bgColor",
6021
6021
  "attributes": {},
@@ -6142,6 +6142,35 @@
6142
6142
  "attributes": {},
6143
6143
  "path": ["fgColor", "onEmphasis"]
6144
6144
  },
6145
+ "fgColor-white": {
6146
+ "value": "#ffffff",
6147
+ "$type": "color",
6148
+ "$extensions": {
6149
+ "org.primer.figma": {
6150
+ "collection": "mode",
6151
+ "mode": "light",
6152
+ "group": "semantic",
6153
+ "scopes": ["fgColor"]
6154
+ }
6155
+ },
6156
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
6157
+ "isSource": true,
6158
+ "original": {
6159
+ "value": "#ffffff",
6160
+ "$type": "color",
6161
+ "$extensions": {
6162
+ "org.primer.figma": {
6163
+ "collection": "mode",
6164
+ "mode": "light",
6165
+ "group": "semantic",
6166
+ "scopes": ["fgColor"]
6167
+ }
6168
+ }
6169
+ },
6170
+ "name": "fgColor-white",
6171
+ "attributes": {},
6172
+ "path": ["fgColor", "white"]
6173
+ },
6145
6174
  "fgColor-disabled": {
6146
6175
  "value": "#6e7681",
6147
6176
  "$type": "color",
@@ -11392,6 +11421,50 @@
11392
11421
  "attributes": {},
11393
11422
  "path": ["shadow", "floating", "xlarge"]
11394
11423
  },
11424
+ "shadow-floating-legacy": {
11425
+ "value": "0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966",
11426
+ "$type": "shadow",
11427
+ "$extensions": {
11428
+ "org.primer.figma": {
11429
+ "collection": "mode",
11430
+ "mode": "light",
11431
+ "group": "shadow"
11432
+ }
11433
+ },
11434
+ "filePath": "src/tokens/functional/shadow/dark.json5",
11435
+ "isSource": true,
11436
+ "original": {
11437
+ "value": [
11438
+ {
11439
+ "color": "{base.color.black}",
11440
+ "alpha": 0.4,
11441
+ "offsetX": "0px",
11442
+ "offsetY": "6px",
11443
+ "blur": "12px",
11444
+ "spread": "-3px"
11445
+ },
11446
+ {
11447
+ "color": "{base.color.black}",
11448
+ "alpha": 0.4,
11449
+ "offsetX": "0px",
11450
+ "offsetY": "6px",
11451
+ "blur": "18px",
11452
+ "spread": "0px"
11453
+ }
11454
+ ],
11455
+ "$type": "shadow",
11456
+ "$extensions": {
11457
+ "org.primer.figma": {
11458
+ "collection": "mode",
11459
+ "mode": "light",
11460
+ "group": "shadow"
11461
+ }
11462
+ }
11463
+ },
11464
+ "name": "shadow-floating-legacy",
11465
+ "attributes": {},
11466
+ "path": ["shadow", "floating", "legacy"]
11467
+ },
11395
11468
  "outline-focus": {
11396
11469
  "value": "#1f6feb solid 2px",
11397
11470
  "$type": "border",