@primer/primitives 7.11.15-rc.ff1db9b → 7.12.0-rc.16225d5

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/README.md +26 -0
  2. package/package.json +3 -2
  3. package/tokens-next-private/css/functional/themes/dark-colorblind.css +2 -2
  4. package/tokens-next-private/css/functional/themes/dark-dimmed.css +2 -2
  5. package/tokens-next-private/css/functional/themes/dark-high-contrast.css +2 -2
  6. package/tokens-next-private/css/functional/themes/dark-tritanopia.css +2 -2
  7. package/tokens-next-private/css/functional/themes/dark.css +2 -2
  8. package/tokens-next-private/css/functional/themes/light-colorblind.css +2 -2
  9. package/tokens-next-private/css/functional/themes/light-high-contrast.css +2 -2
  10. package/tokens-next-private/css/functional/themes/light-tritanopia.css +2 -2
  11. package/tokens-next-private/css/functional/themes/light.css +2 -2
  12. package/tokens-next-private/docs/base/size/size.json +221 -17
  13. package/tokens-next-private/docs/functional/size/border.json +54 -4
  14. package/tokens-next-private/docs/functional/size/breakpoints.json +78 -6
  15. package/tokens-next-private/docs/functional/size/size.json +546 -42
  16. package/tokens-next-private/docs/functional/themes/dark-colorblind.json +4181 -229
  17. package/tokens-next-private/docs/functional/themes/dark-dimmed.json +4182 -230
  18. package/tokens-next-private/docs/functional/themes/dark-high-contrast.json +4176 -224
  19. package/tokens-next-private/docs/functional/themes/dark-tritanopia.json +4181 -229
  20. package/tokens-next-private/docs/functional/themes/dark.json +4182 -230
  21. package/tokens-next-private/docs/functional/themes/light-colorblind.json +4169 -231
  22. package/tokens-next-private/docs/functional/themes/light-high-contrast.json +4175 -237
  23. package/tokens-next-private/docs/functional/themes/light-tritanopia.json +4178 -240
  24. package/tokens-next-private/docs/functional/themes/light.json +4179 -241
  25. package/tokens-next-private/figma/dimension/dimension.json +666 -0
  26. package/tokens-next-private/figma/figma.json +31 -0
  27. package/tokens-next-private/figma/scales/dark.json +1305 -0
  28. package/tokens-next-private/figma/scales/light.json +1305 -0
  29. package/tokens-next-private/figma/themes/dark.json +4400 -0
  30. package/tokens-next-private/figma/themes/light.json +4373 -0
  31. package/tokens-next-private/scss/functional/size/border.scss +1 -1
  32. package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +1 -1
  33. package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +1 -1
  34. package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +1 -1
  35. package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +1 -1
  36. package/tokens-next-private/scss/functional/themes/dark.scss +1 -1
  37. package/tokens-next-private/scss/functional/themes/light-colorblind.scss +1 -1
  38. package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +1 -1
  39. package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +1 -1
  40. package/tokens-next-private/scss/functional/themes/light.scss +1 -1
  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
package/README.md CHANGED
@@ -168,6 +168,32 @@ A `mix` proprty must always have a `color` and a `weight` child. `color` can be
168
168
  }
169
169
  ```
170
170
 
171
+ #### Extensions property
172
+
173
+ According to the [w3c design token specs](https://design-tokens.github.io/community-group/format/#design-token), the [`$extensions`](https://design-tokens.github.io/community-group/format/#extensions) property is used for additional meta data.
174
+
175
+ For our Figma export we use the following meta data:
176
+
177
+ - `collection` the collection that the token is added to within Figma
178
+ - `mode` the mode that the token is added to within the collection in Figma
179
+ - `scopes` the scopes that are assigned to the token in Figma, the actual Figma compatible `scopes` are retreive from an object in the [figmaAttributes transformer](./src/transformers/figmaAttributes.ts)
180
+
181
+ Code example
182
+
183
+ ```js
184
+ bgColor: {
185
+ $value: '{borderColor.accent.muted}',
186
+ $type: 'color',
187
+ $extensions: {
188
+ 'org.primer.figma': {
189
+ collection: 'pattern/mode',
190
+ mode: 'light',
191
+ scopes: ['bgColor'],
192
+ },
193
+ },
194
+ }
195
+ ```
196
+
171
197
  ## License
172
198
 
173
199
  [MIT](./LICENSE) © [GitHub](https://github.com/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.11.15-rc.ff1db9b",
3
+ "version": "7.12.0-rc.16225d5",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": [
6
6
  "dist",
@@ -30,7 +30,8 @@
30
30
  "build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
31
31
  "build:next": "ts-node -r tsconfig-paths/register ./scripts/buildTokens.ts && ts-node ./scripts/buildFallbacks.ts",
32
32
  "build:tokens": "node -e \"require('./build')._init()\"",
33
- "build:new-tokens": "npm run build:tokens && npm run build:next",
33
+ "build:figma": "ts-node scripts/buildPlatforms/buildFigma.ts",
34
+ "build:new-tokens": "npm run build:tokens && npm run build:next && npm run build:figma",
34
35
  "tokenJson:check": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
35
36
  "contrast:check": "ts-node -e \"require('./scripts/color-contrast').check()\"",
36
37
  "format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
@@ -188,7 +188,7 @@
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
190
  --fgColor-disabled: #8b949e;
191
- --fgColor-link-rest: #2f81f7;
191
+ --fgColor-link: #2f81f7;
192
192
  --fgColor-accent: #2f81f7;
193
193
  --fgColor-success: #58a6ff;
194
194
  --fgColor-attention: #d29922;
@@ -589,7 +589,7 @@
589
589
  --fgColor-muted: #7d8590;
590
590
  --fgColor-onEmphasis: #ffffff;
591
591
  --fgColor-disabled: #8b949e;
592
- --fgColor-link-rest: #2f81f7;
592
+ --fgColor-link: #2f81f7;
593
593
  --fgColor-accent: #2f81f7;
594
594
  --fgColor-success: #58a6ff;
595
595
  --fgColor-attention: #d29922;
@@ -188,7 +188,7 @@
188
188
  --fgColor-muted: #6d7986;
189
189
  --fgColor-onEmphasis: #cdd9e5;
190
190
  --fgColor-disabled: #768390;
191
- --fgColor-link-rest: #3b7cdb;
191
+ --fgColor-link: #3b7cdb;
192
192
  --fgColor-accent: #3b7cdb;
193
193
  --fgColor-success: #57ab5a;
194
194
  --fgColor-attention: #c69026;
@@ -589,7 +589,7 @@
589
589
  --fgColor-muted: #6d7986;
590
590
  --fgColor-onEmphasis: #cdd9e5;
591
591
  --fgColor-disabled: #768390;
592
- --fgColor-link-rest: #3b7cdb;
592
+ --fgColor-link: #3b7cdb;
593
593
  --fgColor-accent: #3b7cdb;
594
594
  --fgColor-success: #57ab5a;
595
595
  --fgColor-attention: #c69026;
@@ -188,7 +188,7 @@
188
188
  --fgColor-muted: #f0f3f6;
189
189
  --fgColor-onEmphasis: #0a0c10;
190
190
  --fgColor-disabled: #bdc4cc;
191
- --fgColor-link-rest: #409eff;
191
+ --fgColor-link: #409eff;
192
192
  --fgColor-accent: #409eff;
193
193
  --fgColor-success: #26cd4d;
194
194
  --fgColor-attention: #f0b72f;
@@ -589,7 +589,7 @@
589
589
  --fgColor-muted: #f0f3f6;
590
590
  --fgColor-onEmphasis: #0a0c10;
591
591
  --fgColor-disabled: #bdc4cc;
592
- --fgColor-link-rest: #409eff;
592
+ --fgColor-link: #409eff;
593
593
  --fgColor-accent: #409eff;
594
594
  --fgColor-success: #26cd4d;
595
595
  --fgColor-attention: #f0b72f;
@@ -188,7 +188,7 @@
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
190
  --fgColor-disabled: #8b949e;
191
- --fgColor-link-rest: #2f81f7;
191
+ --fgColor-link: #2f81f7;
192
192
  --fgColor-accent: #2f81f7;
193
193
  --fgColor-success: #58a6ff;
194
194
  --fgColor-attention: #d29922;
@@ -589,7 +589,7 @@
589
589
  --fgColor-muted: #7d8590;
590
590
  --fgColor-onEmphasis: #ffffff;
591
591
  --fgColor-disabled: #8b949e;
592
- --fgColor-link-rest: #2f81f7;
592
+ --fgColor-link: #2f81f7;
593
593
  --fgColor-accent: #2f81f7;
594
594
  --fgColor-success: #58a6ff;
595
595
  --fgColor-attention: #d29922;
@@ -188,7 +188,7 @@
188
188
  --fgColor-muted: #7d8590;
189
189
  --fgColor-onEmphasis: #ffffff;
190
190
  --fgColor-disabled: #8b949e;
191
- --fgColor-link-rest: #2f81f7;
191
+ --fgColor-link: #2f81f7;
192
192
  --fgColor-accent: #2f81f7;
193
193
  --fgColor-success: #3fb950;
194
194
  --fgColor-attention: #d29922;
@@ -589,7 +589,7 @@
589
589
  --fgColor-muted: #7d8590;
590
590
  --fgColor-onEmphasis: #ffffff;
591
591
  --fgColor-disabled: #8b949e;
592
- --fgColor-link-rest: #2f81f7;
592
+ --fgColor-link: #2f81f7;
593
593
  --fgColor-accent: #2f81f7;
594
594
  --fgColor-success: #3fb950;
595
595
  --fgColor-attention: #d29922;
@@ -189,7 +189,7 @@
189
189
  --fgColor-muted: #636c76;
190
190
  --fgColor-onEmphasis: #ffffff;
191
191
  --fgColor-disabled: #8c959f;
192
- --fgColor-link-rest: #0969da;
192
+ --fgColor-link: #0969da;
193
193
  --fgColor-accent: #0969da;
194
194
  --fgColor-success: #0969da;
195
195
  --fgColor-attention: #9a6700;
@@ -590,7 +590,7 @@
590
590
  --fgColor-muted: #636c76;
591
591
  --fgColor-onEmphasis: #ffffff;
592
592
  --fgColor-disabled: #8c959f;
593
- --fgColor-link-rest: #0969da;
593
+ --fgColor-link: #0969da;
594
594
  --fgColor-accent: #0969da;
595
595
  --fgColor-success: #0969da;
596
596
  --fgColor-attention: #9a6700;
@@ -189,7 +189,7 @@
189
189
  --fgColor-muted: #0e1116;
190
190
  --fgColor-onEmphasis: #ffffff;
191
191
  --fgColor-disabled: #4b535d;
192
- --fgColor-link-rest: #023b95;
192
+ --fgColor-link: #023b95;
193
193
  --fgColor-accent: #023b95;
194
194
  --fgColor-success: #055d20;
195
195
  --fgColor-attention: #744500;
@@ -590,7 +590,7 @@
590
590
  --fgColor-muted: #0e1116;
591
591
  --fgColor-onEmphasis: #ffffff;
592
592
  --fgColor-disabled: #4b535d;
593
- --fgColor-link-rest: #023b95;
593
+ --fgColor-link: #023b95;
594
594
  --fgColor-accent: #023b95;
595
595
  --fgColor-success: #055d20;
596
596
  --fgColor-attention: #744500;
@@ -189,7 +189,7 @@
189
189
  --fgColor-muted: #636c76;
190
190
  --fgColor-onEmphasis: #ffffff;
191
191
  --fgColor-disabled: #8c959f;
192
- --fgColor-link-rest: #0969da;
192
+ --fgColor-link: #0969da;
193
193
  --fgColor-accent: #0969da;
194
194
  --fgColor-success: #0969da;
195
195
  --fgColor-attention: #9a6700;
@@ -590,7 +590,7 @@
590
590
  --fgColor-muted: #636c76;
591
591
  --fgColor-onEmphasis: #ffffff;
592
592
  --fgColor-disabled: #8c959f;
593
- --fgColor-link-rest: #0969da;
593
+ --fgColor-link: #0969da;
594
594
  --fgColor-accent: #0969da;
595
595
  --fgColor-success: #0969da;
596
596
  --fgColor-attention: #9a6700;
@@ -189,7 +189,7 @@
189
189
  --fgColor-muted: #636c76;
190
190
  --fgColor-onEmphasis: #ffffff;
191
191
  --fgColor-disabled: #8c959f;
192
- --fgColor-link-rest: #0969da;
192
+ --fgColor-link: #0969da;
193
193
  --fgColor-accent: #0969da;
194
194
  --fgColor-success: #1a7f37;
195
195
  --fgColor-attention: #9a6700;
@@ -590,7 +590,7 @@
590
590
  --fgColor-muted: #636c76;
591
591
  --fgColor-onEmphasis: #ffffff;
592
592
  --fgColor-disabled: #8c959f;
593
- --fgColor-link-rest: #0969da;
593
+ --fgColor-link: #0969da;
594
594
  --fgColor-accent: #0969da;
595
595
  --fgColor-success: #1a7f37;
596
596
  --fgColor-attention: #9a6700;
@@ -2,11 +2,23 @@
2
2
  "base-size-4": {
3
3
  "value": "0.25rem",
4
4
  "$type": "dimension",
5
+ "$extensions": {
6
+ "org.primer.figma": {
7
+ "collection": "base/size",
8
+ "scopes": ["size"]
9
+ }
10
+ },
5
11
  "filePath": "src/tokens/base/size/size.json",
6
12
  "isSource": true,
7
13
  "original": {
8
14
  "value": "4px",
9
- "$type": "dimension"
15
+ "$type": "dimension",
16
+ "$extensions": {
17
+ "org.primer.figma": {
18
+ "collection": "base/size",
19
+ "scopes": ["size"]
20
+ }
21
+ }
10
22
  },
11
23
  "name": "base-size-4",
12
24
  "attributes": {},
@@ -15,11 +27,23 @@
15
27
  "base-size-8": {
16
28
  "value": "0.5rem",
17
29
  "$type": "dimension",
30
+ "$extensions": {
31
+ "org.primer.figma": {
32
+ "collection": "base/size",
33
+ "scopes": ["size"]
34
+ }
35
+ },
18
36
  "filePath": "src/tokens/base/size/size.json",
19
37
  "isSource": true,
20
38
  "original": {
21
39
  "value": "8px",
22
- "$type": "dimension"
40
+ "$type": "dimension",
41
+ "$extensions": {
42
+ "org.primer.figma": {
43
+ "collection": "base/size",
44
+ "scopes": ["size"]
45
+ }
46
+ }
23
47
  },
24
48
  "name": "base-size-8",
25
49
  "attributes": {},
@@ -28,11 +52,23 @@
28
52
  "base-size-12": {
29
53
  "value": "0.75rem",
30
54
  "$type": "dimension",
55
+ "$extensions": {
56
+ "org.primer.figma": {
57
+ "collection": "base/size",
58
+ "scopes": ["size"]
59
+ }
60
+ },
31
61
  "filePath": "src/tokens/base/size/size.json",
32
62
  "isSource": true,
33
63
  "original": {
34
64
  "value": "12px",
35
- "$type": "dimension"
65
+ "$type": "dimension",
66
+ "$extensions": {
67
+ "org.primer.figma": {
68
+ "collection": "base/size",
69
+ "scopes": ["size"]
70
+ }
71
+ }
36
72
  },
37
73
  "name": "base-size-12",
38
74
  "attributes": {},
@@ -41,11 +77,23 @@
41
77
  "base-size-16": {
42
78
  "value": "1rem",
43
79
  "$type": "dimension",
80
+ "$extensions": {
81
+ "org.primer.figma": {
82
+ "collection": "base/size",
83
+ "scopes": ["size"]
84
+ }
85
+ },
44
86
  "filePath": "src/tokens/base/size/size.json",
45
87
  "isSource": true,
46
88
  "original": {
47
89
  "value": "16px",
48
- "$type": "dimension"
90
+ "$type": "dimension",
91
+ "$extensions": {
92
+ "org.primer.figma": {
93
+ "collection": "base/size",
94
+ "scopes": ["size"]
95
+ }
96
+ }
49
97
  },
50
98
  "name": "base-size-16",
51
99
  "attributes": {},
@@ -54,11 +102,23 @@
54
102
  "base-size-20": {
55
103
  "value": "1.25rem",
56
104
  "$type": "dimension",
105
+ "$extensions": {
106
+ "org.primer.figma": {
107
+ "collection": "base/size",
108
+ "scopes": ["size"]
109
+ }
110
+ },
57
111
  "filePath": "src/tokens/base/size/size.json",
58
112
  "isSource": true,
59
113
  "original": {
60
114
  "value": "20px",
61
- "$type": "dimension"
115
+ "$type": "dimension",
116
+ "$extensions": {
117
+ "org.primer.figma": {
118
+ "collection": "base/size",
119
+ "scopes": ["size"]
120
+ }
121
+ }
62
122
  },
63
123
  "name": "base-size-20",
64
124
  "attributes": {},
@@ -67,11 +127,23 @@
67
127
  "base-size-24": {
68
128
  "value": "1.5rem",
69
129
  "$type": "dimension",
130
+ "$extensions": {
131
+ "org.primer.figma": {
132
+ "collection": "base/size",
133
+ "scopes": ["size"]
134
+ }
135
+ },
70
136
  "filePath": "src/tokens/base/size/size.json",
71
137
  "isSource": true,
72
138
  "original": {
73
139
  "value": "24px",
74
- "$type": "dimension"
140
+ "$type": "dimension",
141
+ "$extensions": {
142
+ "org.primer.figma": {
143
+ "collection": "base/size",
144
+ "scopes": ["size"]
145
+ }
146
+ }
75
147
  },
76
148
  "name": "base-size-24",
77
149
  "attributes": {},
@@ -80,11 +152,23 @@
80
152
  "base-size-28": {
81
153
  "value": "1.75rem",
82
154
  "$type": "dimension",
155
+ "$extensions": {
156
+ "org.primer.figma": {
157
+ "collection": "base/size",
158
+ "scopes": ["size"]
159
+ }
160
+ },
83
161
  "filePath": "src/tokens/base/size/size.json",
84
162
  "isSource": true,
85
163
  "original": {
86
164
  "value": "28px",
87
- "$type": "dimension"
165
+ "$type": "dimension",
166
+ "$extensions": {
167
+ "org.primer.figma": {
168
+ "collection": "base/size",
169
+ "scopes": ["size"]
170
+ }
171
+ }
88
172
  },
89
173
  "name": "base-size-28",
90
174
  "attributes": {},
@@ -93,11 +177,23 @@
93
177
  "base-size-32": {
94
178
  "value": "2rem",
95
179
  "$type": "dimension",
180
+ "$extensions": {
181
+ "org.primer.figma": {
182
+ "collection": "base/size",
183
+ "scopes": ["size"]
184
+ }
185
+ },
96
186
  "filePath": "src/tokens/base/size/size.json",
97
187
  "isSource": true,
98
188
  "original": {
99
189
  "value": "32px",
100
- "$type": "dimension"
190
+ "$type": "dimension",
191
+ "$extensions": {
192
+ "org.primer.figma": {
193
+ "collection": "base/size",
194
+ "scopes": ["size"]
195
+ }
196
+ }
101
197
  },
102
198
  "name": "base-size-32",
103
199
  "attributes": {},
@@ -106,11 +202,23 @@
106
202
  "base-size-36": {
107
203
  "value": "2.25rem",
108
204
  "$type": "dimension",
205
+ "$extensions": {
206
+ "org.primer.figma": {
207
+ "collection": "base/size",
208
+ "scopes": ["size"]
209
+ }
210
+ },
109
211
  "filePath": "src/tokens/base/size/size.json",
110
212
  "isSource": true,
111
213
  "original": {
112
214
  "value": "36px",
113
- "$type": "dimension"
215
+ "$type": "dimension",
216
+ "$extensions": {
217
+ "org.primer.figma": {
218
+ "collection": "base/size",
219
+ "scopes": ["size"]
220
+ }
221
+ }
114
222
  },
115
223
  "name": "base-size-36",
116
224
  "attributes": {},
@@ -119,11 +227,23 @@
119
227
  "base-size-40": {
120
228
  "value": "2.5rem",
121
229
  "$type": "dimension",
230
+ "$extensions": {
231
+ "org.primer.figma": {
232
+ "collection": "base/size",
233
+ "scopes": ["size"]
234
+ }
235
+ },
122
236
  "filePath": "src/tokens/base/size/size.json",
123
237
  "isSource": true,
124
238
  "original": {
125
239
  "value": "40px",
126
- "$type": "dimension"
240
+ "$type": "dimension",
241
+ "$extensions": {
242
+ "org.primer.figma": {
243
+ "collection": "base/size",
244
+ "scopes": ["size"]
245
+ }
246
+ }
127
247
  },
128
248
  "name": "base-size-40",
129
249
  "attributes": {},
@@ -132,11 +252,23 @@
132
252
  "base-size-44": {
133
253
  "value": "2.75rem",
134
254
  "$type": "dimension",
255
+ "$extensions": {
256
+ "org.primer.figma": {
257
+ "collection": "base/size",
258
+ "scopes": ["size"]
259
+ }
260
+ },
135
261
  "filePath": "src/tokens/base/size/size.json",
136
262
  "isSource": true,
137
263
  "original": {
138
264
  "value": "44px",
139
- "$type": "dimension"
265
+ "$type": "dimension",
266
+ "$extensions": {
267
+ "org.primer.figma": {
268
+ "collection": "base/size",
269
+ "scopes": ["size"]
270
+ }
271
+ }
140
272
  },
141
273
  "name": "base-size-44",
142
274
  "attributes": {},
@@ -145,11 +277,23 @@
145
277
  "base-size-48": {
146
278
  "value": "3rem",
147
279
  "$type": "dimension",
280
+ "$extensions": {
281
+ "org.primer.figma": {
282
+ "collection": "base/size",
283
+ "scopes": ["size"]
284
+ }
285
+ },
148
286
  "filePath": "src/tokens/base/size/size.json",
149
287
  "isSource": true,
150
288
  "original": {
151
289
  "value": "48px",
152
- "$type": "dimension"
290
+ "$type": "dimension",
291
+ "$extensions": {
292
+ "org.primer.figma": {
293
+ "collection": "base/size",
294
+ "scopes": ["size"]
295
+ }
296
+ }
153
297
  },
154
298
  "name": "base-size-48",
155
299
  "attributes": {},
@@ -158,11 +302,23 @@
158
302
  "base-size-64": {
159
303
  "value": "4rem",
160
304
  "$type": "dimension",
305
+ "$extensions": {
306
+ "org.primer.figma": {
307
+ "collection": "base/size",
308
+ "scopes": ["size"]
309
+ }
310
+ },
161
311
  "filePath": "src/tokens/base/size/size.json",
162
312
  "isSource": true,
163
313
  "original": {
164
314
  "value": "64px",
165
- "$type": "dimension"
315
+ "$type": "dimension",
316
+ "$extensions": {
317
+ "org.primer.figma": {
318
+ "collection": "base/size",
319
+ "scopes": ["size"]
320
+ }
321
+ }
166
322
  },
167
323
  "name": "base-size-64",
168
324
  "attributes": {},
@@ -171,11 +327,23 @@
171
327
  "base-size-80": {
172
328
  "value": "5rem",
173
329
  "$type": "dimension",
330
+ "$extensions": {
331
+ "org.primer.figma": {
332
+ "collection": "base/size",
333
+ "scopes": ["size"]
334
+ }
335
+ },
174
336
  "filePath": "src/tokens/base/size/size.json",
175
337
  "isSource": true,
176
338
  "original": {
177
339
  "value": "80px",
178
- "$type": "dimension"
340
+ "$type": "dimension",
341
+ "$extensions": {
342
+ "org.primer.figma": {
343
+ "collection": "base/size",
344
+ "scopes": ["size"]
345
+ }
346
+ }
179
347
  },
180
348
  "name": "base-size-80",
181
349
  "attributes": {},
@@ -184,11 +352,23 @@
184
352
  "base-size-96": {
185
353
  "value": "6rem",
186
354
  "$type": "dimension",
355
+ "$extensions": {
356
+ "org.primer.figma": {
357
+ "collection": "base/size",
358
+ "scopes": ["size"]
359
+ }
360
+ },
187
361
  "filePath": "src/tokens/base/size/size.json",
188
362
  "isSource": true,
189
363
  "original": {
190
364
  "value": "96px",
191
- "$type": "dimension"
365
+ "$type": "dimension",
366
+ "$extensions": {
367
+ "org.primer.figma": {
368
+ "collection": "base/size",
369
+ "scopes": ["size"]
370
+ }
371
+ }
192
372
  },
193
373
  "name": "base-size-96",
194
374
  "attributes": {},
@@ -197,11 +377,23 @@
197
377
  "base-size-112": {
198
378
  "value": "7rem",
199
379
  "$type": "dimension",
380
+ "$extensions": {
381
+ "org.primer.figma": {
382
+ "collection": "base/size",
383
+ "scopes": ["size"]
384
+ }
385
+ },
200
386
  "filePath": "src/tokens/base/size/size.json",
201
387
  "isSource": true,
202
388
  "original": {
203
389
  "value": "112px",
204
- "$type": "dimension"
390
+ "$type": "dimension",
391
+ "$extensions": {
392
+ "org.primer.figma": {
393
+ "collection": "base/size",
394
+ "scopes": ["size"]
395
+ }
396
+ }
205
397
  },
206
398
  "name": "base-size-112",
207
399
  "attributes": {},
@@ -210,11 +402,23 @@
210
402
  "base-size-128": {
211
403
  "value": "8rem",
212
404
  "$type": "dimension",
405
+ "$extensions": {
406
+ "org.primer.figma": {
407
+ "collection": "base/size",
408
+ "scopes": ["size"]
409
+ }
410
+ },
213
411
  "filePath": "src/tokens/base/size/size.json",
214
412
  "isSource": true,
215
413
  "original": {
216
414
  "value": "128px",
217
- "$type": "dimension"
415
+ "$type": "dimension",
416
+ "$extensions": {
417
+ "org.primer.figma": {
418
+ "collection": "base/size",
419
+ "scopes": ["size"]
420
+ }
421
+ }
218
422
  },
219
423
  "name": "base-size-128",
220
424
  "attributes": {},