@primer/primitives 7.12.0-rc.f16a928 → 7.12.0

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 (90) hide show
  1. package/README.md +21 -0
  2. package/package.json +1 -1
  3. package/tokens-next-private/css/functional/size/size.css +6 -0
  4. package/tokens-next-private/css/functional/themes/dark-colorblind.css +2 -0
  5. package/tokens-next-private/css/functional/themes/dark-dimmed.css +2 -0
  6. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +2 -0
  7. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +2 -0
  8. package/tokens-next-private/css/functional/themes/dark.css +2 -0
  9. package/tokens-next-private/css/functional/themes/light-colorblind.css +2 -0
  10. package/tokens-next-private/css/functional/themes/light-high-contrast.css +2 -0
  11. package/tokens-next-private/css/functional/themes/light-tritanopia.css +2 -0
  12. package/tokens-next-private/css/functional/themes/light.css +2 -0
  13. package/tokens-next-private/docs/functional/size/size.json +161 -11
  14. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +28 -1
  15. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +28 -1
  16. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +28 -1
  17. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +28 -1
  18. package/tokens-next-private/docs/functional/themes/dark.json +28 -1
  19. package/tokens-next-private/docs/functional/themes/light-colorblind.json +27 -0
  20. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +27 -0
  21. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +27 -0
  22. package/tokens-next-private/docs/functional/themes/light.json +27 -0
  23. package/tokens-next-private/fallbacks/color-fallbacks.json +1 -0
  24. package/tokens-next-private/fallbacks/functional/size/size.json +6 -0
  25. package/tokens-next-private/figma/dimension/dimension.json +70 -12
  26. package/tokens-next-private/figma/themes/dark.json +83 -68
  27. package/tokens-next-private/figma/themes/light.json +83 -68
  28. package/tokens-next-private/scss/functional/size/size.scss +6 -0
  29. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +1 -0
  30. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +1 -0
  31. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +1 -0
  32. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +1 -0
  33. package/tokens-next-private/scss/functional/themes/dark.scss +1 -0
  34. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +1 -0
  35. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +1 -0
  36. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +1 -0
  37. package/tokens-next-private/scss/functional/themes/light.scss +1 -0
  38. package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
  39. package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
  40. package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
  41. package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
  42. package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
  43. package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
  44. package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
  45. package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
  46. package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
  47. package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
  48. package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
  49. package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
  50. package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
  51. package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
  52. package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
  53. package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
  54. package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
  55. package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
  56. package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
  57. package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
  58. package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
  59. package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
  60. package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
  61. package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
  62. package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
  63. package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
  64. package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
  65. package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
  66. package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
  67. package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
  68. package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
  69. package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
  70. package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
  71. package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
  72. package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
  73. package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
  74. package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
  75. package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
  76. package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
  77. package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
  78. package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
  79. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  80. package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
  81. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  82. package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
  83. package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
  84. package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
  85. package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
  86. package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
  87. package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
  88. package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
  89. package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
  90. package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
package/README.md CHANGED
@@ -194,6 +194,27 @@ Code example
194
194
  }
195
195
  ```
196
196
 
197
+ #### Token names and @-hack
198
+
199
+ Token names have to be in camelCase or kebab-case and may only include letters, numbers and `-`. This is enforced by the token validation (`npm run lint:tokens`).
200
+ The only acception is the `@`-hack. This is used when you want to have a default value and sub-values, e.g. `bgColor.accent` and `bgColor.accent.muted`.
201
+ In this case you can create the follwing structure. The `@` will be removed from the name and act as the default value.
202
+
203
+ ```js
204
+ {
205
+ bgColor: {
206
+ accent: {
207
+ "@": {
208
+ // default values
209
+ },
210
+ "muted": {
211
+ // values for accent-muted
212
+ }
213
+ }
214
+ }
215
+ }
216
+ ```
217
+
197
218
  ## License
198
219
 
199
220
  [MIT](./LICENSE) © [GitHub](https://github.com/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.12.0-rc.f16a928",
3
+ "version": "7.12.0",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -40,6 +40,12 @@
40
40
  --controlStack-large-gap-auto: 0.5rem;
41
41
  --controlStack-large-gap-condensed: 0.5rem;
42
42
  --controlStack-large-gap-spacious: 0.75rem;
43
+ --space-xxsmall: 0.125rem;
44
+ --space-xsmall: 0.25rem;
45
+ --space-small: 0.375rem;
46
+ --space-medium: 0.5rem;
47
+ --space-large: 0.75rem;
48
+ --space-xlarge: 1rem;
43
49
  --stack-padding-condensed: 0.5rem;
44
50
  --stack-padding-normal: 1rem;
45
51
  --stack-padding-spacious: 1.5rem;
@@ -200,6 +200,7 @@
200
200
  --fgColor-sponsors: #db61a2;
201
201
  --bgColor-default: #0d1117;
202
202
  --bgColor-muted: #161b22;
203
+ --bgColor-inset: #010409;
203
204
  --bgColor-emphasis: #6e7681;
204
205
  --bgColor-disabled: #161b22;
205
206
  --bgColor-transparent: #00000000;
@@ -601,6 +602,7 @@
601
602
  --fgColor-sponsors: #db61a2;
602
603
  --bgColor-default: #0d1117;
603
604
  --bgColor-muted: #161b22;
605
+ --bgColor-inset: #010409;
604
606
  --bgColor-emphasis: #6e7681;
605
607
  --bgColor-disabled: #161b22;
606
608
  --bgColor-transparent: #00000000;
@@ -200,6 +200,7 @@
200
200
  --fgColor-sponsors: #c96198;
201
201
  --bgColor-default: #22272e;
202
202
  --bgColor-muted: #2d333b;
203
+ --bgColor-inset: #1c2128;
203
204
  --bgColor-emphasis: #636e7b;
204
205
  --bgColor-disabled: #2d333b;
205
206
  --bgColor-transparent: #00000000;
@@ -601,6 +602,7 @@
601
602
  --fgColor-sponsors: #c96198;
602
603
  --bgColor-default: #22272e;
603
604
  --bgColor-muted: #2d333b;
605
+ --bgColor-inset: #1c2128;
604
606
  --bgColor-emphasis: #636e7b;
605
607
  --bgColor-disabled: #2d333b;
606
608
  --bgColor-transparent: #00000000;
@@ -200,6 +200,7 @@
200
200
  --fgColor-sponsors: #ef6eb1;
201
201
  --bgColor-default: #0a0c10;
202
202
  --bgColor-muted: #272b33;
203
+ --bgColor-inset: #010409;
203
204
  --bgColor-emphasis: #ffffff;
204
205
  --bgColor-disabled: #272b33;
205
206
  --bgColor-transparent: #00000000;
@@ -601,6 +602,7 @@
601
602
  --fgColor-sponsors: #ef6eb1;
602
603
  --bgColor-default: #0a0c10;
603
604
  --bgColor-muted: #272b33;
605
+ --bgColor-inset: #010409;
604
606
  --bgColor-emphasis: #ffffff;
605
607
  --bgColor-disabled: #272b33;
606
608
  --bgColor-transparent: #00000000;
@@ -200,6 +200,7 @@
200
200
  --fgColor-sponsors: #db61a2;
201
201
  --bgColor-default: #0d1117;
202
202
  --bgColor-muted: #161b22;
203
+ --bgColor-inset: #010409;
203
204
  --bgColor-emphasis: #6e7681;
204
205
  --bgColor-disabled: #161b22;
205
206
  --bgColor-transparent: #00000000;
@@ -601,6 +602,7 @@
601
602
  --fgColor-sponsors: #db61a2;
602
603
  --bgColor-default: #0d1117;
603
604
  --bgColor-muted: #161b22;
605
+ --bgColor-inset: #010409;
604
606
  --bgColor-emphasis: #6e7681;
605
607
  --bgColor-disabled: #161b22;
606
608
  --bgColor-transparent: #00000000;
@@ -200,6 +200,7 @@
200
200
  --fgColor-sponsors: #db61a2;
201
201
  --bgColor-default: #0d1117;
202
202
  --bgColor-muted: #161b22;
203
+ --bgColor-inset: #010409;
203
204
  --bgColor-emphasis: #6e7681;
204
205
  --bgColor-disabled: #161b22;
205
206
  --bgColor-transparent: #00000000;
@@ -601,6 +602,7 @@
601
602
  --fgColor-sponsors: #db61a2;
602
603
  --bgColor-default: #0d1117;
603
604
  --bgColor-muted: #161b22;
605
+ --bgColor-inset: #010409;
604
606
  --bgColor-emphasis: #6e7681;
605
607
  --bgColor-disabled: #161b22;
606
608
  --bgColor-transparent: #00000000;
@@ -201,6 +201,7 @@
201
201
  --fgColor-sponsors: #bf3989;
202
202
  --bgColor-default: #ffffff;
203
203
  --bgColor-muted: #f6f8fa;
204
+ --bgColor-inset: #f6f8fa;
204
205
  --bgColor-emphasis: #24292f;
205
206
  --bgColor-disabled: #f6f8fa;
206
207
  --bgColor-transparent: #ffffff00;
@@ -602,6 +603,7 @@
602
603
  --fgColor-sponsors: #bf3989;
603
604
  --bgColor-default: #ffffff;
604
605
  --bgColor-muted: #f6f8fa;
606
+ --bgColor-inset: #f6f8fa;
605
607
  --bgColor-emphasis: #24292f;
606
608
  --bgColor-disabled: #f6f8fa;
607
609
  --bgColor-transparent: #ffffff00;
@@ -201,6 +201,7 @@
201
201
  --fgColor-sponsors: #971368;
202
202
  --bgColor-default: #ffffff;
203
203
  --bgColor-muted: #e7ecf0;
204
+ --bgColor-inset: #ffffff;
204
205
  --bgColor-emphasis: #0e1116;
205
206
  --bgColor-disabled: #e7ecf0;
206
207
  --bgColor-transparent: #ffffff00;
@@ -602,6 +603,7 @@
602
603
  --fgColor-sponsors: #971368;
603
604
  --bgColor-default: #ffffff;
604
605
  --bgColor-muted: #e7ecf0;
606
+ --bgColor-inset: #ffffff;
605
607
  --bgColor-emphasis: #0e1116;
606
608
  --bgColor-disabled: #e7ecf0;
607
609
  --bgColor-transparent: #ffffff00;
@@ -201,6 +201,7 @@
201
201
  --fgColor-sponsors: #bf3989;
202
202
  --bgColor-default: #ffffff;
203
203
  --bgColor-muted: #f6f8fa;
204
+ --bgColor-inset: #f6f8fa;
204
205
  --bgColor-emphasis: #24292f;
205
206
  --bgColor-disabled: #f6f8fa;
206
207
  --bgColor-transparent: #ffffff00;
@@ -602,6 +603,7 @@
602
603
  --fgColor-sponsors: #bf3989;
603
604
  --bgColor-default: #ffffff;
604
605
  --bgColor-muted: #f6f8fa;
606
+ --bgColor-inset: #f6f8fa;
605
607
  --bgColor-emphasis: #24292f;
606
608
  --bgColor-disabled: #f6f8fa;
607
609
  --bgColor-transparent: #ffffff00;
@@ -201,6 +201,7 @@
201
201
  --fgColor-sponsors: #bf3989;
202
202
  --bgColor-default: #ffffff;
203
203
  --bgColor-muted: #f6f8fa;
204
+ --bgColor-inset: #f6f8fa;
204
205
  --bgColor-emphasis: #24292f;
205
206
  --bgColor-disabled: #f6f8fa;
206
207
  --bgColor-transparent: #ffffff00;
@@ -602,6 +603,7 @@
602
603
  --fgColor-sponsors: #bf3989;
603
604
  --bgColor-default: #ffffff;
604
605
  --bgColor-muted: #f6f8fa;
606
+ --bgColor-inset: #f6f8fa;
605
607
  --bgColor-emphasis: #24292f;
606
608
  --bgColor-disabled: #f6f8fa;
607
609
  --bgColor-transparent: #ffffff00;
@@ -1024,7 +1024,82 @@
1024
1024
  "attributes": {},
1025
1025
  "path": ["controlStack", "large", "gap", "spacious"]
1026
1026
  },
1027
- "stack-padding-condensed": {
1027
+ "space-xxsmall": {
1028
+ "value": "0.125rem",
1029
+ "$type": "dimension",
1030
+ "$extensions": {
1031
+ "org.primer.figma": {
1032
+ "collection": "functional/size",
1033
+ "scopes": ["gap"]
1034
+ }
1035
+ },
1036
+ "filePath": "src/tokens/functional/size/size.json",
1037
+ "isSource": true,
1038
+ "original": {
1039
+ "value": "2px",
1040
+ "$type": "dimension",
1041
+ "$extensions": {
1042
+ "org.primer.figma": {
1043
+ "collection": "functional/size",
1044
+ "scopes": ["gap"]
1045
+ }
1046
+ }
1047
+ },
1048
+ "name": "space-xxsmall",
1049
+ "attributes": {},
1050
+ "path": ["space", "xxsmall"]
1051
+ },
1052
+ "space-xsmall": {
1053
+ "value": "0.25rem",
1054
+ "$type": "dimension",
1055
+ "$extensions": {
1056
+ "org.primer.figma": {
1057
+ "collection": "functional/size",
1058
+ "scopes": ["gap"]
1059
+ }
1060
+ },
1061
+ "filePath": "src/tokens/functional/size/size.json",
1062
+ "isSource": true,
1063
+ "original": {
1064
+ "value": "{base.size.4}",
1065
+ "$type": "dimension",
1066
+ "$extensions": {
1067
+ "org.primer.figma": {
1068
+ "collection": "functional/size",
1069
+ "scopes": ["gap"]
1070
+ }
1071
+ }
1072
+ },
1073
+ "name": "space-xsmall",
1074
+ "attributes": {},
1075
+ "path": ["space", "xsmall"]
1076
+ },
1077
+ "space-small": {
1078
+ "value": "0.375rem",
1079
+ "$type": "dimension",
1080
+ "$extensions": {
1081
+ "org.primer.figma": {
1082
+ "collection": "functional/size",
1083
+ "scopes": ["gap"]
1084
+ }
1085
+ },
1086
+ "filePath": "src/tokens/functional/size/size.json",
1087
+ "isSource": true,
1088
+ "original": {
1089
+ "value": "6px",
1090
+ "$type": "dimension",
1091
+ "$extensions": {
1092
+ "org.primer.figma": {
1093
+ "collection": "functional/size",
1094
+ "scopes": ["gap"]
1095
+ }
1096
+ }
1097
+ },
1098
+ "name": "space-small",
1099
+ "attributes": {},
1100
+ "path": ["space", "small"]
1101
+ },
1102
+ "space-medium": {
1028
1103
  "value": "0.5rem",
1029
1104
  "$type": "dimension",
1030
1105
  "$extensions": {
@@ -1045,6 +1120,81 @@
1045
1120
  }
1046
1121
  }
1047
1122
  },
1123
+ "name": "space-medium",
1124
+ "attributes": {},
1125
+ "path": ["space", "medium"]
1126
+ },
1127
+ "space-large": {
1128
+ "value": "0.75rem",
1129
+ "$type": "dimension",
1130
+ "$extensions": {
1131
+ "org.primer.figma": {
1132
+ "collection": "functional/size",
1133
+ "scopes": ["gap"]
1134
+ }
1135
+ },
1136
+ "filePath": "src/tokens/functional/size/size.json",
1137
+ "isSource": true,
1138
+ "original": {
1139
+ "value": "{base.size.12}",
1140
+ "$type": "dimension",
1141
+ "$extensions": {
1142
+ "org.primer.figma": {
1143
+ "collection": "functional/size",
1144
+ "scopes": ["gap"]
1145
+ }
1146
+ }
1147
+ },
1148
+ "name": "space-large",
1149
+ "attributes": {},
1150
+ "path": ["space", "large"]
1151
+ },
1152
+ "space-xlarge": {
1153
+ "value": "1rem",
1154
+ "$type": "dimension",
1155
+ "$extensions": {
1156
+ "org.primer.figma": {
1157
+ "collection": "functional/size",
1158
+ "scopes": ["gap"]
1159
+ }
1160
+ },
1161
+ "filePath": "src/tokens/functional/size/size.json",
1162
+ "isSource": true,
1163
+ "original": {
1164
+ "value": "{base.size.16}",
1165
+ "$type": "dimension",
1166
+ "$extensions": {
1167
+ "org.primer.figma": {
1168
+ "collection": "functional/size",
1169
+ "scopes": ["gap"]
1170
+ }
1171
+ }
1172
+ },
1173
+ "name": "space-xlarge",
1174
+ "attributes": {},
1175
+ "path": ["space", "xlarge"]
1176
+ },
1177
+ "stack-padding-condensed": {
1178
+ "value": "0.5rem",
1179
+ "$type": "dimension",
1180
+ "$extensions": {
1181
+ "org.primer.figma": {
1182
+ "collection": "pattern/size",
1183
+ "scopes": ["gap"]
1184
+ }
1185
+ },
1186
+ "filePath": "src/tokens/functional/size/size.json",
1187
+ "isSource": true,
1188
+ "original": {
1189
+ "value": "{base.size.8}",
1190
+ "$type": "dimension",
1191
+ "$extensions": {
1192
+ "org.primer.figma": {
1193
+ "collection": "pattern/size",
1194
+ "scopes": ["gap"]
1195
+ }
1196
+ }
1197
+ },
1048
1198
  "name": "stack-padding-condensed",
1049
1199
  "attributes": {},
1050
1200
  "path": ["stack", "padding", "condensed"]
@@ -1054,7 +1204,7 @@
1054
1204
  "$type": "dimension",
1055
1205
  "$extensions": {
1056
1206
  "org.primer.figma": {
1057
- "collection": "functional/size",
1207
+ "collection": "pattern/size",
1058
1208
  "scopes": ["gap"]
1059
1209
  }
1060
1210
  },
@@ -1065,7 +1215,7 @@
1065
1215
  "$type": "dimension",
1066
1216
  "$extensions": {
1067
1217
  "org.primer.figma": {
1068
- "collection": "functional/size",
1218
+ "collection": "pattern/size",
1069
1219
  "scopes": ["gap"]
1070
1220
  }
1071
1221
  }
@@ -1079,7 +1229,7 @@
1079
1229
  "$type": "dimension",
1080
1230
  "$extensions": {
1081
1231
  "org.primer.figma": {
1082
- "collection": "functional/size",
1232
+ "collection": "pattern/size",
1083
1233
  "scopes": ["gap"]
1084
1234
  }
1085
1235
  },
@@ -1090,7 +1240,7 @@
1090
1240
  "$type": "dimension",
1091
1241
  "$extensions": {
1092
1242
  "org.primer.figma": {
1093
- "collection": "functional/size",
1243
+ "collection": "pattern/size",
1094
1244
  "scopes": ["gap"]
1095
1245
  }
1096
1246
  }
@@ -1104,7 +1254,7 @@
1104
1254
  "$type": "dimension",
1105
1255
  "$extensions": {
1106
1256
  "org.primer.figma": {
1107
- "collection": "functional/size",
1257
+ "collection": "pattern/size",
1108
1258
  "scopes": ["gap"]
1109
1259
  }
1110
1260
  },
@@ -1115,7 +1265,7 @@
1115
1265
  "$type": "dimension",
1116
1266
  "$extensions": {
1117
1267
  "org.primer.figma": {
1118
- "collection": "functional/size",
1268
+ "collection": "pattern/size",
1119
1269
  "scopes": ["gap"]
1120
1270
  }
1121
1271
  }
@@ -1129,7 +1279,7 @@
1129
1279
  "$type": "dimension",
1130
1280
  "$extensions": {
1131
1281
  "org.primer.figma": {
1132
- "collection": "functional/size",
1282
+ "collection": "pattern/size",
1133
1283
  "scopes": ["gap"]
1134
1284
  }
1135
1285
  },
@@ -1140,7 +1290,7 @@
1140
1290
  "$type": "dimension",
1141
1291
  "$extensions": {
1142
1292
  "org.primer.figma": {
1143
- "collection": "functional/size",
1293
+ "collection": "pattern/size",
1144
1294
  "scopes": ["gap"]
1145
1295
  }
1146
1296
  }
@@ -1154,7 +1304,7 @@
1154
1304
  "$type": "dimension",
1155
1305
  "$extensions": {
1156
1306
  "org.primer.figma": {
1157
- "collection": "functional/size",
1307
+ "collection": "pattern/size",
1158
1308
  "scopes": ["gap"]
1159
1309
  }
1160
1310
  },
@@ -1165,7 +1315,7 @@
1165
1315
  "$type": "dimension",
1166
1316
  "$extensions": {
1167
1317
  "org.primer.figma": {
1168
- "collection": "functional/size",
1318
+ "collection": "pattern/size",
1169
1319
  "scopes": ["gap"]
1170
1320
  }
1171
1321
  }
@@ -5249,7 +5249,7 @@
5249
5249
  },
5250
5250
  "name": "fgColor-link",
5251
5251
  "attributes": {},
5252
- "path": ["fgColor", "link"]
5252
+ "path": ["fgColor", "link", "@"]
5253
5253
  },
5254
5254
  "fgColor-accent": {
5255
5255
  "value": "#2f81f7",
@@ -5556,6 +5556,33 @@
5556
5556
  "attributes": {},
5557
5557
  "path": ["bgColor", "muted"]
5558
5558
  },
5559
+ "bgColor-inset": {
5560
+ "value": "#010409",
5561
+ "$type": "color",
5562
+ "$extensions": {
5563
+ "org.primer.figma": {
5564
+ "collection": "mode",
5565
+ "mode": "dark",
5566
+ "scopes": ["bgColor"]
5567
+ }
5568
+ },
5569
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
5570
+ "isSource": true,
5571
+ "original": {
5572
+ "value": "{base.color.black}",
5573
+ "$type": "color",
5574
+ "$extensions": {
5575
+ "org.primer.figma": {
5576
+ "collection": "mode",
5577
+ "mode": "dark",
5578
+ "scopes": ["bgColor"]
5579
+ }
5580
+ }
5581
+ },
5582
+ "name": "bgColor-inset",
5583
+ "attributes": {},
5584
+ "path": ["bgColor", "inset"]
5585
+ },
5559
5586
  "bgColor-emphasis": {
5560
5587
  "value": "#6e7681",
5561
5588
  "$type": "color",
@@ -5255,7 +5255,7 @@
5255
5255
  },
5256
5256
  "name": "fgColor-link",
5257
5257
  "attributes": {},
5258
- "path": ["fgColor", "link"]
5258
+ "path": ["fgColor", "link", "@"]
5259
5259
  },
5260
5260
  "fgColor-accent": {
5261
5261
  "value": "#3b7cdb",
@@ -5562,6 +5562,33 @@
5562
5562
  "attributes": {},
5563
5563
  "path": ["bgColor", "muted"]
5564
5564
  },
5565
+ "bgColor-inset": {
5566
+ "value": "#1c2128",
5567
+ "$type": "color",
5568
+ "$extensions": {
5569
+ "org.primer.figma": {
5570
+ "collection": "mode",
5571
+ "mode": "dark",
5572
+ "scopes": ["bgColor"]
5573
+ }
5574
+ },
5575
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
5576
+ "isSource": true,
5577
+ "original": {
5578
+ "value": "{base.color.black}",
5579
+ "$type": "color",
5580
+ "$extensions": {
5581
+ "org.primer.figma": {
5582
+ "collection": "mode",
5583
+ "mode": "dark",
5584
+ "scopes": ["bgColor"]
5585
+ }
5586
+ }
5587
+ },
5588
+ "name": "bgColor-inset",
5589
+ "attributes": {},
5590
+ "path": ["bgColor", "inset"]
5591
+ },
5565
5592
  "bgColor-emphasis": {
5566
5593
  "value": "#636e7b",
5567
5594
  "$type": "color",
@@ -5263,7 +5263,7 @@
5263
5263
  },
5264
5264
  "name": "fgColor-link",
5265
5265
  "attributes": {},
5266
- "path": ["fgColor", "link"]
5266
+ "path": ["fgColor", "link", "@"]
5267
5267
  },
5268
5268
  "fgColor-accent": {
5269
5269
  "value": "#409eff",
@@ -5570,6 +5570,33 @@
5570
5570
  "attributes": {},
5571
5571
  "path": ["bgColor", "muted"]
5572
5572
  },
5573
+ "bgColor-inset": {
5574
+ "value": "#010409",
5575
+ "$type": "color",
5576
+ "$extensions": {
5577
+ "org.primer.figma": {
5578
+ "collection": "mode",
5579
+ "mode": "dark",
5580
+ "scopes": ["bgColor"]
5581
+ }
5582
+ },
5583
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
5584
+ "isSource": true,
5585
+ "original": {
5586
+ "value": "{base.color.black}",
5587
+ "$type": "color",
5588
+ "$extensions": {
5589
+ "org.primer.figma": {
5590
+ "collection": "mode",
5591
+ "mode": "dark",
5592
+ "scopes": ["bgColor"]
5593
+ }
5594
+ }
5595
+ },
5596
+ "name": "bgColor-inset",
5597
+ "attributes": {},
5598
+ "path": ["bgColor", "inset"]
5599
+ },
5573
5600
  "bgColor-emphasis": {
5574
5601
  "value": "#ffffff",
5575
5602
  "$type": "color",
@@ -5255,7 +5255,7 @@
5255
5255
  },
5256
5256
  "name": "fgColor-link",
5257
5257
  "attributes": {},
5258
- "path": ["fgColor", "link"]
5258
+ "path": ["fgColor", "link", "@"]
5259
5259
  },
5260
5260
  "fgColor-accent": {
5261
5261
  "value": "#2f81f7",
@@ -5562,6 +5562,33 @@
5562
5562
  "attributes": {},
5563
5563
  "path": ["bgColor", "muted"]
5564
5564
  },
5565
+ "bgColor-inset": {
5566
+ "value": "#010409",
5567
+ "$type": "color",
5568
+ "$extensions": {
5569
+ "org.primer.figma": {
5570
+ "collection": "mode",
5571
+ "mode": "dark",
5572
+ "scopes": ["bgColor"]
5573
+ }
5574
+ },
5575
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
5576
+ "isSource": true,
5577
+ "original": {
5578
+ "value": "{base.color.black}",
5579
+ "$type": "color",
5580
+ "$extensions": {
5581
+ "org.primer.figma": {
5582
+ "collection": "mode",
5583
+ "mode": "dark",
5584
+ "scopes": ["bgColor"]
5585
+ }
5586
+ }
5587
+ },
5588
+ "name": "bgColor-inset",
5589
+ "attributes": {},
5590
+ "path": ["bgColor", "inset"]
5591
+ },
5565
5592
  "bgColor-emphasis": {
5566
5593
  "value": "#6e7681",
5567
5594
  "$type": "color",
@@ -5255,7 +5255,7 @@
5255
5255
  },
5256
5256
  "name": "fgColor-link",
5257
5257
  "attributes": {},
5258
- "path": ["fgColor", "link"]
5258
+ "path": ["fgColor", "link", "@"]
5259
5259
  },
5260
5260
  "fgColor-accent": {
5261
5261
  "value": "#2f81f7",
@@ -5562,6 +5562,33 @@
5562
5562
  "attributes": {},
5563
5563
  "path": ["bgColor", "muted"]
5564
5564
  },
5565
+ "bgColor-inset": {
5566
+ "value": "#010409",
5567
+ "$type": "color",
5568
+ "$extensions": {
5569
+ "org.primer.figma": {
5570
+ "collection": "mode",
5571
+ "mode": "dark",
5572
+ "scopes": ["bgColor"]
5573
+ }
5574
+ },
5575
+ "filePath": "src/tokens/functional/color/dark/primitives-dark.json5",
5576
+ "isSource": true,
5577
+ "original": {
5578
+ "value": "{base.color.black}",
5579
+ "$type": "color",
5580
+ "$extensions": {
5581
+ "org.primer.figma": {
5582
+ "collection": "mode",
5583
+ "mode": "dark",
5584
+ "scopes": ["bgColor"]
5585
+ }
5586
+ }
5587
+ },
5588
+ "name": "bgColor-inset",
5589
+ "attributes": {},
5590
+ "path": ["bgColor", "inset"]
5591
+ },
5565
5592
  "bgColor-emphasis": {
5566
5593
  "value": "#6e7681",
5567
5594
  "$type": "color",