@primer/primitives 10.0.0-rc.6cee60d3 → 10.0.0-rc.74fb4d30
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/README.md +2 -2
- package/dist/build/PrimerStyleDictionary.js +27 -26
- package/dist/build/formats/typescriptExportDefinition.js +2 -2
- package/dist/build/parsers/w3cJsonParser.js +2 -2
- package/dist/build/platforms/css.js +1 -0
- package/dist/build/schemas/designToken.js +0 -1
- package/dist/build/transformers/durationToCss.js +2 -2
- package/dist/build/transformers/index.d.ts +1 -0
- package/dist/build/transformers/index.js +1 -0
- package/dist/css/base/motion/motion.css +17 -0
- package/dist/css/functional/motion/motion.css +4 -3
- package/dist/css/functional/themes/dark-colorblind.css +2 -0
- package/dist/css/functional/themes/dark-dimmed.css +2 -0
- package/dist/css/functional/themes/dark-high-contrast.css +2 -0
- package/dist/css/functional/themes/dark-tritanopia.css +2 -0
- package/dist/css/functional/themes/dark.css +2 -0
- package/dist/css/functional/themes/light-colorblind.css +2 -0
- package/dist/css/functional/themes/light-high-contrast.css +2 -0
- package/dist/css/functional/themes/light-tritanopia.css +2 -0
- package/dist/css/functional/themes/light.css +2 -0
- package/dist/css/functional/typography/typography.css +43 -43
- package/dist/css/primitives.css +64 -46
- package/dist/docs/base/motion/motion.json +205 -0
- package/dist/docs/functional/motion/motion.json +18 -3
- package/dist/docs/functional/themes/dark-colorblind.json +29 -0
- package/dist/docs/functional/themes/dark-dimmed.json +29 -0
- package/dist/docs/functional/themes/dark-high-contrast.json +29 -0
- package/dist/docs/functional/themes/dark-tritanopia.json +29 -0
- package/dist/docs/functional/themes/dark.json +29 -0
- package/dist/docs/functional/themes/light-colorblind.json +29 -0
- package/dist/docs/functional/themes/light-high-contrast.json +29 -0
- package/dist/docs/functional/themes/light-tritanopia.json +29 -0
- package/dist/docs/functional/themes/light.json +29 -0
- package/dist/fallbacks/base/motion/motion.json +17 -0
- package/dist/fallbacks/functional/motion/motion.json +1 -0
- package/dist/figma/dimension/dimension.json +518 -518
- package/dist/figma/figma.json +26 -26
- package/dist/figma/scales/dark-dimmed.json +1787 -1787
- package/dist/figma/scales/dark-high-constrast.json +1787 -1787
- package/dist/figma/scales/dark.json +1460 -1460
- package/dist/figma/scales/light-high-constrast.json +1775 -1775
- package/dist/figma/scales/light.json +1447 -1447
- package/dist/figma/shadows/dark-colorblind.json +285 -285
- package/dist/figma/shadows/dark-dimmed.json +285 -285
- package/dist/figma/shadows/dark-high-contrast.json +285 -285
- package/dist/figma/shadows/dark-tritanopia.json +285 -285
- package/dist/figma/shadows/dark.json +285 -285
- package/dist/figma/shadows/light-colorblind.json +254 -254
- package/dist/figma/shadows/light-high-contrast.json +254 -254
- package/dist/figma/shadows/light-tritanopia.json +254 -254
- package/dist/figma/shadows/light.json +254 -254
- package/dist/figma/themes/dark-colorblind.json +5146 -5130
- package/dist/figma/themes/dark-dimmed.json +5560 -5544
- package/dist/figma/themes/dark-high-contrast.json +4323 -4307
- package/dist/figma/themes/dark-tritanopia.json +5270 -5254
- package/dist/figma/themes/dark.json +5697 -5681
- package/dist/figma/themes/light-colorblind.json +5100 -5084
- package/dist/figma/themes/light-high-contrast.json +4427 -4411
- package/dist/figma/themes/light-tritanopia.json +5171 -5155
- package/dist/figma/themes/light.json +5537 -5521
- package/dist/figma/typography/typography.json +162 -162
- package/dist/internalCss/dark-colorblind.css +2 -0
- package/dist/internalCss/dark-dimmed.css +2 -0
- package/dist/internalCss/dark-high-contrast.css +2 -0
- package/dist/internalCss/dark-tritanopia.css +2 -0
- package/dist/internalCss/dark.css +2 -0
- package/dist/internalCss/light-colorblind.css +2 -0
- package/dist/internalCss/light-high-contrast.css +2 -0
- package/dist/internalCss/light-tritanopia.css +2 -0
- package/dist/internalCss/light.css +2 -0
- package/dist/styleLint/base/motion/motion.json +205 -0
- package/dist/styleLint/functional/motion/motion.json +18 -3
- package/dist/styleLint/functional/themes/dark-colorblind.json +29 -0
- package/dist/styleLint/functional/themes/dark-dimmed.json +29 -0
- package/dist/styleLint/functional/themes/dark-high-contrast.json +29 -0
- package/dist/styleLint/functional/themes/dark-tritanopia.json +29 -0
- package/dist/styleLint/functional/themes/dark.json +29 -0
- package/dist/styleLint/functional/themes/light-colorblind.json +29 -0
- package/dist/styleLint/functional/themes/light-high-contrast.json +29 -0
- package/dist/styleLint/functional/themes/light-tritanopia.json +29 -0
- package/dist/styleLint/functional/themes/light.json +29 -0
- package/package.json +18 -21
- package/src/tokens/base/motion/easing.json5 +26 -0
- package/src/tokens/base/motion/timing.json5 +50 -0
- package/src/tokens/functional/color/dark/patterns-dark.json5 +12 -0
- package/src/tokens/functional/color/light/patterns-light.json5 +13 -1
- package/src/tokens/functional/motion/loading.json5 +1 -1
- package/src/tokens/functional/motion/patterns.json5 +9 -2
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base-easing-linear": {
|
|
3
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
4
|
+
"isSource": true,
|
|
5
|
+
"original": {
|
|
6
|
+
"$value": [0, 0, 1, 1],
|
|
7
|
+
"$type": "cubicBezier",
|
|
8
|
+
"$description": "Ideal for non-movement properties, like opacity or background color."
|
|
9
|
+
},
|
|
10
|
+
"name": "base-easing-linear",
|
|
11
|
+
"attributes": {},
|
|
12
|
+
"path": ["base", "easing", "linear"],
|
|
13
|
+
"value": [0, 0, 1, 1],
|
|
14
|
+
"type": "cubicBezier",
|
|
15
|
+
"description": "Ideal for non-movement properties, like opacity or background color."
|
|
16
|
+
},
|
|
17
|
+
"base-easing-easeIn": {
|
|
18
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
19
|
+
"isSource": true,
|
|
20
|
+
"original": {
|
|
21
|
+
"$value": [0.7, 0.1, 0.75, 0.9],
|
|
22
|
+
"$type": "cubicBezier",
|
|
23
|
+
"$description": "Ideal for movement that starts on the page and ends off the page."
|
|
24
|
+
},
|
|
25
|
+
"name": "base-easing-easeIn",
|
|
26
|
+
"attributes": {},
|
|
27
|
+
"path": ["base", "easing", "easeIn"],
|
|
28
|
+
"value": [0.7, 0.1, 0.75, 0.9],
|
|
29
|
+
"type": "cubicBezier",
|
|
30
|
+
"description": "Ideal for movement that starts on the page and ends off the page."
|
|
31
|
+
},
|
|
32
|
+
"base-easing-easeOut": {
|
|
33
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
34
|
+
"isSource": true,
|
|
35
|
+
"original": {
|
|
36
|
+
"$value": [0.16, 1, 0.3, 1],
|
|
37
|
+
"$type": "cubicBezier",
|
|
38
|
+
"$description": "Ideal for movement that starts off the page and ends on the page."
|
|
39
|
+
},
|
|
40
|
+
"name": "base-easing-easeOut",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": ["base", "easing", "easeOut"],
|
|
43
|
+
"value": [0.16, 1, 0.3, 1],
|
|
44
|
+
"type": "cubicBezier",
|
|
45
|
+
"description": "Ideal for movement that starts off the page and ends on the page."
|
|
46
|
+
},
|
|
47
|
+
"base-easing-easeInOut": {
|
|
48
|
+
"filePath": "src/tokens/base/motion/easing.json5",
|
|
49
|
+
"isSource": true,
|
|
50
|
+
"original": {
|
|
51
|
+
"$value": [0.6, 0, 0.2, 1],
|
|
52
|
+
"$type": "cubicBezier",
|
|
53
|
+
"$description": "Ideal for movement that starts and ends on the page."
|
|
54
|
+
},
|
|
55
|
+
"name": "base-easing-easeInOut",
|
|
56
|
+
"attributes": {},
|
|
57
|
+
"path": ["base", "easing", "easeInOut"],
|
|
58
|
+
"value": [0.6, 0, 0.2, 1],
|
|
59
|
+
"type": "cubicBezier",
|
|
60
|
+
"description": "Ideal for movement that starts and ends on the page."
|
|
61
|
+
},
|
|
62
|
+
"base-duration-0": {
|
|
63
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
64
|
+
"isSource": true,
|
|
65
|
+
"original": {
|
|
66
|
+
"$value": "0ms",
|
|
67
|
+
"$type": "duration"
|
|
68
|
+
},
|
|
69
|
+
"name": "base-duration-0",
|
|
70
|
+
"attributes": {},
|
|
71
|
+
"path": ["base", "duration", "0"],
|
|
72
|
+
"value": "0ms",
|
|
73
|
+
"type": "duration"
|
|
74
|
+
},
|
|
75
|
+
"base-duration-75": {
|
|
76
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
77
|
+
"isSource": true,
|
|
78
|
+
"original": {
|
|
79
|
+
"$value": "75ms",
|
|
80
|
+
"$type": "duration"
|
|
81
|
+
},
|
|
82
|
+
"name": "base-duration-75",
|
|
83
|
+
"attributes": {},
|
|
84
|
+
"path": ["base", "duration", "75"],
|
|
85
|
+
"value": "75ms",
|
|
86
|
+
"type": "duration"
|
|
87
|
+
},
|
|
88
|
+
"base-duration-200": {
|
|
89
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
90
|
+
"isSource": true,
|
|
91
|
+
"original": {
|
|
92
|
+
"$value": "200ms",
|
|
93
|
+
"$type": "duration"
|
|
94
|
+
},
|
|
95
|
+
"name": "base-duration-200",
|
|
96
|
+
"attributes": {},
|
|
97
|
+
"path": ["base", "duration", "200"],
|
|
98
|
+
"value": "200ms",
|
|
99
|
+
"type": "duration"
|
|
100
|
+
},
|
|
101
|
+
"base-duration-300": {
|
|
102
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
103
|
+
"isSource": true,
|
|
104
|
+
"original": {
|
|
105
|
+
"$value": "300ms",
|
|
106
|
+
"$type": "duration"
|
|
107
|
+
},
|
|
108
|
+
"name": "base-duration-300",
|
|
109
|
+
"attributes": {},
|
|
110
|
+
"path": ["base", "duration", "300"],
|
|
111
|
+
"value": "300ms",
|
|
112
|
+
"type": "duration"
|
|
113
|
+
},
|
|
114
|
+
"base-duration-400": {
|
|
115
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
116
|
+
"isSource": true,
|
|
117
|
+
"original": {
|
|
118
|
+
"$value": "400ms",
|
|
119
|
+
"$type": "duration"
|
|
120
|
+
},
|
|
121
|
+
"name": "base-duration-400",
|
|
122
|
+
"attributes": {},
|
|
123
|
+
"path": ["base", "duration", "400"],
|
|
124
|
+
"value": "400ms",
|
|
125
|
+
"type": "duration"
|
|
126
|
+
},
|
|
127
|
+
"base-duration-500": {
|
|
128
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
129
|
+
"isSource": true,
|
|
130
|
+
"original": {
|
|
131
|
+
"$value": "500ms",
|
|
132
|
+
"$type": "duration"
|
|
133
|
+
},
|
|
134
|
+
"name": "base-duration-500",
|
|
135
|
+
"attributes": {},
|
|
136
|
+
"path": ["base", "duration", "500"],
|
|
137
|
+
"value": "500ms",
|
|
138
|
+
"type": "duration"
|
|
139
|
+
},
|
|
140
|
+
"base-duration-600": {
|
|
141
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
142
|
+
"isSource": true,
|
|
143
|
+
"original": {
|
|
144
|
+
"$value": "600ms",
|
|
145
|
+
"$type": "duration"
|
|
146
|
+
},
|
|
147
|
+
"name": "base-duration-600",
|
|
148
|
+
"attributes": {},
|
|
149
|
+
"path": ["base", "duration", "600"],
|
|
150
|
+
"value": "600ms",
|
|
151
|
+
"type": "duration"
|
|
152
|
+
},
|
|
153
|
+
"base-duration-700": {
|
|
154
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
155
|
+
"isSource": true,
|
|
156
|
+
"original": {
|
|
157
|
+
"$value": "700ms",
|
|
158
|
+
"$type": "duration"
|
|
159
|
+
},
|
|
160
|
+
"name": "base-duration-700",
|
|
161
|
+
"attributes": {},
|
|
162
|
+
"path": ["base", "duration", "700"],
|
|
163
|
+
"value": "700ms",
|
|
164
|
+
"type": "duration"
|
|
165
|
+
},
|
|
166
|
+
"base-duration-800": {
|
|
167
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
168
|
+
"isSource": true,
|
|
169
|
+
"original": {
|
|
170
|
+
"$value": "800ms",
|
|
171
|
+
"$type": "duration"
|
|
172
|
+
},
|
|
173
|
+
"name": "base-duration-800",
|
|
174
|
+
"attributes": {},
|
|
175
|
+
"path": ["base", "duration", "800"],
|
|
176
|
+
"value": "800ms",
|
|
177
|
+
"type": "duration"
|
|
178
|
+
},
|
|
179
|
+
"base-duration-900": {
|
|
180
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
181
|
+
"isSource": true,
|
|
182
|
+
"original": {
|
|
183
|
+
"$value": "900ms",
|
|
184
|
+
"$type": "duration"
|
|
185
|
+
},
|
|
186
|
+
"name": "base-duration-900",
|
|
187
|
+
"attributes": {},
|
|
188
|
+
"path": ["base", "duration", "900"],
|
|
189
|
+
"value": "900ms",
|
|
190
|
+
"type": "duration"
|
|
191
|
+
},
|
|
192
|
+
"base-duration-1000": {
|
|
193
|
+
"filePath": "src/tokens/base/motion/timing.json5",
|
|
194
|
+
"isSource": true,
|
|
195
|
+
"original": {
|
|
196
|
+
"$value": "1000ms",
|
|
197
|
+
"$type": "duration"
|
|
198
|
+
},
|
|
199
|
+
"name": "base-duration-1000",
|
|
200
|
+
"attributes": {},
|
|
201
|
+
"path": ["base", "duration", "1000"],
|
|
202
|
+
"value": "1000ms",
|
|
203
|
+
"type": "duration"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"filePath": "src/tokens/functional/motion/loading.json5",
|
|
4
4
|
"isSource": true,
|
|
5
5
|
"original": {
|
|
6
|
-
"$value": "
|
|
6
|
+
"$value": "{base.duration.1000}",
|
|
7
7
|
"$type": "duration",
|
|
8
8
|
"$description": "The amount of time to wait before showing a loading indicator or announcing a loading state to assistive technologies."
|
|
9
9
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
19
19
|
"isSource": true,
|
|
20
20
|
"original": {
|
|
21
|
-
"$value": "
|
|
21
|
+
"$value": "{base.duration.1000}",
|
|
22
22
|
"$type": "duration",
|
|
23
23
|
"$description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
|
|
24
24
|
},
|
|
@@ -29,11 +29,26 @@
|
|
|
29
29
|
"type": "duration",
|
|
30
30
|
"description": "The amount of time it takes the \"Spinner\" loading indicator to make a full 360deg rotation"
|
|
31
31
|
},
|
|
32
|
+
"motion-spinner-easing-rotation": {
|
|
33
|
+
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
34
|
+
"isSource": true,
|
|
35
|
+
"original": {
|
|
36
|
+
"$value": "{base.easing.linear}",
|
|
37
|
+
"$type": "cubicBezier",
|
|
38
|
+
"$description": "The easing curve for the \"Spinner\" loading indicator rotation"
|
|
39
|
+
},
|
|
40
|
+
"name": "motion-spinner-easing-rotation",
|
|
41
|
+
"attributes": {},
|
|
42
|
+
"path": ["motion", "spinner", "easing", "rotation"],
|
|
43
|
+
"value": [0, 0, 1, 1],
|
|
44
|
+
"type": "cubicBezier",
|
|
45
|
+
"description": "The easing curve for the \"Spinner\" loading indicator rotation"
|
|
46
|
+
},
|
|
32
47
|
"motion-skeletonLoader-shimmer-duration-scale": {
|
|
33
48
|
"filePath": "src/tokens/functional/motion/patterns.json5",
|
|
34
49
|
"isSource": true,
|
|
35
50
|
"original": {
|
|
36
|
-
"$value": "
|
|
51
|
+
"$value": "{base.duration.1000}",
|
|
37
52
|
"$type": "duration",
|
|
38
53
|
"$description": "The amount of times it takes the \"shimmer\" effect to go from the start (left) of the skeleton loader to the end (right)"
|
|
39
54
|
},
|
|
@@ -7113,6 +7113,35 @@
|
|
|
7113
7113
|
"value": "#f0f6fc",
|
|
7114
7114
|
"type": "color"
|
|
7115
7115
|
},
|
|
7116
|
+
"button-invisible-fgColor-active": {
|
|
7117
|
+
"$extensions": {
|
|
7118
|
+
"org.primer.figma": {
|
|
7119
|
+
"collection": "mode",
|
|
7120
|
+
"mode": "dark",
|
|
7121
|
+
"group": "component (internal)",
|
|
7122
|
+
"scopes": ["fgColor"]
|
|
7123
|
+
}
|
|
7124
|
+
},
|
|
7125
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
7126
|
+
"isSource": true,
|
|
7127
|
+
"original": {
|
|
7128
|
+
"$value": "{control.fgColor.rest}",
|
|
7129
|
+
"$type": "color",
|
|
7130
|
+
"$extensions": {
|
|
7131
|
+
"org.primer.figma": {
|
|
7132
|
+
"collection": "mode",
|
|
7133
|
+
"mode": "dark",
|
|
7134
|
+
"group": "component (internal)",
|
|
7135
|
+
"scopes": ["fgColor"]
|
|
7136
|
+
}
|
|
7137
|
+
}
|
|
7138
|
+
},
|
|
7139
|
+
"name": "button-invisible-fgColor-active",
|
|
7140
|
+
"attributes": {},
|
|
7141
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7142
|
+
"value": "#f0f6fc",
|
|
7143
|
+
"type": "color"
|
|
7144
|
+
},
|
|
7116
7145
|
"button-invisible-fgColor-disabled": {
|
|
7117
7146
|
"$extensions": {
|
|
7118
7147
|
"org.primer.figma": {
|
|
@@ -7109,6 +7109,35 @@
|
|
|
7109
7109
|
"value": "#d1d7e0",
|
|
7110
7110
|
"type": "color"
|
|
7111
7111
|
},
|
|
7112
|
+
"button-invisible-fgColor-active": {
|
|
7113
|
+
"$extensions": {
|
|
7114
|
+
"org.primer.figma": {
|
|
7115
|
+
"collection": "mode",
|
|
7116
|
+
"mode": "dark",
|
|
7117
|
+
"group": "component (internal)",
|
|
7118
|
+
"scopes": ["fgColor"]
|
|
7119
|
+
}
|
|
7120
|
+
},
|
|
7121
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
7122
|
+
"isSource": true,
|
|
7123
|
+
"original": {
|
|
7124
|
+
"$value": "{control.fgColor.rest}",
|
|
7125
|
+
"$type": "color",
|
|
7126
|
+
"$extensions": {
|
|
7127
|
+
"org.primer.figma": {
|
|
7128
|
+
"collection": "mode",
|
|
7129
|
+
"mode": "dark",
|
|
7130
|
+
"group": "component (internal)",
|
|
7131
|
+
"scopes": ["fgColor"]
|
|
7132
|
+
}
|
|
7133
|
+
}
|
|
7134
|
+
},
|
|
7135
|
+
"name": "button-invisible-fgColor-active",
|
|
7136
|
+
"attributes": {},
|
|
7137
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7138
|
+
"value": "#d1d7e0",
|
|
7139
|
+
"type": "color"
|
|
7140
|
+
},
|
|
7112
7141
|
"button-invisible-fgColor-disabled": {
|
|
7113
7142
|
"$extensions": {
|
|
7114
7143
|
"org.primer.figma": {
|
|
@@ -5837,6 +5837,35 @@
|
|
|
5837
5837
|
"value": "#ffffff",
|
|
5838
5838
|
"type": "color"
|
|
5839
5839
|
},
|
|
5840
|
+
"button-invisible-fgColor-active": {
|
|
5841
|
+
"$extensions": {
|
|
5842
|
+
"org.primer.figma": {
|
|
5843
|
+
"collection": "mode",
|
|
5844
|
+
"mode": "dark",
|
|
5845
|
+
"group": "component (internal)",
|
|
5846
|
+
"scopes": ["fgColor"]
|
|
5847
|
+
}
|
|
5848
|
+
},
|
|
5849
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
5850
|
+
"isSource": true,
|
|
5851
|
+
"original": {
|
|
5852
|
+
"$value": "{control.fgColor.rest}",
|
|
5853
|
+
"$type": "color",
|
|
5854
|
+
"$extensions": {
|
|
5855
|
+
"org.primer.figma": {
|
|
5856
|
+
"collection": "mode",
|
|
5857
|
+
"mode": "dark",
|
|
5858
|
+
"group": "component (internal)",
|
|
5859
|
+
"scopes": ["fgColor"]
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
},
|
|
5863
|
+
"name": "button-invisible-fgColor-active",
|
|
5864
|
+
"attributes": {},
|
|
5865
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
5866
|
+
"value": "#ffffff",
|
|
5867
|
+
"type": "color"
|
|
5868
|
+
},
|
|
5840
5869
|
"button-invisible-fgColor-disabled": {
|
|
5841
5870
|
"$extensions": {
|
|
5842
5871
|
"org.primer.figma": {
|
|
@@ -7205,6 +7205,35 @@
|
|
|
7205
7205
|
"value": "#f0f6fc",
|
|
7206
7206
|
"type": "color"
|
|
7207
7207
|
},
|
|
7208
|
+
"button-invisible-fgColor-active": {
|
|
7209
|
+
"$extensions": {
|
|
7210
|
+
"org.primer.figma": {
|
|
7211
|
+
"collection": "mode",
|
|
7212
|
+
"mode": "dark",
|
|
7213
|
+
"group": "component (internal)",
|
|
7214
|
+
"scopes": ["fgColor"]
|
|
7215
|
+
}
|
|
7216
|
+
},
|
|
7217
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
7218
|
+
"isSource": true,
|
|
7219
|
+
"original": {
|
|
7220
|
+
"$value": "{control.fgColor.rest}",
|
|
7221
|
+
"$type": "color",
|
|
7222
|
+
"$extensions": {
|
|
7223
|
+
"org.primer.figma": {
|
|
7224
|
+
"collection": "mode",
|
|
7225
|
+
"mode": "dark",
|
|
7226
|
+
"group": "component (internal)",
|
|
7227
|
+
"scopes": ["fgColor"]
|
|
7228
|
+
}
|
|
7229
|
+
}
|
|
7230
|
+
},
|
|
7231
|
+
"name": "button-invisible-fgColor-active",
|
|
7232
|
+
"attributes": {},
|
|
7233
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7234
|
+
"value": "#f0f6fc",
|
|
7235
|
+
"type": "color"
|
|
7236
|
+
},
|
|
7208
7237
|
"button-invisible-fgColor-disabled": {
|
|
7209
7238
|
"$extensions": {
|
|
7210
7239
|
"org.primer.figma": {
|
|
@@ -7317,6 +7317,35 @@
|
|
|
7317
7317
|
"value": "#f0f6fc",
|
|
7318
7318
|
"type": "color"
|
|
7319
7319
|
},
|
|
7320
|
+
"button-invisible-fgColor-active": {
|
|
7321
|
+
"$extensions": {
|
|
7322
|
+
"org.primer.figma": {
|
|
7323
|
+
"collection": "mode",
|
|
7324
|
+
"mode": "dark",
|
|
7325
|
+
"group": "component (internal)",
|
|
7326
|
+
"scopes": ["fgColor"]
|
|
7327
|
+
}
|
|
7328
|
+
},
|
|
7329
|
+
"filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
|
|
7330
|
+
"isSource": true,
|
|
7331
|
+
"original": {
|
|
7332
|
+
"$value": "{control.fgColor.rest}",
|
|
7333
|
+
"$type": "color",
|
|
7334
|
+
"$extensions": {
|
|
7335
|
+
"org.primer.figma": {
|
|
7336
|
+
"collection": "mode",
|
|
7337
|
+
"mode": "dark",
|
|
7338
|
+
"group": "component (internal)",
|
|
7339
|
+
"scopes": ["fgColor"]
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
},
|
|
7343
|
+
"name": "button-invisible-fgColor-active",
|
|
7344
|
+
"attributes": {},
|
|
7345
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7346
|
+
"value": "#f0f6fc",
|
|
7347
|
+
"type": "color"
|
|
7348
|
+
},
|
|
7320
7349
|
"button-invisible-fgColor-disabled": {
|
|
7321
7350
|
"$extensions": {
|
|
7322
7351
|
"org.primer.figma": {
|
|
@@ -7123,6 +7123,35 @@
|
|
|
7123
7123
|
"value": "#25292e",
|
|
7124
7124
|
"type": "color"
|
|
7125
7125
|
},
|
|
7126
|
+
"button-invisible-fgColor-active": {
|
|
7127
|
+
"$extensions": {
|
|
7128
|
+
"org.primer.figma": {
|
|
7129
|
+
"collection": "mode",
|
|
7130
|
+
"mode": "light",
|
|
7131
|
+
"group": "component (internal)",
|
|
7132
|
+
"scopes": ["fgColor"]
|
|
7133
|
+
}
|
|
7134
|
+
},
|
|
7135
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
7136
|
+
"isSource": true,
|
|
7137
|
+
"original": {
|
|
7138
|
+
"$value": "{control.fgColor.rest}",
|
|
7139
|
+
"$type": "color",
|
|
7140
|
+
"$extensions": {
|
|
7141
|
+
"org.primer.figma": {
|
|
7142
|
+
"collection": "mode",
|
|
7143
|
+
"mode": "light",
|
|
7144
|
+
"group": "component (internal)",
|
|
7145
|
+
"scopes": ["fgColor"]
|
|
7146
|
+
}
|
|
7147
|
+
}
|
|
7148
|
+
},
|
|
7149
|
+
"name": "button-invisible-fgColor-active",
|
|
7150
|
+
"attributes": {},
|
|
7151
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7152
|
+
"value": "#25292e",
|
|
7153
|
+
"type": "color"
|
|
7154
|
+
},
|
|
7126
7155
|
"button-invisible-fgColor-disabled": {
|
|
7127
7156
|
"$extensions": {
|
|
7128
7157
|
"org.primer.figma": {
|
|
@@ -5873,6 +5873,35 @@
|
|
|
5873
5873
|
"value": "#393f46",
|
|
5874
5874
|
"type": "color"
|
|
5875
5875
|
},
|
|
5876
|
+
"button-invisible-fgColor-active": {
|
|
5877
|
+
"$extensions": {
|
|
5878
|
+
"org.primer.figma": {
|
|
5879
|
+
"collection": "mode",
|
|
5880
|
+
"mode": "light",
|
|
5881
|
+
"group": "component (internal)",
|
|
5882
|
+
"scopes": ["fgColor"]
|
|
5883
|
+
}
|
|
5884
|
+
},
|
|
5885
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
5886
|
+
"isSource": true,
|
|
5887
|
+
"original": {
|
|
5888
|
+
"$value": "{control.fgColor.rest}",
|
|
5889
|
+
"$type": "color",
|
|
5890
|
+
"$extensions": {
|
|
5891
|
+
"org.primer.figma": {
|
|
5892
|
+
"collection": "mode",
|
|
5893
|
+
"mode": "light",
|
|
5894
|
+
"group": "component (internal)",
|
|
5895
|
+
"scopes": ["fgColor"]
|
|
5896
|
+
}
|
|
5897
|
+
}
|
|
5898
|
+
},
|
|
5899
|
+
"name": "button-invisible-fgColor-active",
|
|
5900
|
+
"attributes": {},
|
|
5901
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
5902
|
+
"value": "#25292e",
|
|
5903
|
+
"type": "color"
|
|
5904
|
+
},
|
|
5876
5905
|
"button-invisible-fgColor-disabled": {
|
|
5877
5906
|
"$extensions": {
|
|
5878
5907
|
"org.primer.figma": {
|
|
@@ -7139,6 +7139,35 @@
|
|
|
7139
7139
|
"value": "#25292e",
|
|
7140
7140
|
"type": "color"
|
|
7141
7141
|
},
|
|
7142
|
+
"button-invisible-fgColor-active": {
|
|
7143
|
+
"$extensions": {
|
|
7144
|
+
"org.primer.figma": {
|
|
7145
|
+
"collection": "mode",
|
|
7146
|
+
"mode": "light",
|
|
7147
|
+
"group": "component (internal)",
|
|
7148
|
+
"scopes": ["fgColor"]
|
|
7149
|
+
}
|
|
7150
|
+
},
|
|
7151
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
7152
|
+
"isSource": true,
|
|
7153
|
+
"original": {
|
|
7154
|
+
"$value": "{control.fgColor.rest}",
|
|
7155
|
+
"$type": "color",
|
|
7156
|
+
"$extensions": {
|
|
7157
|
+
"org.primer.figma": {
|
|
7158
|
+
"collection": "mode",
|
|
7159
|
+
"mode": "light",
|
|
7160
|
+
"group": "component (internal)",
|
|
7161
|
+
"scopes": ["fgColor"]
|
|
7162
|
+
}
|
|
7163
|
+
}
|
|
7164
|
+
},
|
|
7165
|
+
"name": "button-invisible-fgColor-active",
|
|
7166
|
+
"attributes": {},
|
|
7167
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7168
|
+
"value": "#25292e",
|
|
7169
|
+
"type": "color"
|
|
7170
|
+
},
|
|
7142
7171
|
"button-invisible-fgColor-disabled": {
|
|
7143
7172
|
"$extensions": {
|
|
7144
7173
|
"org.primer.figma": {
|
|
@@ -7283,6 +7283,35 @@
|
|
|
7283
7283
|
"value": "#25292e",
|
|
7284
7284
|
"type": "color"
|
|
7285
7285
|
},
|
|
7286
|
+
"button-invisible-fgColor-active": {
|
|
7287
|
+
"$extensions": {
|
|
7288
|
+
"org.primer.figma": {
|
|
7289
|
+
"collection": "mode",
|
|
7290
|
+
"mode": "light",
|
|
7291
|
+
"group": "component (internal)",
|
|
7292
|
+
"scopes": ["fgColor"]
|
|
7293
|
+
}
|
|
7294
|
+
},
|
|
7295
|
+
"filePath": "src/tokens/functional/color/light/patterns-light.json5",
|
|
7296
|
+
"isSource": true,
|
|
7297
|
+
"original": {
|
|
7298
|
+
"$value": "{control.fgColor.rest}",
|
|
7299
|
+
"$type": "color",
|
|
7300
|
+
"$extensions": {
|
|
7301
|
+
"org.primer.figma": {
|
|
7302
|
+
"collection": "mode",
|
|
7303
|
+
"mode": "light",
|
|
7304
|
+
"group": "component (internal)",
|
|
7305
|
+
"scopes": ["fgColor"]
|
|
7306
|
+
}
|
|
7307
|
+
}
|
|
7308
|
+
},
|
|
7309
|
+
"name": "button-invisible-fgColor-active",
|
|
7310
|
+
"attributes": {},
|
|
7311
|
+
"path": ["button", "invisible", "fgColor", "active"],
|
|
7312
|
+
"value": "#25292e",
|
|
7313
|
+
"type": "color"
|
|
7314
|
+
},
|
|
7286
7315
|
"button-invisible-fgColor-disabled": {
|
|
7287
7316
|
"$extensions": {
|
|
7288
7317
|
"org.primer.figma": {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"--base-easing-linear": [0, 0, 1, 1],
|
|
3
|
+
"--base-easing-easeIn": [0.7, 0.1, 0.75, 0.9],
|
|
4
|
+
"--base-easing-easeOut": [0.16, 1, 0.3, 1],
|
|
5
|
+
"--base-easing-easeInOut": [0.6, 0, 0.2, 1],
|
|
6
|
+
"--base-duration-0": "0ms",
|
|
7
|
+
"--base-duration-75": "75ms",
|
|
8
|
+
"--base-duration-200": "200ms",
|
|
9
|
+
"--base-duration-300": "300ms",
|
|
10
|
+
"--base-duration-400": "400ms",
|
|
11
|
+
"--base-duration-500": "500ms",
|
|
12
|
+
"--base-duration-600": "600ms",
|
|
13
|
+
"--base-duration-700": "700ms",
|
|
14
|
+
"--base-duration-800": "800ms",
|
|
15
|
+
"--base-duration-900": "900ms",
|
|
16
|
+
"--base-duration-1000": "1000ms"
|
|
17
|
+
}
|