@primer/primitives 8.2.3 → 8.2.4-rc.40404c05
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/dist/css/functional/themes/dark-colorblind.css +38 -38
- package/dist/css/functional/themes/dark-dimmed.css +38 -38
- package/dist/css/functional/themes/dark-high-contrast.css +38 -38
- package/dist/css/functional/themes/dark-tritanopia.css +38 -38
- package/dist/css/functional/themes/dark.css +38 -38
- package/dist/docs/functional/themes/dark-colorblind.json +61 -61
- package/dist/docs/functional/themes/dark-dimmed.json +62 -62
- package/dist/docs/functional/themes/dark-high-contrast.json +61 -61
- package/dist/docs/functional/themes/dark-tritanopia.json +61 -61
- package/dist/docs/functional/themes/dark.json +62 -62
- package/dist/docs/functional/themes/light-colorblind.json +25 -25
- package/dist/docs/functional/themes/light-high-contrast.json +25 -25
- package/dist/docs/functional/themes/light-tritanopia.json +25 -25
- package/dist/docs/functional/themes/light.json +27 -27
- package/dist/figma/themes/dark-colorblind.json +76 -76
- package/dist/figma/themes/dark-dimmed.json +76 -76
- package/dist/figma/themes/dark-high-contrast.json +76 -76
- package/dist/figma/themes/dark-tritanopia.json +76 -76
- package/dist/figma/themes/dark.json +76 -76
- package/dist/internalCss/dark-colorblind.css +38 -38
- package/dist/internalCss/dark-dimmed.css +38 -38
- package/dist/internalCss/dark-high-contrast.css +38 -38
- package/dist/internalCss/dark-tritanopia.css +38 -38
- package/dist/internalCss/dark.css +38 -38
- package/dist/styleLint/functional/themes/dark-colorblind.json +61 -61
- package/dist/styleLint/functional/themes/dark-dimmed.json +62 -62
- package/dist/styleLint/functional/themes/dark-high-contrast.json +61 -61
- package/dist/styleLint/functional/themes/dark-tritanopia.json +61 -61
- package/dist/styleLint/functional/themes/dark.json +62 -62
- package/dist/styleLint/functional/themes/light-colorblind.json +25 -25
- package/dist/styleLint/functional/themes/light-high-contrast.json +25 -25
- package/dist/styleLint/functional/themes/light-tritanopia.json +25 -25
- package/dist/styleLint/functional/themes/light.json +27 -27
- package/package.json +1 -1
- package/src/tokens/functional/color/dark/display-dark.json5 +19 -19
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +8 -16
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +9 -17
- package/src/tokens/functional/color/dark/patterns-dark.json5 +10 -10
- package/src/tokens/functional/color/dark/primitives-dark.json5 +122 -146
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +4 -8
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +11 -19
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +8 -16
- package/src/tokens/functional/color/light/patterns-light.json5 +12 -12
- package/src/tokens/functional/color/light/primitives-light.json5 +122 -146
|
@@ -86,206 +86,182 @@
|
|
|
86
86
|
},
|
|
87
87
|
},
|
|
88
88
|
link: {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
'
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
web: 'var(--fgColor-link) /* utility class: .color-fg-accent */',
|
|
100
|
-
},
|
|
89
|
+
$value: '{fgColor.accent}',
|
|
90
|
+
$type: 'color',
|
|
91
|
+
$extensions: {
|
|
92
|
+
'org.primer.figma': {
|
|
93
|
+
collection: 'mode',
|
|
94
|
+
mode: 'light',
|
|
95
|
+
group: 'semantic',
|
|
96
|
+
scopes: ['fgColor'],
|
|
97
|
+
codeSyntax: {
|
|
98
|
+
web: 'var(--fgColor-link) /* utility class: .color-fg-accent */',
|
|
101
99
|
},
|
|
102
100
|
},
|
|
103
101
|
},
|
|
104
102
|
},
|
|
105
103
|
neutral: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
'
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
scopes: ['fgColor'],
|
|
115
|
-
},
|
|
104
|
+
$value: '{base.color.neutral.5}',
|
|
105
|
+
$type: 'color',
|
|
106
|
+
$extensions: {
|
|
107
|
+
'org.primer.figma': {
|
|
108
|
+
collection: 'mode',
|
|
109
|
+
mode: 'light',
|
|
110
|
+
group: 'semantic',
|
|
111
|
+
scopes: ['fgColor'],
|
|
116
112
|
},
|
|
117
113
|
},
|
|
118
114
|
},
|
|
119
115
|
accent: {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
'
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */',
|
|
131
|
-
},
|
|
116
|
+
$value: '{base.color.blue.5}',
|
|
117
|
+
$type: 'color',
|
|
118
|
+
$extensions: {
|
|
119
|
+
'org.primer.figma': {
|
|
120
|
+
collection: 'mode',
|
|
121
|
+
mode: 'light',
|
|
122
|
+
group: 'semantic',
|
|
123
|
+
scopes: ['fgColor'],
|
|
124
|
+
codeSyntax: {
|
|
125
|
+
web: 'var(--fgColor-accent) /* utility class: .color-fg-accent */',
|
|
132
126
|
},
|
|
133
127
|
},
|
|
134
128
|
},
|
|
135
129
|
},
|
|
136
130
|
success: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
'
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
web: 'var(--fgColor-success) /* utility class: .color-fg-success */',
|
|
148
|
-
},
|
|
131
|
+
$value: '{base.color.green.5}',
|
|
132
|
+
$type: 'color',
|
|
133
|
+
$extensions: {
|
|
134
|
+
'org.primer.figma': {
|
|
135
|
+
collection: 'mode',
|
|
136
|
+
mode: 'light',
|
|
137
|
+
group: 'semantic',
|
|
138
|
+
scopes: ['fgColor'],
|
|
139
|
+
codeSyntax: {
|
|
140
|
+
web: 'var(--fgColor-success) /* utility class: .color-fg-success */',
|
|
149
141
|
},
|
|
150
142
|
},
|
|
151
143
|
},
|
|
152
144
|
},
|
|
153
145
|
attention: {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
'
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */',
|
|
165
|
-
},
|
|
146
|
+
$value: '{base.color.yellow.5}',
|
|
147
|
+
$type: 'color',
|
|
148
|
+
$extensions: {
|
|
149
|
+
'org.primer.figma': {
|
|
150
|
+
collection: 'mode',
|
|
151
|
+
mode: 'light',
|
|
152
|
+
group: 'semantic',
|
|
153
|
+
scopes: ['fgColor'],
|
|
154
|
+
codeSyntax: {
|
|
155
|
+
web: 'var(--fgColor-attention) /* utility class: .color-fg-attention */',
|
|
166
156
|
},
|
|
167
157
|
},
|
|
168
158
|
},
|
|
169
159
|
},
|
|
170
160
|
severe: {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
'
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */',
|
|
182
|
-
},
|
|
161
|
+
$value: '{base.color.orange.5}',
|
|
162
|
+
$type: 'color',
|
|
163
|
+
$extensions: {
|
|
164
|
+
'org.primer.figma': {
|
|
165
|
+
collection: 'mode',
|
|
166
|
+
mode: 'light',
|
|
167
|
+
group: 'semantic',
|
|
168
|
+
scopes: ['fgColor'],
|
|
169
|
+
codeSyntax: {
|
|
170
|
+
web: 'var(--fgColor-severe) /* utility class: .color-fg-severe */',
|
|
183
171
|
},
|
|
184
172
|
},
|
|
185
173
|
},
|
|
186
174
|
},
|
|
187
175
|
danger: {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
'
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */',
|
|
199
|
-
},
|
|
176
|
+
$value: '{base.color.red.5}',
|
|
177
|
+
$type: 'color',
|
|
178
|
+
$extensions: {
|
|
179
|
+
'org.primer.figma': {
|
|
180
|
+
collection: 'mode',
|
|
181
|
+
mode: 'light',
|
|
182
|
+
group: 'semantic',
|
|
183
|
+
scopes: ['fgColor'],
|
|
184
|
+
codeSyntax: {
|
|
185
|
+
web: 'var(--fgColor-danger) /* utility class: .color-fg-danger */',
|
|
200
186
|
},
|
|
201
187
|
},
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
188
|
+
},
|
|
189
|
+
mix: {
|
|
190
|
+
color: '{base.color.red.4}',
|
|
191
|
+
weight: 0.05,
|
|
206
192
|
},
|
|
207
193
|
},
|
|
208
194
|
open: {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
'
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
web: 'var(--fgColor-open) /* utility class: .color-fg-open */',
|
|
220
|
-
},
|
|
195
|
+
$value: '{fgColor.success}',
|
|
196
|
+
$type: 'color',
|
|
197
|
+
$extensions: {
|
|
198
|
+
'org.primer.figma': {
|
|
199
|
+
collection: 'mode',
|
|
200
|
+
mode: 'light',
|
|
201
|
+
group: 'semantic',
|
|
202
|
+
scopes: ['fgColor'],
|
|
203
|
+
codeSyntax: {
|
|
204
|
+
web: 'var(--fgColor-open) /* utility class: .color-fg-open */',
|
|
221
205
|
},
|
|
222
206
|
},
|
|
223
207
|
},
|
|
224
208
|
},
|
|
225
209
|
closed: {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
'
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */',
|
|
237
|
-
},
|
|
210
|
+
$value: '{fgColor.danger}',
|
|
211
|
+
$type: 'color',
|
|
212
|
+
$extensions: {
|
|
213
|
+
'org.primer.figma': {
|
|
214
|
+
collection: 'mode',
|
|
215
|
+
mode: 'light',
|
|
216
|
+
group: 'semantic',
|
|
217
|
+
scopes: ['fgColor'],
|
|
218
|
+
codeSyntax: {
|
|
219
|
+
web: 'var(--fgColor-closed) /* utility class: .color-fg-closed */',
|
|
238
220
|
},
|
|
239
221
|
},
|
|
240
222
|
},
|
|
241
223
|
},
|
|
242
224
|
done: {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
'
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
web: 'var(--fgColor-done) /* utility class: .color-fg-done */',
|
|
254
|
-
},
|
|
225
|
+
$value: '{base.color.purple.5}',
|
|
226
|
+
$type: 'color',
|
|
227
|
+
$extensions: {
|
|
228
|
+
'org.primer.figma': {
|
|
229
|
+
collection: 'mode',
|
|
230
|
+
mode: 'light',
|
|
231
|
+
group: 'semantic',
|
|
232
|
+
scopes: ['fgColor'],
|
|
233
|
+
codeSyntax: {
|
|
234
|
+
web: 'var(--fgColor-done) /* utility class: .color-fg-done */',
|
|
255
235
|
},
|
|
256
236
|
},
|
|
257
237
|
},
|
|
258
238
|
},
|
|
259
239
|
upsell: {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
'
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
web: 'var(--fgColor-upsell)',
|
|
271
|
-
},
|
|
240
|
+
$value: '{base.color.purple.5}',
|
|
241
|
+
$type: 'color',
|
|
242
|
+
$extensions: {
|
|
243
|
+
'org.primer.figma': {
|
|
244
|
+
collection: 'mode',
|
|
245
|
+
mode: 'light',
|
|
246
|
+
group: 'semantic',
|
|
247
|
+
scopes: ['fgColor'],
|
|
248
|
+
codeSyntax: {
|
|
249
|
+
web: 'var(--fgColor-upsell)',
|
|
272
250
|
},
|
|
273
251
|
},
|
|
274
252
|
},
|
|
275
253
|
},
|
|
276
254
|
sponsors: {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
'
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */',
|
|
288
|
-
},
|
|
255
|
+
$value: '{base.color.pink.5}',
|
|
256
|
+
$type: 'color',
|
|
257
|
+
$extensions: {
|
|
258
|
+
'org.primer.figma': {
|
|
259
|
+
collection: 'mode',
|
|
260
|
+
mode: 'light',
|
|
261
|
+
group: 'semantic',
|
|
262
|
+
scopes: ['fgColor'],
|
|
263
|
+
codeSyntax: {
|
|
264
|
+
web: 'var(--fgColor-sponsors) /* utility class: .color-fg-sponsors */',
|
|
289
265
|
},
|
|
290
266
|
},
|
|
291
267
|
},
|