@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": {
@@ -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",
@@ -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 #01040966, 0px 6px 18px 0px #01040966",
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": "#1f6feb solid 2px",
11395
11468
  "$type": "border",
@@ -3561,7 +3561,7 @@
3561
3561
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3562
3562
  "isSource": true,
3563
3563
  "original": {
3564
- "value": "{base.color.white}",
3564
+ "value": "{fgColor.white}",
3565
3565
  "$type": "color",
3566
3566
  "$extensions": {
3567
3567
  "org.primer.figma": {
@@ -3622,7 +3622,7 @@
3622
3622
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3623
3623
  "isSource": true,
3624
3624
  "original": {
3625
- "value": "{base.color.white}",
3625
+ "value": "{fgColor.white}",
3626
3626
  "$type": "color",
3627
3627
  "$extensions": {
3628
3628
  "org.primer.figma": {
@@ -5075,7 +5075,7 @@
5075
5075
  "attributes": {},
5076
5076
  "path": ["button", "danger", "shadow", "selected"]
5077
5077
  },
5078
- "button-inactive-fgColor-rest": {
5078
+ "button-inactive-fgColor": {
5079
5079
  "value": "#57606a",
5080
5080
  "$type": "color",
5081
5081
  "$extensions": {
@@ -5100,11 +5100,11 @@
5100
5100
  }
5101
5101
  }
5102
5102
  },
5103
- "name": "button-inactive-fgColor-rest",
5103
+ "name": "button-inactive-fgColor",
5104
5104
  "attributes": {},
5105
- "path": ["button", "inactive", "fgColor", "rest"]
5105
+ "path": ["button", "inactive", "fgColor"]
5106
5106
  },
5107
- "button-inactive-bgColor-rest": {
5107
+ "button-inactive-bgColor": {
5108
5108
  "value": "#eaeef2",
5109
5109
  "$type": "color",
5110
5110
  "$extensions": {
@@ -5129,9 +5129,9 @@
5129
5129
  }
5130
5130
  }
5131
5131
  },
5132
- "name": "button-inactive-bgColor-rest",
5132
+ "name": "button-inactive-bgColor",
5133
5133
  "attributes": {},
5134
- "path": ["button", "inactive", "bgColor", "rest"]
5134
+ "path": ["button", "inactive", "bgColor"]
5135
5135
  },
5136
5136
  "buttonCounter-default-bgColor-rest": {
5137
5137
  "value": "#afb8c133",
@@ -6004,7 +6004,7 @@
6004
6004
  "path": ["underlineNav", "iconColor", "rest"]
6005
6005
  },
6006
6006
  "selection-bgColor": {
6007
- "value": "#0969da1a",
6007
+ "value": "#0969da33",
6008
6008
  "$type": "color",
6009
6009
  "$extensions": {
6010
6010
  "org.primer.figma": {
@@ -6014,11 +6014,11 @@
6014
6014
  "scopes": ["bgColor"]
6015
6015
  }
6016
6016
  },
6017
- "alpha": 0.1,
6017
+ "alpha": 0.2,
6018
6018
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
6019
6019
  "isSource": true,
6020
6020
  "original": {
6021
- "value": "{fgColor.link.@}",
6021
+ "value": "{bgColor.accent.emphasis}",
6022
6022
  "$type": "color",
6023
6023
  "$extensions": {
6024
6024
  "org.primer.figma": {
@@ -6028,7 +6028,7 @@
6028
6028
  "scopes": ["bgColor"]
6029
6029
  }
6030
6030
  },
6031
- "alpha": 0.1
6031
+ "alpha": 0.2
6032
6032
  },
6033
6033
  "name": "selection-bgColor",
6034
6034
  "attributes": {},
@@ -6147,6 +6147,35 @@
6147
6147
  "attributes": {},
6148
6148
  "path": ["fgColor", "onEmphasis"]
6149
6149
  },
6150
+ "fgColor-white": {
6151
+ "value": "#ffffff",
6152
+ "$type": "color",
6153
+ "$extensions": {
6154
+ "org.primer.figma": {
6155
+ "collection": "mode",
6156
+ "mode": "light",
6157
+ "group": "semantic",
6158
+ "scopes": ["fgColor"]
6159
+ }
6160
+ },
6161
+ "filePath": "src/tokens/functional/color/light/primitives-light.json5",
6162
+ "isSource": true,
6163
+ "original": {
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
+ },
6175
+ "name": "fgColor-white",
6176
+ "attributes": {},
6177
+ "path": ["fgColor", "white"]
6178
+ },
6150
6179
  "fgColor-disabled": {
6151
6180
  "value": "#8c959f",
6152
6181
  "$type": "color",
@@ -11390,5 +11419,35 @@
11390
11419
  "name": "shadow-floating-xlarge",
11391
11420
  "attributes": {},
11392
11421
  "path": ["shadow", "floating", "xlarge"]
11422
+ },
11423
+ "shadow-floating-legacy": {
11424
+ "value": "0px 6px 12px -3px #424a530a, 0px 6px 18px 0px #424a531f",
11425
+ "$type": "shadow",
11426
+ "filePath": "src/tokens/functional/shadow/light.json5",
11427
+ "isSource": true,
11428
+ "original": {
11429
+ "value": [
11430
+ {
11431
+ "color": "{base.color.gray.7}",
11432
+ "alpha": 0.04,
11433
+ "offsetX": "0px",
11434
+ "offsetY": "6px",
11435
+ "blur": "12px",
11436
+ "spread": "-3px"
11437
+ },
11438
+ {
11439
+ "color": "{base.color.gray.7}",
11440
+ "alpha": 0.12,
11441
+ "offsetX": "0px",
11442
+ "offsetY": "6px",
11443
+ "blur": "18px",
11444
+ "spread": "0px"
11445
+ }
11446
+ ],
11447
+ "$type": "shadow"
11448
+ },
11449
+ "name": "shadow-floating-legacy",
11450
+ "attributes": {},
11451
+ "path": ["shadow", "floating", "legacy"]
11393
11452
  }
11394
11453
  }
@@ -3569,7 +3569,7 @@
3569
3569
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3570
3570
  "isSource": true,
3571
3571
  "original": {
3572
- "value": "{base.color.white}",
3572
+ "value": "{fgColor.white}",
3573
3573
  "$type": "color",
3574
3574
  "$extensions": {
3575
3575
  "org.primer.figma": {
@@ -3630,7 +3630,7 @@
3630
3630
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3631
3631
  "isSource": true,
3632
3632
  "original": {
3633
- "value": "{base.color.white}",
3633
+ "value": "{fgColor.white}",
3634
3634
  "$type": "color",
3635
3635
  "$extensions": {
3636
3636
  "org.primer.figma": {
@@ -5091,7 +5091,7 @@
5091
5091
  "attributes": {},
5092
5092
  "path": ["button", "danger", "shadow", "selected"]
5093
5093
  },
5094
- "button-inactive-fgColor-rest": {
5094
+ "button-inactive-fgColor": {
5095
5095
  "value": "#4b535d",
5096
5096
  "$type": "color",
5097
5097
  "$extensions": {
@@ -5116,11 +5116,11 @@
5116
5116
  }
5117
5117
  }
5118
5118
  },
5119
- "name": "button-inactive-fgColor-rest",
5119
+ "name": "button-inactive-fgColor",
5120
5120
  "attributes": {},
5121
- "path": ["button", "inactive", "fgColor", "rest"]
5121
+ "path": ["button", "inactive", "fgColor"]
5122
5122
  },
5123
- "button-inactive-bgColor-rest": {
5123
+ "button-inactive-bgColor": {
5124
5124
  "value": "#e7ecf0",
5125
5125
  "$type": "color",
5126
5126
  "$extensions": {
@@ -5145,9 +5145,9 @@
5145
5145
  }
5146
5146
  }
5147
5147
  },
5148
- "name": "button-inactive-bgColor-rest",
5148
+ "name": "button-inactive-bgColor",
5149
5149
  "attributes": {},
5150
- "path": ["button", "inactive", "bgColor", "rest"]
5150
+ "path": ["button", "inactive", "bgColor"]
5151
5151
  },
5152
5152
  "buttonCounter-default-bgColor-rest": {
5153
5153
  "value": "#66707b33",
@@ -5719,7 +5719,7 @@
5719
5719
  "path": ["overlay", "bgColor"]
5720
5720
  },
5721
5721
  "overlay-borderColor": {
5722
- "value": "#88929d80",
5722
+ "value": "#88929d",
5723
5723
  "$type": "color",
5724
5724
  "$extensions": {
5725
5725
  "org.primer.figma": {
@@ -5728,7 +5728,7 @@
5728
5728
  "group": "component (internal)"
5729
5729
  }
5730
5730
  },
5731
- "alpha": 0.5,
5731
+ "alpha": null,
5732
5732
  "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
5733
5733
  "isSource": true,
5734
5734
  "original": {
@@ -5741,7 +5741,7 @@
5741
5741
  "group": "component (internal)"
5742
5742
  }
5743
5743
  },
5744
- "alpha": 0.5
5744
+ "alpha": null
5745
5745
  },
5746
5746
  "name": "overlay-borderColor",
5747
5747
  "attributes": {},
@@ -6024,7 +6024,7 @@
6024
6024
  "path": ["underlineNav", "iconColor", "rest"]
6025
6025
  },
6026
6026
  "selection-bgColor": {
6027
- "value": "#023b951a",
6027
+ "value": "#0349b433",
6028
6028
  "$type": "color",
6029
6029
  "$extensions": {
6030
6030
  "org.primer.figma": {
@@ -6034,11 +6034,11 @@
6034
6034
  "scopes": ["bgColor"]
6035
6035
  }
6036
6036
  },
6037
- "alpha": 0.1,
6037
+ "alpha": 0.2,
6038
6038
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
6039
6039
  "isSource": true,
6040
6040
  "original": {
6041
- "value": "{fgColor.link.@}",
6041
+ "value": "{bgColor.accent.emphasis}",
6042
6042
  "$type": "color",
6043
6043
  "$extensions": {
6044
6044
  "org.primer.figma": {
@@ -6048,7 +6048,7 @@
6048
6048
  "scopes": ["bgColor"]
6049
6049
  }
6050
6050
  },
6051
- "alpha": 0.1
6051
+ "alpha": 0.2
6052
6052
  },
6053
6053
  "name": "selection-bgColor",
6054
6054
  "attributes": {},
@@ -6161,6 +6161,35 @@
6161
6161
  "attributes": {},
6162
6162
  "path": ["fgColor", "onEmphasis"]
6163
6163
  },
6164
+ "fgColor-white": {
6165
+ "value": "#ffffff",
6166
+ "$type": "color",
6167
+ "$extensions": {
6168
+ "org.primer.figma": {
6169
+ "collection": "mode",
6170
+ "mode": "light",
6171
+ "group": "semantic",
6172
+ "scopes": ["fgColor"]
6173
+ }
6174
+ },
6175
+ "filePath": "src/tokens/functional/color/light/primitives-light.json5",
6176
+ "isSource": true,
6177
+ "original": {
6178
+ "value": "#ffffff",
6179
+ "$type": "color",
6180
+ "$extensions": {
6181
+ "org.primer.figma": {
6182
+ "collection": "mode",
6183
+ "mode": "light",
6184
+ "group": "semantic",
6185
+ "scopes": ["fgColor"]
6186
+ }
6187
+ }
6188
+ },
6189
+ "name": "fgColor-white",
6190
+ "attributes": {},
6191
+ "path": ["fgColor", "white"]
6192
+ },
6164
6193
  "fgColor-disabled": {
6165
6194
  "value": "#66707b",
6166
6195
  "$type": "color",
@@ -11392,5 +11421,35 @@
11392
11421
  "name": "shadow-floating-xlarge",
11393
11422
  "attributes": {},
11394
11423
  "path": ["shadow", "floating", "xlarge"]
11424
+ },
11425
+ "shadow-floating-legacy": {
11426
+ "value": "0px 6px 12px -3px #343b430a, 0px 6px 18px 0px #343b431f",
11427
+ "$type": "shadow",
11428
+ "filePath": "src/tokens/functional/shadow/light.json5",
11429
+ "isSource": true,
11430
+ "original": {
11431
+ "value": [
11432
+ {
11433
+ "color": "{base.color.gray.7}",
11434
+ "alpha": 0.04,
11435
+ "offsetX": "0px",
11436
+ "offsetY": "6px",
11437
+ "blur": "12px",
11438
+ "spread": "-3px"
11439
+ },
11440
+ {
11441
+ "color": "{base.color.gray.7}",
11442
+ "alpha": 0.12,
11443
+ "offsetX": "0px",
11444
+ "offsetY": "6px",
11445
+ "blur": "18px",
11446
+ "spread": "0px"
11447
+ }
11448
+ ],
11449
+ "$type": "shadow"
11450
+ },
11451
+ "name": "shadow-floating-legacy",
11452
+ "attributes": {},
11453
+ "path": ["shadow", "floating", "legacy"]
11395
11454
  }
11396
11455
  }
@@ -3557,7 +3557,7 @@
3557
3557
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3558
3558
  "isSource": true,
3559
3559
  "original": {
3560
- "value": "{base.color.white}",
3560
+ "value": "{fgColor.white}",
3561
3561
  "$type": "color",
3562
3562
  "$extensions": {
3563
3563
  "org.primer.figma": {
@@ -3618,7 +3618,7 @@
3618
3618
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
3619
3619
  "isSource": true,
3620
3620
  "original": {
3621
- "value": "{base.color.white}",
3621
+ "value": "{fgColor.white}",
3622
3622
  "$type": "color",
3623
3623
  "$extensions": {
3624
3624
  "org.primer.figma": {
@@ -5071,7 +5071,7 @@
5071
5071
  "attributes": {},
5072
5072
  "path": ["button", "danger", "shadow", "selected"]
5073
5073
  },
5074
- "button-inactive-fgColor-rest": {
5074
+ "button-inactive-fgColor": {
5075
5075
  "value": "#57606a",
5076
5076
  "$type": "color",
5077
5077
  "$extensions": {
@@ -5096,11 +5096,11 @@
5096
5096
  }
5097
5097
  }
5098
5098
  },
5099
- "name": "button-inactive-fgColor-rest",
5099
+ "name": "button-inactive-fgColor",
5100
5100
  "attributes": {},
5101
- "path": ["button", "inactive", "fgColor", "rest"]
5101
+ "path": ["button", "inactive", "fgColor"]
5102
5102
  },
5103
- "button-inactive-bgColor-rest": {
5103
+ "button-inactive-bgColor": {
5104
5104
  "value": "#eaeef2",
5105
5105
  "$type": "color",
5106
5106
  "$extensions": {
@@ -5125,9 +5125,9 @@
5125
5125
  }
5126
5126
  }
5127
5127
  },
5128
- "name": "button-inactive-bgColor-rest",
5128
+ "name": "button-inactive-bgColor",
5129
5129
  "attributes": {},
5130
- "path": ["button", "inactive", "bgColor", "rest"]
5130
+ "path": ["button", "inactive", "bgColor"]
5131
5131
  },
5132
5132
  "buttonCounter-default-bgColor-rest": {
5133
5133
  "value": "#afb8c133",
@@ -6000,7 +6000,7 @@
6000
6000
  "path": ["underlineNav", "iconColor", "rest"]
6001
6001
  },
6002
6002
  "selection-bgColor": {
6003
- "value": "#0969da1a",
6003
+ "value": "#0969da33",
6004
6004
  "$type": "color",
6005
6005
  "$extensions": {
6006
6006
  "org.primer.figma": {
@@ -6010,11 +6010,11 @@
6010
6010
  "scopes": ["bgColor"]
6011
6011
  }
6012
6012
  },
6013
- "alpha": 0.1,
6013
+ "alpha": 0.2,
6014
6014
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
6015
6015
  "isSource": true,
6016
6016
  "original": {
6017
- "value": "{fgColor.link.@}",
6017
+ "value": "{bgColor.accent.emphasis}",
6018
6018
  "$type": "color",
6019
6019
  "$extensions": {
6020
6020
  "org.primer.figma": {
@@ -6024,7 +6024,7 @@
6024
6024
  "scopes": ["bgColor"]
6025
6025
  }
6026
6026
  },
6027
- "alpha": 0.1
6027
+ "alpha": 0.2
6028
6028
  },
6029
6029
  "name": "selection-bgColor",
6030
6030
  "attributes": {},
@@ -6143,6 +6143,35 @@
6143
6143
  "attributes": {},
6144
6144
  "path": ["fgColor", "onEmphasis"]
6145
6145
  },
6146
+ "fgColor-white": {
6147
+ "value": "#ffffff",
6148
+ "$type": "color",
6149
+ "$extensions": {
6150
+ "org.primer.figma": {
6151
+ "collection": "mode",
6152
+ "mode": "light",
6153
+ "group": "semantic",
6154
+ "scopes": ["fgColor"]
6155
+ }
6156
+ },
6157
+ "filePath": "src/tokens/functional/color/light/primitives-light.json5",
6158
+ "isSource": true,
6159
+ "original": {
6160
+ "value": "#ffffff",
6161
+ "$type": "color",
6162
+ "$extensions": {
6163
+ "org.primer.figma": {
6164
+ "collection": "mode",
6165
+ "mode": "light",
6166
+ "group": "semantic",
6167
+ "scopes": ["fgColor"]
6168
+ }
6169
+ }
6170
+ },
6171
+ "name": "fgColor-white",
6172
+ "attributes": {},
6173
+ "path": ["fgColor", "white"]
6174
+ },
6146
6175
  "fgColor-disabled": {
6147
6176
  "value": "#8c959f",
6148
6177
  "$type": "color",
@@ -11382,5 +11411,35 @@
11382
11411
  "name": "shadow-floating-xlarge",
11383
11412
  "attributes": {},
11384
11413
  "path": ["shadow", "floating", "xlarge"]
11414
+ },
11415
+ "shadow-floating-legacy": {
11416
+ "value": "0px 6px 12px -3px #424a530a, 0px 6px 18px 0px #424a531f",
11417
+ "$type": "shadow",
11418
+ "filePath": "src/tokens/functional/shadow/light.json5",
11419
+ "isSource": true,
11420
+ "original": {
11421
+ "value": [
11422
+ {
11423
+ "color": "{base.color.gray.7}",
11424
+ "alpha": 0.04,
11425
+ "offsetX": "0px",
11426
+ "offsetY": "6px",
11427
+ "blur": "12px",
11428
+ "spread": "-3px"
11429
+ },
11430
+ {
11431
+ "color": "{base.color.gray.7}",
11432
+ "alpha": 0.12,
11433
+ "offsetX": "0px",
11434
+ "offsetY": "6px",
11435
+ "blur": "18px",
11436
+ "spread": "0px"
11437
+ }
11438
+ ],
11439
+ "$type": "shadow"
11440
+ },
11441
+ "name": "shadow-floating-legacy",
11442
+ "attributes": {},
11443
+ "path": ["shadow", "floating", "legacy"]
11385
11444
  }
11386
11445
  }