@primer/primitives 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,542 @@
1
+ export default {
2
+ "canvasDefaultTransparent": "rgba(255,255,255,0)",
3
+ "marketingIcon": {
4
+ "primary": "#1168e3",
5
+ "secondary": "#368cf9"
6
+ },
7
+ "diffBlob": {
8
+ "addition": {
9
+ "numText": "#24292F",
10
+ "fg": "#24292F",
11
+ "numBg": "#CCFFD8",
12
+ "lineBg": "#E6FFEC",
13
+ "wordBg": "#ABF2BC"
14
+ },
15
+ "deletion": {
16
+ "numText": "#24292F",
17
+ "fg": "#24292F",
18
+ "numBg": "#FFD7D5",
19
+ "lineBg": "#fff0ee",
20
+ "wordBg": "rgba(238,90,93,0.4)"
21
+ },
22
+ "hunk": {
23
+ "numBg": "rgba(54,140,249,0.4)"
24
+ },
25
+ "expander": {
26
+ "icon": "#24292F"
27
+ },
28
+ "selectedLineHighlightMixBlendMode": "multiply"
29
+ },
30
+ "diffstat": {
31
+ "deletionBorder": "rgba(1,4,9,0.9)",
32
+ "additionBorder": "rgba(1,4,9,0.9)",
33
+ "additionBg": "#117f32"
34
+ },
35
+ "searchKeyword": {
36
+ "hl": "#fcf7be"
37
+ },
38
+ "prettylights": {
39
+ "syntax": {
40
+ "comment": "#67707A",
41
+ "constant": "#023b95",
42
+ "entity": "#622cbc",
43
+ "storageModifierImport": "#24292F",
44
+ "entityTag": "#024c1a",
45
+ "keyword": "#a0111f",
46
+ "string": "#032563",
47
+ "variable": "#702c00",
48
+ "brackethighlighterUnmatched": "#6e011a",
49
+ "invalidIllegalText": "#FFFFFF",
50
+ "invalidIllegalBg": "#6e011a",
51
+ "carriageReturnText": "#FFFFFF",
52
+ "carriageReturnBg": "#a0111f",
53
+ "stringRegexp": "#024c1a",
54
+ "markupList": "#2e1800",
55
+ "markupHeading": "#023b95",
56
+ "markupItalic": "#24292F",
57
+ "markupBold": "#24292F",
58
+ "markupDeletedText": "#6e011a",
59
+ "markupDeletedBg": "#fff0ee",
60
+ "markupInsertedText": "#024c1a",
61
+ "markupInsertedBg": "#d2fedb",
62
+ "markupChangedText": "#702c00",
63
+ "markupChangedBg": "#ffc67b",
64
+ "markupIgnoredText": "#E7ECF0",
65
+ "markupIgnoredBg": "#023b95",
66
+ "metaDiffRange": "#622cbc",
67
+ "brackethighlighterAngle": "#4F5760",
68
+ "sublimelinterGutterMark": "#88929D",
69
+ "constantOtherReferenceLink": "#032563"
70
+ }
71
+ },
72
+ "codemirror": {
73
+ "text": "#24292F",
74
+ "bg": "#ffffff",
75
+ "guttersBg": "#ffffff",
76
+ "guttermarkerText": "#ffffff",
77
+ "guttermarkerSubtleText": "#67707A",
78
+ "linenumberText": "#24292F",
79
+ "cursor": "#24292F",
80
+ "selectionBg": "rgba(54,140,249,0.4)",
81
+ "activelineBg": "#E7ECF0",
82
+ "matchingbracketText": "#24292F",
83
+ "linesBg": "#ffffff",
84
+ "syntax": {
85
+ "comment": "#24292F",
86
+ "constant": "#023b95",
87
+ "entity": "#622cbc",
88
+ "keyword": "#a0111f",
89
+ "storage": "#a0111f",
90
+ "string": "#032563",
91
+ "support": "#023b95",
92
+ "variable": "#702c00"
93
+ }
94
+ },
95
+ "checks": {
96
+ "bg": "#24292F",
97
+ "runBorderWidth": "0px",
98
+ "containerBorderWidth": "0px",
99
+ "textPrimary": "#FFFFFF",
100
+ "textSecondary": "#88929D",
101
+ "textLink": "#368cf9",
102
+ "btnIcon": "#ACB6C0",
103
+ "btnHoverIcon": "#FFFFFF",
104
+ "btnHoverBg": "rgba(255,255,255,0.125)",
105
+ "inputText": "#E7ECF0",
106
+ "inputPlaceholderText": "#88929D",
107
+ "inputFocusText": "#88929D",
108
+ "inputBg": "#30363D",
109
+ "inputShadow": "none",
110
+ "donutError": "#d5232c",
111
+ "donutPending": "#956400",
112
+ "donutSuccess": "#117f32",
113
+ "donutNeutral": "#ACB6C0",
114
+ "dropdownText": "#ACB6C0",
115
+ "dropdownBg": "#30363D",
116
+ "dropdownBorder": "#3D454E",
117
+ "dropdownShadow": "rgba(1,4,9,0.3)",
118
+ "dropdownHoverText": "#FFFFFF",
119
+ "dropdownHoverBg": "#3D454E",
120
+ "dropdownBtnHoverText": "#FFFFFF",
121
+ "dropdownBtnHoverBg": "#30363D",
122
+ "scrollbarThumbBg": "#4F5760",
123
+ "headerLabelText": "#CED5DC",
124
+ "headerLabelOpenText": "#FFFFFF",
125
+ "headerBorder": "#30363D",
126
+ "headerIcon": "#88929D",
127
+ "lineText": "#CED5DC",
128
+ "lineNumText": "rgba(136,146,157,0.75)",
129
+ "lineTimestampText": "#88929D",
130
+ "lineHoverBg": "#30363D",
131
+ "lineSelectedBg": "rgba(17,104,227,0.15)",
132
+ "lineSelectedNumText": "#368cf9",
133
+ "lineDtFmText": "#24292F",
134
+ "lineDtFmBg": "#744500",
135
+ "gateBg": "rgba(96,55,0,0.15)",
136
+ "gateText": "#CED5DC",
137
+ "gateWaitingText": "#ACB6C0",
138
+ "stepHeaderOpenBg": "#30363D",
139
+ "stepErrorText": "#ee5a5d",
140
+ "stepWarningText": "#b58407",
141
+ "loglineText": "#88929D",
142
+ "loglineNumText": "rgba(136,146,157,0.75)",
143
+ "loglineDebugText": "#a371f7",
144
+ "loglineErrorText": "#CED5DC",
145
+ "loglineErrorNumText": "#ee5a5d",
146
+ "loglineErrorBg": "rgba(134,6,29,0.15)",
147
+ "loglineWarningText": "#CED5DC",
148
+ "loglineWarningNumText": "#b58407",
149
+ "loglineWarningBg": "rgba(96,55,0,0.15)",
150
+ "loglineCommandText": "#368cf9",
151
+ "loglineSectionText": "#26a148",
152
+ "ansi": {
153
+ "black": "#24292F",
154
+ "blackBright": "#30363D",
155
+ "white": "#CED5DC",
156
+ "whiteBright": "#CED5DC",
157
+ "gray": "#88929D",
158
+ "red": "#ee5a5d",
159
+ "redBright": "#ff8e8a",
160
+ "green": "#26a148",
161
+ "greenBright": "#43c663",
162
+ "yellow": "#b58407",
163
+ "yellowBright": "#d5a824",
164
+ "blue": "#368cf9",
165
+ "blueBright": "#67b3fd",
166
+ "magenta": "#a371f7",
167
+ "magentaBright": "#c49bff",
168
+ "cyan": "#76e3ea",
169
+ "cyanBright": "#b3f0ff"
170
+ }
171
+ },
172
+ "project": {
173
+ "headerBg": "#24292F",
174
+ "sidebarBg": "#ffffff",
175
+ "gradientIn": "#ffffff",
176
+ "gradientOut": "rgba(255,255,255,0)"
177
+ },
178
+ "mktg": {
179
+ "btn": {
180
+ "bg": "#1b1f23",
181
+ "shadow": {
182
+ "outline": "rgb(0 0 0 / 15%) 0 0 0 1px inset",
183
+ "focus": "rgb(0 0 0 / 15%) 0 0 0 4px",
184
+ "hover": "0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02)",
185
+ "hoverMuted": "rgb(0 0 0 / 70%) 0 0 0 2px inset"
186
+ }
187
+ }
188
+ },
189
+ "avatar": {
190
+ "bg": "#ffffff",
191
+ "border": "rgba(1,4,9,0.9)",
192
+ "stackFade": "#ACB6C0",
193
+ "stackFadeMore": "#CED5DC",
194
+ "childShadow": "-2px -2px 0 rgba(255,255,255,0.8)"
195
+ },
196
+ "topicTag": {
197
+ "border": "rgba(0,0,0,0)"
198
+ },
199
+ "selectMenu": {
200
+ "backdropBorder": "rgba(0,0,0,0)",
201
+ "tapHighlight": "rgba(172,182,192,0.5)",
202
+ "tapFocusBg": "#9cd7ff"
203
+ },
204
+ "overlay": {
205
+ "shadow": "0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(61,69,78,0.12)"
206
+ },
207
+ "header": {
208
+ "text": "rgba(255,255,255,0.7)",
209
+ "bg": "#24292F",
210
+ "logo": "#ffffff"
211
+ },
212
+ "headerSearch": {
213
+ "bg": "#24292F",
214
+ "border": "#4F5760"
215
+ },
216
+ "sidenav": {
217
+ "selectedBg": "#ffffff"
218
+ },
219
+ "menu": {
220
+ "bgActive": "rgba(0,0,0,0)"
221
+ },
222
+ "input": {
223
+ "disabledBg": "rgba(172,182,192,0.2)"
224
+ },
225
+ "timeline": {
226
+ "badgeBg": "#E7ECF0"
227
+ },
228
+ "ansi": {
229
+ "black": "#24292F",
230
+ "blackBright": "#4F5760",
231
+ "white": "#67707A",
232
+ "whiteBright": "#88929D",
233
+ "gray": "#67707A",
234
+ "red": "#a0111f",
235
+ "redBright": "#86061d",
236
+ "green": "#024c1a",
237
+ "greenBright": "#055d20",
238
+ "yellow": "#3f2200",
239
+ "yellowBright": "#4e2c00",
240
+ "blue": "#0349b4",
241
+ "blueBright": "#1168e3",
242
+ "magenta": "#622cbc",
243
+ "magentaBright": "#844ae7",
244
+ "cyan": "#1b7c83",
245
+ "cyanBright": "#3192aa"
246
+ },
247
+ "btn": {
248
+ "text": "#24292F",
249
+ "bg": "#FFFFFF",
250
+ "border": "rgba(1,4,9,0.9)",
251
+ "shadow": "0 1px 0 rgba(1,4,9,0.04)",
252
+ "insetShadow": "inset 0 1px 0 rgba(255,255,255,0.25)",
253
+ "hoverBg": "#f3f4f6",
254
+ "hoverBorder": "rgba(1,4,9,0.9)",
255
+ "activeBg": "hsla(220,14%,93%,1)",
256
+ "activeBorder": "rgba(1,4,9,0.9)",
257
+ "selectedBg": "hsla(220,14%,94%,1)",
258
+ "focusBg": "#FFFFFF",
259
+ "focusBorder": "rgba(1,4,9,0.9)",
260
+ "focusShadow": "0 0 0 3px rgba(3,73,180,0.3)",
261
+ "shadowActive": "inset 0 0.15em 0.3em rgba(1,4,9,0.15)",
262
+ "shadowInputFocus": "0 0 0 0.2em rgba(3,73,180,0.3)",
263
+ "counterBg": "rgba(1,4,9,0.08)",
264
+ "primary": {
265
+ "text": "#ffffff",
266
+ "bg": "#117f32",
267
+ "border": "rgba(1,4,9,0.9)",
268
+ "shadow": "0 1px 0 rgba(1,4,9,0.1)",
269
+ "insetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
270
+ "hoverBg": "#2c974b",
271
+ "hoverBorder": "rgba(1,4,9,0.9)",
272
+ "selectedBg": "hsla(137,55%,36%,1)",
273
+ "selectedShadow": "inset 0 1px 0 rgba(0,35,11,0.2)",
274
+ "disabledText": "rgba(255,255,255,0.8)",
275
+ "disabledBg": "#94d3a2",
276
+ "disabledBorder": "rgba(1,4,9,0.9)",
277
+ "focusBg": "#117f32",
278
+ "focusBorder": "rgba(1,4,9,0.9)",
279
+ "focusShadow": "0 0 0 3px rgba(17,127,50,0.4)",
280
+ "icon": "rgba(255,255,255,0.8)",
281
+ "counterBg": "rgba(255,255,255,0.2)"
282
+ },
283
+ "outline": {
284
+ "text": "#0349b4",
285
+ "hoverText": "#ffffff",
286
+ "hoverBg": "#0349b4",
287
+ "hoverBorder": "rgba(1,4,9,0.9)",
288
+ "hoverShadow": "0 1px 0 rgba(1,4,9,0.1)",
289
+ "hoverInsetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
290
+ "hoverCounterBg": "rgba(255,255,255,0.2)",
291
+ "selectedText": "#ffffff",
292
+ "selectedBg": "hsla(216,97%,33%,1)",
293
+ "selectedBorder": "rgba(1,4,9,0.9)",
294
+ "selectedShadow": "inset 0 1px 0 rgba(2,26,74,0.2)",
295
+ "disabledText": "rgba(3,73,180,0.5)",
296
+ "disabledBg": "#FFFFFF",
297
+ "disabledCounterBg": "rgba(3,73,180,0.05)",
298
+ "focusBorder": "rgba(1,4,9,0.9)",
299
+ "focusShadow": "0 0 0 3px rgba(2,59,149,0.4)",
300
+ "counterBg": "rgba(3,73,180,0.1)"
301
+ },
302
+ "danger": {
303
+ "text": "#a0111f",
304
+ "hoverText": "#ffffff",
305
+ "hoverBg": "#86061d",
306
+ "hoverBorder": "rgba(1,4,9,0.9)",
307
+ "hoverShadow": "0 1px 0 rgba(1,4,9,0.1)",
308
+ "hoverInsetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
309
+ "hoverCounterBg": "rgba(255,255,255,0.2)",
310
+ "selectedText": "#ffffff",
311
+ "selectedBg": "hsla(354,81%,32%,1)",
312
+ "selectedBorder": "rgba(1,4,9,0.9)",
313
+ "selectedShadow": "inset 0 1px 0 rgba(67,0,17,0.2)",
314
+ "disabledText": "rgba(160,17,31,0.5)",
315
+ "disabledBg": "#FFFFFF",
316
+ "disabledCounterBg": "rgba(160,17,31,0.05)",
317
+ "focusBorder": "rgba(1,4,9,0.9)",
318
+ "focusShadow": "0 0 0 3px rgba(134,6,29,0.4)",
319
+ "counterBg": "rgba(160,17,31,0.1)",
320
+ "icon": "#a0111f",
321
+ "hoverIcon": "#ffffff"
322
+ }
323
+ },
324
+ "underlinenav": {
325
+ "icon": "#67707A",
326
+ "borderHover": "rgba(172,182,192,0.2)"
327
+ },
328
+ "actionListItem": {
329
+ "inlineDivider": "rgba(36,41,47,0.48)",
330
+ "default": {
331
+ "hoverBg": "rgba(206,213,220,0.32)",
332
+ "activeBg": "rgba(206,213,220,0.48)",
333
+ "selectedBg": "rgba(206,213,220,0.24)"
334
+ },
335
+ "danger": {
336
+ "hoverBg": "rgba(255,240,238,0.64)",
337
+ "activeBg": "#fff0ee",
338
+ "hoverText": "#a0111f"
339
+ }
340
+ },
341
+ "fg": {
342
+ "default": "#24292F",
343
+ "muted": "#24292F",
344
+ "subtle": "#67707A",
345
+ "onEmphasis": "#ffffff"
346
+ },
347
+ "canvas": {
348
+ "default": "#ffffff",
349
+ "overlay": "#ffffff",
350
+ "inset": "#ffffff",
351
+ "subtle": "#E7ECF0"
352
+ },
353
+ "border": {
354
+ "default": "#24292F",
355
+ "muted": "#24292F",
356
+ "subtle": "rgba(1,4,9,0.9)"
357
+ },
358
+ "shadow": {
359
+ "small": "0 1px 0 rgba(1,4,9,0.04)",
360
+ "medium": "0 3px 6px rgba(136,146,157,0.15)",
361
+ "large": "0 8px 24px rgba(136,146,157,0.2)",
362
+ "extraLarge": "0 12px 28px rgba(136,146,157,0.3)"
363
+ },
364
+ "neutral": {
365
+ "emphasisPlus": "#24292F",
366
+ "emphasis": "#67707A",
367
+ "muted": "rgba(172,182,192,0.2)",
368
+ "subtle": "#E7ECF0"
369
+ },
370
+ "accent": {
371
+ "fg": "#0349b4",
372
+ "emphasis": "#0349b4",
373
+ "muted": "rgba(54,140,249,0.4)",
374
+ "subtle": "#dff7ff"
375
+ },
376
+ "success": {
377
+ "fg": "#055d20",
378
+ "emphasis": "#055d20",
379
+ "muted": "rgba(38,161,72,0.4)",
380
+ "subtle": "#d2fedb"
381
+ },
382
+ "attention": {
383
+ "fg": "#744500",
384
+ "emphasis": "#744500",
385
+ "muted": "rgba(181,132,7,0.4)",
386
+ "subtle": "#fcf7be"
387
+ },
388
+ "severe": {
389
+ "fg": "#873800",
390
+ "emphasis": "#873800",
391
+ "muted": "rgba(220,109,26,0.4)",
392
+ "subtle": "#fff2d5"
393
+ },
394
+ "danger": {
395
+ "fg": "#a0111f",
396
+ "emphasis": "#a0111f",
397
+ "muted": "rgba(238,90,93,0.4)",
398
+ "subtle": "#fff0ee"
399
+ },
400
+ "done": {
401
+ "fg": "#622cbc",
402
+ "emphasis": "#622cbc",
403
+ "muted": "rgba(163,113,247,0.4)",
404
+ "subtle": "#faf0fe"
405
+ },
406
+ "sponsors": {
407
+ "fg": "#971368",
408
+ "emphasis": "#971368",
409
+ "muted": "rgba(237,75,175,0.4)",
410
+ "subtle": "#feeff7"
411
+ },
412
+ "primer": {
413
+ "fg": {
414
+ "disabled": "#88929D"
415
+ },
416
+ "canvas": {
417
+ "backdrop": "rgba(1,4,9,0.5)",
418
+ "sticky": "rgba(255,255,255,0.95)"
419
+ },
420
+ "border": {
421
+ "active": "#ef5b48",
422
+ "contrast": "rgba(1,4,9,0.1)"
423
+ },
424
+ "shadow": {
425
+ "highlight": "inset 0 1px 0 rgba(255,255,255,0.25)",
426
+ "inset": "inset 0 1px 0 rgba(206,213,220,0.2)",
427
+ "focus": "0 0 0 3px rgba(3,73,180,0.3)"
428
+ }
429
+ },
430
+ "scale": {
431
+ "black": "#010409",
432
+ "white": "#ffffff",
433
+ "gray": [
434
+ "#FFFFFF",
435
+ "#E7ECF0",
436
+ "#CED5DC",
437
+ "#ACB6C0",
438
+ "#88929D",
439
+ "#67707A",
440
+ "#4F5760",
441
+ "#3D454E",
442
+ "#30363D",
443
+ "#24292F"
444
+ ],
445
+ "blue": [
446
+ "#dff7ff",
447
+ "#9cd7ff",
448
+ "#67b3fd",
449
+ "#368cf9",
450
+ "#1168e3",
451
+ "#0349b4",
452
+ "#023b95",
453
+ "#022f7a",
454
+ "#032563",
455
+ "#021a4a"
456
+ ],
457
+ "green": [
458
+ "#d2fedb",
459
+ "#82e596",
460
+ "#43c663",
461
+ "#26a148",
462
+ "#117f32",
463
+ "#055d20",
464
+ "#024c1a",
465
+ "#013d14",
466
+ "#003110",
467
+ "#00230b"
468
+ ],
469
+ "yellow": [
470
+ "#fcf7be",
471
+ "#f0ce53",
472
+ "#d5a824",
473
+ "#b58407",
474
+ "#956400",
475
+ "#744500",
476
+ "#603700",
477
+ "#4e2c00",
478
+ "#3f2200",
479
+ "#2e1800"
480
+ ],
481
+ "orange": [
482
+ "#fff2d5",
483
+ "#ffc67b",
484
+ "#f99636",
485
+ "#dc6d1a",
486
+ "#b45105",
487
+ "#873800",
488
+ "#702c00",
489
+ "#5b2300",
490
+ "#491b00",
491
+ "#361200"
492
+ ],
493
+ "red": [
494
+ "#fff0ee",
495
+ "#ffc1bc",
496
+ "#ff8e8a",
497
+ "#ee5a5d",
498
+ "#d5232c",
499
+ "#a0111f",
500
+ "#86061d",
501
+ "#6e011a",
502
+ "#5a0016",
503
+ "#430011"
504
+ ],
505
+ "purple": [
506
+ "#faf0fe",
507
+ "#e0c5ff",
508
+ "#c49bff",
509
+ "#a371f7",
510
+ "#844ae7",
511
+ "#622cbc",
512
+ "#512598",
513
+ "#411d7b",
514
+ "#341763",
515
+ "#260f49"
516
+ ],
517
+ "pink": [
518
+ "#feeff7",
519
+ "#ffbde0",
520
+ "#fc87ca",
521
+ "#ed4baf",
522
+ "#c9248e",
523
+ "#971368",
524
+ "#7d0c57",
525
+ "#660847",
526
+ "#53043a",
527
+ "#3e022b"
528
+ ],
529
+ "coral": [
530
+ "#fff0ed",
531
+ "#ffc2b6",
532
+ "#ff8f7e",
533
+ "#ef5b48",
534
+ "#cd3425",
535
+ "#9f1710",
536
+ "#870706",
537
+ "#6f0107",
538
+ "#5b0002",
539
+ "#430200"
540
+ ]
541
+ }
542
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "files": ["dist"],
6
6
  "main": "dist/js/index.js",