@primer/primitives 11.4.1-rc.eb8ee149 → 11.5.0-rc.14eaeb12
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.
- package/DESIGN_TOKENS_GUIDE.md +185 -0
- package/DESIGN_TOKENS_SPEC.md +136 -8
- package/dist/build/formats/jsonFigma.js +8 -1
- package/dist/build/formats/markdownLlmGuidelines.js +349 -0
- package/dist/build/schemas/borderToken.d.ts +61 -5
- package/dist/build/schemas/borderToken.js +2 -1
- package/dist/build/schemas/colorToken.d.ts +639 -30
- package/dist/build/schemas/colorToken.js +3 -2
- package/dist/build/schemas/colorW3cValue.d.ts +28 -0
- package/dist/build/schemas/colorW3cValue.js +42 -0
- package/dist/build/schemas/cubicBezierToken.d.ts +1 -1
- package/dist/build/schemas/dimensionToken.d.ts +9 -2
- package/dist/build/schemas/dimensionValue.d.ts +12 -1
- package/dist/build/schemas/dimensionValue.js +10 -13
- package/dist/build/schemas/durationToken.d.ts +8 -2
- package/dist/build/schemas/durationValue.d.ts +11 -1
- package/dist/build/schemas/durationValue.js +13 -3
- package/dist/build/schemas/fontFamilyToken.d.ts +1 -1
- package/dist/build/schemas/fontWeightToken.d.ts +1 -1
- package/dist/build/schemas/gradientToken.d.ts +23 -2
- package/dist/build/schemas/gradientToken.js +2 -1
- package/dist/build/schemas/numberToken.d.ts +1 -1
- package/dist/build/schemas/shadowToken.d.ts +1751 -127
- package/dist/build/schemas/shadowToken.js +8 -2
- package/dist/build/schemas/stringToken.d.ts +1 -1
- package/dist/build/schemas/stringToken.js +1 -1
- package/dist/build/schemas/tokenType.d.ts +1 -1
- package/dist/build/schemas/transitionToken.d.ts +15 -3
- package/dist/build/schemas/typographyToken.d.ts +19 -5
- package/dist/build/schemas/typographyToken.js +1 -1
- package/dist/build/schemas/validTokenType.d.ts +1 -1
- package/dist/build/schemas/validTokenType.js +1 -1
- package/dist/build/schemas/viewportRangeToken.d.ts +1 -1
- package/dist/build/transformers/borderToCss.js +19 -1
- package/dist/build/transformers/colorAlphaToCss.js +6 -3
- package/dist/build/transformers/colorToHex.js +5 -2
- package/dist/build/transformers/colorToRgbAlpha.js +5 -2
- package/dist/build/transformers/colorToRgbaFloat.js +5 -0
- package/dist/build/transformers/dimensionToPixelUnitless.d.ts +3 -2
- package/dist/build/transformers/dimensionToPixelUnitless.js +22 -26
- package/dist/build/transformers/dimensionToRem.d.ts +2 -1
- package/dist/build/transformers/dimensionToRem.js +21 -22
- package/dist/build/transformers/dimensionToRemPxArray.d.ts +2 -1
- package/dist/build/transformers/dimensionToRemPxArray.js +21 -22
- package/dist/build/transformers/durationToCss.d.ts +2 -1
- package/dist/build/transformers/durationToCss.js +19 -12
- package/dist/build/transformers/gradientToCss.js +2 -1
- package/dist/build/transformers/shadowToCss.js +15 -1
- package/dist/build/transformers/utilities/normalizeColorValue.d.ts +23 -0
- package/dist/build/transformers/utilities/normalizeColorValue.js +74 -0
- package/dist/build/transformers/utilities/parseDimension.d.ts +12 -0
- package/dist/build/transformers/utilities/parseDimension.js +31 -0
- package/dist/build/types/borderTokenValue.d.ts +5 -2
- package/dist/build/types/dimensionTokenValue.d.ts +9 -0
- package/dist/build/types/shadowTokenValue.d.ts +8 -5
- package/dist/css/base/motion/motion.css +1 -1
- package/dist/css/functional/size/radius.css +1 -1
- package/dist/css/functional/size/size-coarse.css +1 -0
- package/dist/css/functional/size/size-fine.css +1 -0
- package/dist/css/functional/size/size.css +5 -0
- package/dist/css/functional/themes/dark-colorblind-high-contrast.css +42 -30
- package/dist/css/functional/themes/dark-colorblind.css +42 -30
- package/dist/css/functional/themes/dark-dimmed-high-contrast.css +42 -30
- package/dist/css/functional/themes/dark-dimmed.css +42 -30
- package/dist/css/functional/themes/dark-high-contrast.css +42 -30
- package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +42 -30
- package/dist/css/functional/themes/dark-tritanopia.css +42 -30
- package/dist/css/functional/themes/dark.css +42 -30
- package/dist/css/functional/themes/light-colorblind-high-contrast.css +42 -30
- package/dist/css/functional/themes/light-colorblind.css +42 -30
- package/dist/css/functional/themes/light-high-contrast.css +42 -30
- package/dist/css/functional/themes/light-tritanopia-high-contrast.css +42 -30
- package/dist/css/functional/themes/light-tritanopia.css +42 -30
- package/dist/css/functional/themes/light.css +42 -30
- package/dist/docs/base/motion/motion.json +96 -24
- package/dist/docs/base/size/size.json +76 -19
- package/dist/docs/base/typography/typography.json +24 -6
- package/dist/docs/functional/size/border.json +26 -11
- package/dist/docs/functional/size/breakpoints.json +24 -6
- package/dist/docs/functional/size/radius.json +18 -6
- package/dist/docs/functional/size/size-coarse.json +55 -2
- package/dist/docs/functional/size/size-fine.json +55 -2
- package/dist/docs/functional/size/size.json +195 -15
- package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +3921 -714
- package/dist/docs/functional/themes/dark-colorblind.json +3911 -712
- package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +3774 -547
- package/dist/docs/functional/themes/dark-dimmed.json +3801 -554
- package/dist/docs/functional/themes/dark-high-contrast.json +3926 -715
- package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +3936 -717
- package/dist/docs/functional/themes/dark-tritanopia.json +3769 -546
- package/dist/docs/functional/themes/dark.json +3920 -713
- package/dist/docs/functional/themes/light-colorblind-high-contrast.json +3780 -553
- package/dist/docs/functional/themes/light-colorblind.json +3767 -548
- package/dist/docs/functional/themes/light-high-contrast.json +3785 -554
- package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +3785 -554
- package/dist/docs/functional/themes/light-tritanopia.json +3777 -550
- package/dist/docs/functional/themes/light.json +3782 -551
- package/dist/docs/functional/typography/typography.json +8 -2
- package/dist/fallbacks/base/motion/motion.json +48 -12
- package/dist/fallbacks/functional/size/size-coarse.json +2 -1
- package/dist/fallbacks/functional/size/size-fine.json +2 -1
- package/dist/fallbacks/functional/size/size.json +5 -0
- package/dist/figma/dimension/dimension.json +56 -1
- package/dist/figma/themes/dark-colorblind.json +49 -1
- package/dist/figma/themes/dark-dimmed.json +51 -3
- package/dist/figma/themes/dark-high-contrast.json +49 -1
- package/dist/figma/themes/dark-tritanopia.json +49 -1
- package/dist/figma/themes/dark.json +49 -1
- package/dist/figma/themes/light-colorblind.json +53 -5
- package/dist/figma/themes/light-high-contrast.json +53 -5
- package/dist/figma/themes/light-tritanopia.json +53 -5
- package/dist/figma/themes/light.json +53 -5
- package/dist/internalCss/dark-colorblind-high-contrast.css +42 -30
- package/dist/internalCss/dark-colorblind.css +42 -30
- package/dist/internalCss/dark-dimmed-high-contrast.css +42 -30
- package/dist/internalCss/dark-dimmed.css +42 -30
- package/dist/internalCss/dark-high-contrast.css +42 -30
- package/dist/internalCss/dark-tritanopia-high-contrast.css +42 -30
- package/dist/internalCss/dark-tritanopia.css +42 -30
- package/dist/internalCss/dark.css +42 -30
- package/dist/internalCss/light-colorblind-high-contrast.css +42 -30
- package/dist/internalCss/light-colorblind.css +42 -30
- package/dist/internalCss/light-high-contrast.css +42 -30
- package/dist/internalCss/light-tritanopia-high-contrast.css +42 -30
- package/dist/internalCss/light-tritanopia.css +42 -30
- package/dist/internalCss/light.css +42 -30
- package/dist/styleLint/base/motion/motion.json +96 -24
- package/dist/styleLint/base/size/size.json +76 -19
- package/dist/styleLint/base/typography/typography.json +30 -12
- package/dist/styleLint/functional/size/border.json +27 -12
- package/dist/styleLint/functional/size/breakpoints.json +24 -6
- package/dist/styleLint/functional/size/radius.json +19 -7
- package/dist/styleLint/functional/size/size-coarse.json +60 -7
- package/dist/styleLint/functional/size/size-fine.json +60 -7
- package/dist/styleLint/functional/size/size.json +246 -66
- package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +4060 -733
- package/dist/styleLint/functional/themes/dark-colorblind.json +4050 -731
- package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +3914 -567
- package/dist/styleLint/functional/themes/dark-dimmed.json +3941 -574
- package/dist/styleLint/functional/themes/dark-high-contrast.json +4065 -734
- package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +4075 -736
- package/dist/styleLint/functional/themes/dark-tritanopia.json +4079 -736
- package/dist/styleLint/functional/themes/dark.json +4059 -732
- package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +4091 -744
- package/dist/styleLint/functional/themes/light-colorblind.json +4078 -739
- package/dist/styleLint/functional/themes/light-high-contrast.json +4096 -745
- package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +4096 -745
- package/dist/styleLint/functional/themes/light-tritanopia.json +4088 -741
- package/dist/styleLint/functional/themes/light.json +4093 -742
- package/dist/styleLint/functional/typography/typography.json +28 -22
- package/package.json +5 -4
- package/src/tokens/base/color/dark/dark.dimmed.json5 +405 -81
- package/src/tokens/base/color/dark/dark.high-contrast.json5 +405 -81
- package/src/tokens/base/color/dark/dark.json5 +475 -95
- package/src/tokens/base/color/dark/display-dark.json5 +960 -192
- package/src/tokens/base/color/light/display-light.json5 +960 -192
- package/src/tokens/base/color/light/light.high-contrast.json5 +405 -81
- package/src/tokens/base/color/light/light.json5 +475 -95
- package/src/tokens/base/motion/timing.json5 +12 -12
- package/src/tokens/base/size/size.json5 +194 -194
- package/src/tokens/base/typography/typography.json5 +6 -6
- package/src/tokens/component/avatar.json5 +72 -44
- package/src/tokens/component/button.json5 +1846 -1191
- package/src/tokens/component/reactionButton.json5 +20 -4
- package/src/tokens/functional/border/border.json5 +33 -2
- package/src/tokens/functional/color/bgColor.json5 +18 -2
- package/src/tokens/functional/color/borderColor.json5 +8 -1
- package/src/tokens/functional/color/control.json5 +160 -32
- package/src/tokens/functional/color/display.json5 +7 -0
- package/src/tokens/functional/color/fgColor.json5 +13 -1
- package/src/tokens/functional/color/syntax.json5 +24 -2
- package/src/tokens/functional/shadow/shadow.json5 +1254 -163
- package/src/tokens/functional/size/border.json5 +8 -8
- package/src/tokens/functional/size/breakpoints.json5 +6 -6
- package/src/tokens/functional/size/radius.json5 +5 -5
- package/src/tokens/functional/size/size-coarse.json5 +15 -0
- package/src/tokens/functional/size/size-fine.json5 +15 -0
- package/src/tokens/functional/size/size.json5 +65 -15
- package/src/tokens/functional/typography/typography.json5 +8 -4
- package/dist/build/parsers/index.d.ts +0 -1
- package/dist/build/parsers/index.js +0 -1
- package/dist/build/parsers/w3cJsonParser.d.ts +0 -6
- package/dist/build/parsers/w3cJsonParser.js +0 -25
- package/dist/removed/testing.json5 +0 -4
- package/guidelines/color.llm.md +0 -16
- package/guidelines/guidelines.llm.md +0 -34
- package/guidelines/motion.llm.md +0 -41
- package/guidelines/spacing.llm.md +0 -20
- package/guidelines/typography.llm.md +0 -14
- package/src/tokens/removed/testing.json5 +0 -4
|
@@ -28,9 +28,50 @@
|
|
|
28
28
|
"type": "dimension",
|
|
29
29
|
"description": "Minimum target size for fine pointer devices (mouse)"
|
|
30
30
|
},
|
|
31
|
+
"controlStack-large-gap-auto": {
|
|
32
|
+
"key": "{controlStack.large.gap.auto}",
|
|
33
|
+
"$extensions": {
|
|
34
|
+
"org.primer.figma": {
|
|
35
|
+
"collection": "pattern/size",
|
|
36
|
+
"scopes": ["gap"]
|
|
37
|
+
},
|
|
38
|
+
"org.primer.llm": {
|
|
39
|
+
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
40
|
+
"rules": "Use for spacing between interactive controls on desktop in large layouts. Do NOT use for mobile/touch interfaces."
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"filePath": "src/tokens/functional/size/size-fine.json5",
|
|
44
|
+
"isSource": true,
|
|
45
|
+
"original": {
|
|
46
|
+
"$value": "{base.size.8}",
|
|
47
|
+
"$type": "dimension",
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"org.primer.figma": {
|
|
50
|
+
"collection": "pattern/size",
|
|
51
|
+
"scopes": ["gap"]
|
|
52
|
+
},
|
|
53
|
+
"org.primer.llm": {
|
|
54
|
+
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
55
|
+
"rules": "Use for spacing between interactive controls on desktop in large layouts. Do NOT use for mobile/touch interfaces."
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"$description": "Gap between stacked controls in large density layouts for mouse interfaces",
|
|
59
|
+
"key": "{controlStack.large.gap.auto}"
|
|
60
|
+
},
|
|
61
|
+
"name": "controlStack-large-gap-auto",
|
|
62
|
+
"attributes": {},
|
|
63
|
+
"path": ["controlStack", "large", "gap", "auto"],
|
|
64
|
+
"value": "0.5rem",
|
|
65
|
+
"type": "dimension",
|
|
66
|
+
"description": "Gap between stacked controls in large density layouts for mouse interfaces"
|
|
67
|
+
},
|
|
31
68
|
"controlStack-medium-gap-auto": {
|
|
32
69
|
"key": "{controlStack.medium.gap.auto}",
|
|
33
70
|
"$extensions": {
|
|
71
|
+
"org.primer.figma": {
|
|
72
|
+
"collection": "pattern/size",
|
|
73
|
+
"scopes": ["gap"]
|
|
74
|
+
},
|
|
34
75
|
"org.primer.llm": {
|
|
35
76
|
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
36
77
|
"rules": "Use for spacing between interactive controls on desktop in standard layouts. Do NOT use for mobile/touch interfaces."
|
|
@@ -41,13 +82,17 @@
|
|
|
41
82
|
"original": {
|
|
42
83
|
"$value": "{base.size.8}",
|
|
43
84
|
"$type": "dimension",
|
|
44
|
-
"$description": "Gap between stacked controls in medium density layouts for mouse interfaces",
|
|
45
85
|
"$extensions": {
|
|
86
|
+
"org.primer.figma": {
|
|
87
|
+
"collection": "pattern/size",
|
|
88
|
+
"scopes": ["gap"]
|
|
89
|
+
},
|
|
46
90
|
"org.primer.llm": {
|
|
47
91
|
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
48
92
|
"rules": "Use for spacing between interactive controls on desktop in standard layouts. Do NOT use for mobile/touch interfaces."
|
|
49
93
|
}
|
|
50
94
|
},
|
|
95
|
+
"$description": "Gap between stacked controls in medium density layouts for mouse interfaces",
|
|
51
96
|
"key": "{controlStack.medium.gap.auto}"
|
|
52
97
|
},
|
|
53
98
|
"name": "controlStack-medium-gap-auto",
|
|
@@ -60,6 +105,10 @@
|
|
|
60
105
|
"controlStack-small-gap-auto": {
|
|
61
106
|
"key": "{controlStack.small.gap.auto}",
|
|
62
107
|
"$extensions": {
|
|
108
|
+
"org.primer.figma": {
|
|
109
|
+
"collection": "pattern/size",
|
|
110
|
+
"scopes": ["gap"]
|
|
111
|
+
},
|
|
63
112
|
"org.primer.llm": {
|
|
64
113
|
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
65
114
|
"rules": "Use for spacing between interactive controls on desktop in compact layouts. Tighter spacing than touch devices. Do NOT use for mobile/touch interfaces."
|
|
@@ -70,13 +119,17 @@
|
|
|
70
119
|
"original": {
|
|
71
120
|
"$value": "{base.size.8}",
|
|
72
121
|
"$type": "dimension",
|
|
73
|
-
"$description": "Gap between stacked controls in small density layouts for mouse interfaces",
|
|
74
122
|
"$extensions": {
|
|
123
|
+
"org.primer.figma": {
|
|
124
|
+
"collection": "pattern/size",
|
|
125
|
+
"scopes": ["gap"]
|
|
126
|
+
},
|
|
75
127
|
"org.primer.llm": {
|
|
76
128
|
"usage": ["desktop-control-spacing", "form-gap", "stacked-buttons"],
|
|
77
129
|
"rules": "Use for spacing between interactive controls on desktop in compact layouts. Tighter spacing than touch devices. Do NOT use for mobile/touch interfaces."
|
|
78
130
|
}
|
|
79
131
|
},
|
|
132
|
+
"$description": "Gap between stacked controls in small density layouts for mouse interfaces",
|
|
80
133
|
"key": "{controlStack.small.gap.auto}"
|
|
81
134
|
},
|
|
82
135
|
"name": "controlStack-small-gap-auto",
|
|
@@ -64,7 +64,10 @@
|
|
|
64
64
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
65
65
|
"isSource": true,
|
|
66
66
|
"original": {
|
|
67
|
-
"$value":
|
|
67
|
+
"$value": {
|
|
68
|
+
"value": 10,
|
|
69
|
+
"unit": "px"
|
|
70
|
+
},
|
|
68
71
|
"$type": "dimension",
|
|
69
72
|
"$extensions": {
|
|
70
73
|
"org.primer.figma": {
|
|
@@ -80,6 +83,33 @@
|
|
|
80
83
|
"value": "0.625rem",
|
|
81
84
|
"type": "dimension"
|
|
82
85
|
},
|
|
86
|
+
"control-large-paddingInline-condensed": {
|
|
87
|
+
"key": "{control.large.paddingInline.condensed}",
|
|
88
|
+
"$extensions": {
|
|
89
|
+
"org.primer.figma": {
|
|
90
|
+
"collection": "pattern/size",
|
|
91
|
+
"scopes": ["gap"]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"filePath": "src/tokens/functional/size/size.json5",
|
|
95
|
+
"isSource": true,
|
|
96
|
+
"original": {
|
|
97
|
+
"$value": "{base.size.8}",
|
|
98
|
+
"$type": "dimension",
|
|
99
|
+
"$extensions": {
|
|
100
|
+
"org.primer.figma": {
|
|
101
|
+
"collection": "pattern/size",
|
|
102
|
+
"scopes": ["gap"]
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"key": "{control.large.paddingInline.condensed}"
|
|
106
|
+
},
|
|
107
|
+
"name": "control-large-paddingInline-condensed",
|
|
108
|
+
"attributes": {},
|
|
109
|
+
"path": ["control", "large", "paddingInline", "condensed"],
|
|
110
|
+
"value": "0.5rem",
|
|
111
|
+
"type": "dimension"
|
|
112
|
+
},
|
|
83
113
|
"control-large-paddingInline-normal": {
|
|
84
114
|
"key": "{control.large.paddingInline.normal}",
|
|
85
115
|
"$extensions": {
|
|
@@ -226,7 +256,10 @@
|
|
|
226
256
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
227
257
|
"isSource": true,
|
|
228
258
|
"original": {
|
|
229
|
-
"$value":
|
|
259
|
+
"$value": {
|
|
260
|
+
"value": 6,
|
|
261
|
+
"unit": "px"
|
|
262
|
+
},
|
|
230
263
|
"$type": "dimension",
|
|
231
264
|
"$extensions": {
|
|
232
265
|
"org.primer.figma": {
|
|
@@ -539,6 +572,33 @@
|
|
|
539
572
|
"value": "0.75rem",
|
|
540
573
|
"type": "dimension"
|
|
541
574
|
},
|
|
575
|
+
"control-small-paddingInline-spacious": {
|
|
576
|
+
"key": "{control.small.paddingInline.spacious}",
|
|
577
|
+
"$extensions": {
|
|
578
|
+
"org.primer.figma": {
|
|
579
|
+
"collection": "pattern/size",
|
|
580
|
+
"scopes": ["gap"]
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"filePath": "src/tokens/functional/size/size.json5",
|
|
584
|
+
"isSource": true,
|
|
585
|
+
"original": {
|
|
586
|
+
"$value": "{base.size.16}",
|
|
587
|
+
"$type": "dimension",
|
|
588
|
+
"$extensions": {
|
|
589
|
+
"org.primer.figma": {
|
|
590
|
+
"collection": "pattern/size",
|
|
591
|
+
"scopes": ["gap"]
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"key": "{control.small.paddingInline.spacious}"
|
|
595
|
+
},
|
|
596
|
+
"name": "control-small-paddingInline-spacious",
|
|
597
|
+
"attributes": {},
|
|
598
|
+
"path": ["control", "small", "paddingInline", "spacious"],
|
|
599
|
+
"value": "1rem",
|
|
600
|
+
"type": "dimension"
|
|
601
|
+
},
|
|
542
602
|
"control-small-size": {
|
|
543
603
|
"key": "{control.small.size}",
|
|
544
604
|
"$extensions": {
|
|
@@ -631,7 +691,10 @@
|
|
|
631
691
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
632
692
|
"isSource": true,
|
|
633
693
|
"original": {
|
|
634
|
-
"$value":
|
|
694
|
+
"$value": {
|
|
695
|
+
"value": 14,
|
|
696
|
+
"unit": "px"
|
|
697
|
+
},
|
|
635
698
|
"$type": "dimension",
|
|
636
699
|
"$extensions": {
|
|
637
700
|
"org.primer.figma": {
|
|
@@ -647,6 +710,33 @@
|
|
|
647
710
|
"value": "0.875rem",
|
|
648
711
|
"type": "dimension"
|
|
649
712
|
},
|
|
713
|
+
"control-xlarge-paddingInline-condensed": {
|
|
714
|
+
"key": "{control.xlarge.paddingInline.condensed}",
|
|
715
|
+
"$extensions": {
|
|
716
|
+
"org.primer.figma": {
|
|
717
|
+
"collection": "pattern/size",
|
|
718
|
+
"scopes": ["gap"]
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"filePath": "src/tokens/functional/size/size.json5",
|
|
722
|
+
"isSource": true,
|
|
723
|
+
"original": {
|
|
724
|
+
"$value": "{base.size.8}",
|
|
725
|
+
"$type": "dimension",
|
|
726
|
+
"$extensions": {
|
|
727
|
+
"org.primer.figma": {
|
|
728
|
+
"collection": "pattern/size",
|
|
729
|
+
"scopes": ["gap"]
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"key": "{control.xlarge.paddingInline.condensed}"
|
|
733
|
+
},
|
|
734
|
+
"name": "control-xlarge-paddingInline-condensed",
|
|
735
|
+
"attributes": {},
|
|
736
|
+
"path": ["control", "xlarge", "paddingInline", "condensed"],
|
|
737
|
+
"value": "0.5rem",
|
|
738
|
+
"type": "dimension"
|
|
739
|
+
},
|
|
650
740
|
"control-xlarge-paddingInline-normal": {
|
|
651
741
|
"key": "{control.xlarge.paddingInline.normal}",
|
|
652
742
|
"$extensions": {
|
|
@@ -793,7 +883,10 @@
|
|
|
793
883
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
794
884
|
"isSource": true,
|
|
795
885
|
"original": {
|
|
796
|
-
"$value":
|
|
886
|
+
"$value": {
|
|
887
|
+
"value": 2,
|
|
888
|
+
"unit": "px"
|
|
889
|
+
},
|
|
797
890
|
"$type": "dimension",
|
|
798
891
|
"$extensions": {
|
|
799
892
|
"org.primer.figma": {
|
|
@@ -998,6 +1091,33 @@
|
|
|
998
1091
|
"value": "0.75rem",
|
|
999
1092
|
"type": "dimension"
|
|
1000
1093
|
},
|
|
1094
|
+
"controlStack-medium-gap-auto": {
|
|
1095
|
+
"key": "{controlStack.medium.gap.auto}",
|
|
1096
|
+
"$extensions": {
|
|
1097
|
+
"org.primer.figma": {
|
|
1098
|
+
"collection": "pattern/size",
|
|
1099
|
+
"scopes": ["gap"]
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"filePath": "src/tokens/functional/size/size.json5",
|
|
1103
|
+
"isSource": true,
|
|
1104
|
+
"original": {
|
|
1105
|
+
"$value": "{base.size.8}",
|
|
1106
|
+
"$type": "dimension",
|
|
1107
|
+
"$extensions": {
|
|
1108
|
+
"org.primer.figma": {
|
|
1109
|
+
"collection": "pattern/size",
|
|
1110
|
+
"scopes": ["gap"]
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
"key": "{controlStack.medium.gap.auto}"
|
|
1114
|
+
},
|
|
1115
|
+
"name": "controlStack-medium-gap-auto",
|
|
1116
|
+
"attributes": {},
|
|
1117
|
+
"path": ["controlStack", "medium", "gap", "auto"],
|
|
1118
|
+
"value": "0.5rem",
|
|
1119
|
+
"type": "dimension"
|
|
1120
|
+
},
|
|
1001
1121
|
"controlStack-medium-gap-condensed": {
|
|
1002
1122
|
"key": "{controlStack.medium.gap.condensed}",
|
|
1003
1123
|
"$extensions": {
|
|
@@ -1052,6 +1172,33 @@
|
|
|
1052
1172
|
"value": "0.75rem",
|
|
1053
1173
|
"type": "dimension"
|
|
1054
1174
|
},
|
|
1175
|
+
"controlStack-small-gap-auto": {
|
|
1176
|
+
"key": "{controlStack.small.gap.auto}",
|
|
1177
|
+
"$extensions": {
|
|
1178
|
+
"org.primer.figma": {
|
|
1179
|
+
"collection": "pattern/size",
|
|
1180
|
+
"scopes": ["gap"]
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
"filePath": "src/tokens/functional/size/size.json5",
|
|
1184
|
+
"isSource": true,
|
|
1185
|
+
"original": {
|
|
1186
|
+
"$value": "{base.size.8}",
|
|
1187
|
+
"$type": "dimension",
|
|
1188
|
+
"$extensions": {
|
|
1189
|
+
"org.primer.figma": {
|
|
1190
|
+
"collection": "pattern/size",
|
|
1191
|
+
"scopes": ["gap"]
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"key": "{controlStack.small.gap.auto}"
|
|
1195
|
+
},
|
|
1196
|
+
"name": "controlStack-small-gap-auto",
|
|
1197
|
+
"attributes": {},
|
|
1198
|
+
"path": ["controlStack", "small", "gap", "auto"],
|
|
1199
|
+
"value": "0.5rem",
|
|
1200
|
+
"type": "dimension"
|
|
1201
|
+
},
|
|
1055
1202
|
"controlStack-small-gap-condensed": {
|
|
1056
1203
|
"key": "{controlStack.small.gap.condensed}",
|
|
1057
1204
|
"$extensions": {
|
|
@@ -1144,7 +1291,10 @@
|
|
|
1144
1291
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1145
1292
|
"isSource": true,
|
|
1146
1293
|
"original": {
|
|
1147
|
-
"$value":
|
|
1294
|
+
"$value": {
|
|
1295
|
+
"value": 432,
|
|
1296
|
+
"unit": "px"
|
|
1297
|
+
},
|
|
1148
1298
|
"$type": "dimension",
|
|
1149
1299
|
"$extensions": {
|
|
1150
1300
|
"org.primer.figma": {
|
|
@@ -1171,7 +1321,10 @@
|
|
|
1171
1321
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1172
1322
|
"isSource": true,
|
|
1173
1323
|
"original": {
|
|
1174
|
-
"$value":
|
|
1324
|
+
"$value": {
|
|
1325
|
+
"value": 320,
|
|
1326
|
+
"unit": "px"
|
|
1327
|
+
},
|
|
1175
1328
|
"$type": "dimension",
|
|
1176
1329
|
"$extensions": {
|
|
1177
1330
|
"org.primer.figma": {
|
|
@@ -1198,7 +1351,10 @@
|
|
|
1198
1351
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1199
1352
|
"isSource": true,
|
|
1200
1353
|
"original": {
|
|
1201
|
-
"$value":
|
|
1354
|
+
"$value": {
|
|
1355
|
+
"value": 256,
|
|
1356
|
+
"unit": "px"
|
|
1357
|
+
},
|
|
1202
1358
|
"$type": "dimension",
|
|
1203
1359
|
"$extensions": {
|
|
1204
1360
|
"org.primer.figma": {
|
|
@@ -1225,7 +1381,10 @@
|
|
|
1225
1381
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1226
1382
|
"isSource": true,
|
|
1227
1383
|
"original": {
|
|
1228
|
-
"$value":
|
|
1384
|
+
"$value": {
|
|
1385
|
+
"value": 600,
|
|
1386
|
+
"unit": "px"
|
|
1387
|
+
},
|
|
1229
1388
|
"$type": "dimension",
|
|
1230
1389
|
"$extensions": {
|
|
1231
1390
|
"org.primer.figma": {
|
|
@@ -1252,7 +1411,10 @@
|
|
|
1252
1411
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1253
1412
|
"isSource": true,
|
|
1254
1413
|
"original": {
|
|
1255
|
-
"$value":
|
|
1414
|
+
"$value": {
|
|
1415
|
+
"value": 4,
|
|
1416
|
+
"unit": "px"
|
|
1417
|
+
},
|
|
1256
1418
|
"$type": "dimension",
|
|
1257
1419
|
"$extensions": {
|
|
1258
1420
|
"org.primer.figma": {
|
|
@@ -1387,7 +1549,10 @@
|
|
|
1387
1549
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1388
1550
|
"isSource": true,
|
|
1389
1551
|
"original": {
|
|
1390
|
-
"$value":
|
|
1552
|
+
"$value": {
|
|
1553
|
+
"value": 640,
|
|
1554
|
+
"unit": "px"
|
|
1555
|
+
},
|
|
1391
1556
|
"$type": "dimension",
|
|
1392
1557
|
"$extensions": {
|
|
1393
1558
|
"org.primer.figma": {
|
|
@@ -1414,7 +1579,10 @@
|
|
|
1414
1579
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1415
1580
|
"isSource": true,
|
|
1416
1581
|
"original": {
|
|
1417
|
-
"$value":
|
|
1582
|
+
"$value": {
|
|
1583
|
+
"value": 480,
|
|
1584
|
+
"unit": "px"
|
|
1585
|
+
},
|
|
1418
1586
|
"$type": "dimension",
|
|
1419
1587
|
"$extensions": {
|
|
1420
1588
|
"org.primer.figma": {
|
|
@@ -1441,7 +1609,10 @@
|
|
|
1441
1609
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1442
1610
|
"isSource": true,
|
|
1443
1611
|
"original": {
|
|
1444
|
-
"$value":
|
|
1612
|
+
"$value": {
|
|
1613
|
+
"value": 320,
|
|
1614
|
+
"unit": "px"
|
|
1615
|
+
},
|
|
1445
1616
|
"$type": "dimension",
|
|
1446
1617
|
"$extensions": {
|
|
1447
1618
|
"org.primer.figma": {
|
|
@@ -1468,7 +1639,10 @@
|
|
|
1468
1639
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1469
1640
|
"isSource": true,
|
|
1470
1641
|
"original": {
|
|
1471
|
-
"$value":
|
|
1642
|
+
"$value": {
|
|
1643
|
+
"value": 960,
|
|
1644
|
+
"unit": "px"
|
|
1645
|
+
},
|
|
1472
1646
|
"$type": "dimension",
|
|
1473
1647
|
"$extensions": {
|
|
1474
1648
|
"org.primer.figma": {
|
|
@@ -1495,7 +1669,10 @@
|
|
|
1495
1669
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1496
1670
|
"isSource": true,
|
|
1497
1671
|
"original": {
|
|
1498
|
-
"$value":
|
|
1672
|
+
"$value": {
|
|
1673
|
+
"value": 192,
|
|
1674
|
+
"unit": "px"
|
|
1675
|
+
},
|
|
1499
1676
|
"$type": "dimension",
|
|
1500
1677
|
"$extensions": {
|
|
1501
1678
|
"org.primer.figma": {
|
|
@@ -1597,7 +1774,10 @@
|
|
|
1597
1774
|
"filePath": "src/tokens/functional/size/size.json5",
|
|
1598
1775
|
"isSource": true,
|
|
1599
1776
|
"original": {
|
|
1600
|
-
"$value":
|
|
1777
|
+
"$value": {
|
|
1778
|
+
"value": 2,
|
|
1779
|
+
"unit": "px"
|
|
1780
|
+
},
|
|
1601
1781
|
"$type": "dimension",
|
|
1602
1782
|
"key": "{spinner.strokeWidth.default}"
|
|
1603
1783
|
},
|