@primer/primitives 7.5.1-rc.e5be394 → 7.5.1
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/CHANGELOG.md +4 -2
- package/dist/js/colors/dark_colorblind.js +101 -101
- package/dist/js/colors/light_colorblind.js +102 -102
- package/dist/json/colors/dark_colorblind.json +101 -101
- package/dist/json/colors/light_colorblind.json +102 -102
- package/dist/scss/colors/_dark_colorblind.scss +101 -101
- package/dist/scss/colors/_light_colorblind.scss +102 -102
- package/dist/ts/colors/dark_colorblind.ts +101 -101
- package/dist/ts/colors/light_colorblind.ts +102 -102
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#306](https://github.com/primer/primitives/pull/306) [`8e9779c`](https://github.com/primer/primitives/commit/8e9779cd917554874bbc60cda0fd3baaf69118ca) Thanks [@Juliusschaeper](https://github.com/Juliusschaeper)! - Color scale improvements for Blue and Orange
|
|
8
8
|
|
|
9
|
-
* [#
|
|
9
|
+
* [#303](https://github.com/primer/primitives/pull/303) [`07e01ad`](https://github.com/primer/primitives/commit/07e01add2f4d48ca32ffed6e4c61304fd93d0a16) Thanks [@simurai](https://github.com/simurai)! - Update `closed` role for `dark_colorblind`
|
|
10
|
+
|
|
11
|
+
- [#304](https://github.com/primer/primitives/pull/304) [`94ae707`](https://github.com/primer/primitives/commit/94ae70763ac93e17c78bd5c2444d5ebb93fa0a7e) Thanks [@edokoa](https://github.com/edokoa)! - Change `scale.white` in dark mode to `#ffffff`
|
|
10
12
|
|
|
11
13
|
## 7.5.0
|
|
12
14
|
|
|
@@ -11,16 +11,16 @@ exports.default = {
|
|
|
11
11
|
"addition": {
|
|
12
12
|
"numText": "#c9d1d9",
|
|
13
13
|
"fg": "#c9d1d9",
|
|
14
|
-
"numBg": "rgba(
|
|
15
|
-
"lineBg": "rgba(
|
|
16
|
-
"wordBg": "rgba(
|
|
14
|
+
"numBg": "rgba(88,166,255,0.3)",
|
|
15
|
+
"lineBg": "rgba(56,139,253,0.15)",
|
|
16
|
+
"wordBg": "rgba(56,139,253,0.4)"
|
|
17
17
|
},
|
|
18
18
|
"deletion": {
|
|
19
19
|
"numText": "#c9d1d9",
|
|
20
20
|
"fg": "#c9d1d9",
|
|
21
|
-
"numBg": "rgba(
|
|
22
|
-
"lineBg": "rgba(
|
|
23
|
-
"wordBg": "rgba(
|
|
21
|
+
"numBg": "rgba(212,118,22,0.3)",
|
|
22
|
+
"lineBg": "rgba(212,118,22,0.15)",
|
|
23
|
+
"wordBg": "rgba(212,118,22,0.4)"
|
|
24
24
|
},
|
|
25
25
|
"hunk": {
|
|
26
26
|
"numBg": "rgba(56,139,253,0.4)"
|
|
@@ -33,7 +33,7 @@ exports.default = {
|
|
|
33
33
|
"diffstat": {
|
|
34
34
|
"deletionBorder": "rgba(240,246,252,0.1)",
|
|
35
35
|
"additionBorder": "rgba(240,246,252,0.1)",
|
|
36
|
-
"additionBg": "#
|
|
36
|
+
"additionBg": "#58a6ff"
|
|
37
37
|
},
|
|
38
38
|
"searchKeyword": {
|
|
39
39
|
"hl": "rgba(210,153,34,0.4)"
|
|
@@ -44,26 +44,26 @@ exports.default = {
|
|
|
44
44
|
"constant": "#79c0ff",
|
|
45
45
|
"entity": "#d2a8ff",
|
|
46
46
|
"storageModifierImport": "#c9d1d9",
|
|
47
|
-
"entityTag": "#
|
|
48
|
-
"keyword": "#
|
|
47
|
+
"entityTag": "#a5d6ff",
|
|
48
|
+
"keyword": "#ec8e2c",
|
|
49
49
|
"string": "#a5d6ff",
|
|
50
|
-
"variable": "#
|
|
51
|
-
"brackethighlighterUnmatched": "#
|
|
50
|
+
"variable": "#fdac54",
|
|
51
|
+
"brackethighlighterUnmatched": "#d47616",
|
|
52
52
|
"invalidIllegalText": "#f0f6fc",
|
|
53
|
-
"invalidIllegalBg": "#
|
|
53
|
+
"invalidIllegalBg": "#6c3906",
|
|
54
54
|
"carriageReturnText": "#f0f6fc",
|
|
55
|
-
"carriageReturnBg": "#
|
|
56
|
-
"stringRegexp": "#
|
|
55
|
+
"carriageReturnBg": "#914d04",
|
|
56
|
+
"stringRegexp": "#a5d6ff",
|
|
57
57
|
"markupList": "#f2cc60",
|
|
58
58
|
"markupHeading": "#1f6feb",
|
|
59
59
|
"markupItalic": "#c9d1d9",
|
|
60
60
|
"markupBold": "#c9d1d9",
|
|
61
|
-
"markupDeletedText": "#
|
|
62
|
-
"markupDeletedBg": "#
|
|
63
|
-
"markupInsertedText": "#
|
|
64
|
-
"markupInsertedBg": "#
|
|
65
|
-
"markupChangedText": "#
|
|
66
|
-
"markupChangedBg": "#
|
|
61
|
+
"markupDeletedText": "#ffe2bb",
|
|
62
|
+
"markupDeletedBg": "#4e2906",
|
|
63
|
+
"markupInsertedText": "#cae8ff",
|
|
64
|
+
"markupInsertedBg": "#0c2d6b",
|
|
65
|
+
"markupChangedText": "#ffe2bb",
|
|
66
|
+
"markupChangedBg": "#4e2906",
|
|
67
67
|
"markupIgnoredText": "#c9d1d9",
|
|
68
68
|
"markupIgnoredBg": "#1158c7",
|
|
69
69
|
"metaDiffRange": "#d2a8ff",
|
|
@@ -88,11 +88,11 @@ exports.default = {
|
|
|
88
88
|
"comment": "#8b949e",
|
|
89
89
|
"constant": "#79c0ff",
|
|
90
90
|
"entity": "#d2a8ff",
|
|
91
|
-
"keyword": "#
|
|
92
|
-
"storage": "#
|
|
91
|
+
"keyword": "#ec8e2c",
|
|
92
|
+
"storage": "#ec8e2c",
|
|
93
93
|
"string": "#a5d6ff",
|
|
94
94
|
"support": "#79c0ff",
|
|
95
|
-
"variable": "#
|
|
95
|
+
"variable": "#fdac54"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"checks": {
|
|
@@ -110,9 +110,9 @@ exports.default = {
|
|
|
110
110
|
"inputFocusText": "#c9d1d9",
|
|
111
111
|
"inputBg": "#161b22",
|
|
112
112
|
"inputShadow": "0 0 0 1px (obj) => get_1.default(obj, path)",
|
|
113
|
-
"donutError": "#
|
|
113
|
+
"donutError": "#d47616",
|
|
114
114
|
"donutPending": "#d29922",
|
|
115
|
-
"donutSuccess": "#
|
|
115
|
+
"donutSuccess": "#388bfd",
|
|
116
116
|
"donutNeutral": "#8b949e",
|
|
117
117
|
"dropdownText": "#c9d1d9",
|
|
118
118
|
"dropdownBg": "#161b22",
|
|
@@ -139,29 +139,29 @@ exports.default = {
|
|
|
139
139
|
"gateText": "#8b949e",
|
|
140
140
|
"gateWaitingText": "#d29922",
|
|
141
141
|
"stepHeaderOpenBg": "#161b22",
|
|
142
|
-
"stepErrorText": "#
|
|
142
|
+
"stepErrorText": "#d47616",
|
|
143
143
|
"stepWarningText": "#d29922",
|
|
144
144
|
"loglineText": "#8b949e",
|
|
145
145
|
"loglineNumText": "#484f58",
|
|
146
146
|
"loglineDebugText": "#a371f7",
|
|
147
147
|
"loglineErrorText": "#8b949e",
|
|
148
148
|
"loglineErrorNumText": "#484f58",
|
|
149
|
-
"loglineErrorBg": "rgba(
|
|
149
|
+
"loglineErrorBg": "rgba(212,118,22,0.15)",
|
|
150
150
|
"loglineWarningText": "#8b949e",
|
|
151
151
|
"loglineWarningNumText": "#d29922",
|
|
152
152
|
"loglineWarningBg": "rgba(187,128,9,0.15)",
|
|
153
153
|
"loglineCommandText": "#58a6ff",
|
|
154
|
-
"loglineSectionText": "#
|
|
154
|
+
"loglineSectionText": "#58a6ff",
|
|
155
155
|
"ansi": {
|
|
156
156
|
"black": "#0d1117",
|
|
157
157
|
"blackBright": "#161b22",
|
|
158
158
|
"white": "#b1bac4",
|
|
159
159
|
"whiteBright": "#b1bac4",
|
|
160
160
|
"gray": "#6e7681",
|
|
161
|
-
"red": "#
|
|
162
|
-
"redBright": "#
|
|
163
|
-
"green": "#
|
|
164
|
-
"greenBright": "#
|
|
161
|
+
"red": "#ec8e2c",
|
|
162
|
+
"redBright": "#fdac54",
|
|
163
|
+
"green": "#58a6ff",
|
|
164
|
+
"greenBright": "#79c0ff",
|
|
165
165
|
"yellow": "#d29922",
|
|
166
166
|
"yellowBright": "#e3b341",
|
|
167
167
|
"blue": "#58a6ff",
|
|
@@ -238,10 +238,10 @@ exports.default = {
|
|
|
238
238
|
"white": "#b1bac4",
|
|
239
239
|
"whiteBright": "#ffffff",
|
|
240
240
|
"gray": "#6e7681",
|
|
241
|
-
"red": "#
|
|
242
|
-
"redBright": "#
|
|
243
|
-
"green": "#
|
|
244
|
-
"greenBright": "#
|
|
241
|
+
"red": "#ec8e2c",
|
|
242
|
+
"redBright": "#fdac54",
|
|
243
|
+
"green": "#58a6ff",
|
|
244
|
+
"greenBright": "#79c0ff",
|
|
245
245
|
"yellow": "#d29922",
|
|
246
246
|
"yellowBright": "#e3b341",
|
|
247
247
|
"blue": "#58a6ff",
|
|
@@ -270,18 +270,18 @@ exports.default = {
|
|
|
270
270
|
"counterBg": "#30363d",
|
|
271
271
|
"primary": {
|
|
272
272
|
"text": "#ffffff",
|
|
273
|
-
"bg": "#
|
|
273
|
+
"bg": "#1f6feb",
|
|
274
274
|
"border": "rgba(240,246,252,0.1)",
|
|
275
275
|
"shadow": "0 0 transparent",
|
|
276
276
|
"insetShadow": "0 0 transparent",
|
|
277
|
-
"hoverBg": "#
|
|
277
|
+
"hoverBg": "#388bfd",
|
|
278
278
|
"hoverBorder": "rgba(240,246,252,0.1)",
|
|
279
|
-
"selectedBg": "#
|
|
279
|
+
"selectedBg": "#1f6feb",
|
|
280
280
|
"selectedShadow": "0 0 transparent",
|
|
281
281
|
"disabledText": "rgba(255,255,255,0.5)",
|
|
282
|
-
"disabledBg": "rgba(
|
|
282
|
+
"disabledBg": "rgba(31,111,235,0.6)",
|
|
283
283
|
"disabledBorder": "rgba(240,246,252,0.1)",
|
|
284
|
-
"focusBg": "#
|
|
284
|
+
"focusBg": "#1f6feb",
|
|
285
285
|
"focusBorder": "rgba(240,246,252,0.1)",
|
|
286
286
|
"focusShadow": "0 0 0 3px rgba(46,164,79,0.4)",
|
|
287
287
|
"icon": "#ffffff",
|
|
@@ -307,25 +307,25 @@ exports.default = {
|
|
|
307
307
|
"counterBg": "rgba(31,111,235,0.1)"
|
|
308
308
|
},
|
|
309
309
|
"danger": {
|
|
310
|
-
"text": "#
|
|
310
|
+
"text": "#d47616",
|
|
311
311
|
"hoverText": "#ffffff",
|
|
312
|
-
"hoverBg": "#
|
|
313
|
-
"hoverBorder": "#
|
|
312
|
+
"hoverBg": "#b76100",
|
|
313
|
+
"hoverBorder": "#d47616",
|
|
314
314
|
"hoverShadow": "0 0 transparent",
|
|
315
315
|
"hoverInsetShadow": "0 0 transparent",
|
|
316
316
|
"hoverIcon": "#ffffff",
|
|
317
317
|
"hoverCounterBg": "rgba(255,255,255,0.2)",
|
|
318
318
|
"selectedText": "#ffffff",
|
|
319
|
-
"selectedBg": "#
|
|
320
|
-
"selectedBorder": "#
|
|
319
|
+
"selectedBg": "#914d04",
|
|
320
|
+
"selectedBorder": "#ec8e2c",
|
|
321
321
|
"selectedShadow": "0 0 transparent",
|
|
322
|
-
"disabledText": "rgba(
|
|
322
|
+
"disabledText": "rgba(212,118,22,0.5)",
|
|
323
323
|
"disabledBg": "#0d1117",
|
|
324
|
-
"disabledCounterBg": "rgba(
|
|
325
|
-
"focusBorder": "#
|
|
326
|
-
"focusShadow": "0 0 0 3px rgba(
|
|
327
|
-
"counterBg": "rgba(
|
|
328
|
-
"icon": "#
|
|
324
|
+
"disabledCounterBg": "rgba(183,97,0,0.05)",
|
|
325
|
+
"focusBorder": "#d47616",
|
|
326
|
+
"focusShadow": "0 0 0 3px rgba(212,118,22,0.4)",
|
|
327
|
+
"counterBg": "rgba(183,97,0,0.1)",
|
|
328
|
+
"icon": "#d47616"
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
331
|
"underlinenav": {
|
|
@@ -342,9 +342,9 @@ exports.default = {
|
|
|
342
342
|
"selectedBg": "rgba(177,186,196,0.08)"
|
|
343
343
|
},
|
|
344
344
|
"danger": {
|
|
345
|
-
"hoverBg": "rgba(
|
|
346
|
-
"activeBg": "rgba(
|
|
347
|
-
"hoverText": "#
|
|
345
|
+
"hoverBg": "rgba(212,118,22,0.16)",
|
|
346
|
+
"activeBg": "rgba(212,118,22,0.24)",
|
|
347
|
+
"hoverText": "#ec8e2c"
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
"fg": {
|
|
@@ -383,10 +383,10 @@ exports.default = {
|
|
|
383
383
|
"subtle": "rgba(56,139,253,0.15)"
|
|
384
384
|
},
|
|
385
385
|
"success": {
|
|
386
|
-
"fg": "#
|
|
387
|
-
"emphasis": "#
|
|
388
|
-
"muted": "rgba(
|
|
389
|
-
"subtle": "rgba(
|
|
386
|
+
"fg": "#58a6ff",
|
|
387
|
+
"emphasis": "#1f6feb",
|
|
388
|
+
"muted": "rgba(56,139,253,0.4)",
|
|
389
|
+
"subtle": "rgba(56,139,253,0.15)"
|
|
390
390
|
},
|
|
391
391
|
"attention": {
|
|
392
392
|
"fg": "#d29922",
|
|
@@ -395,22 +395,22 @@ exports.default = {
|
|
|
395
395
|
"subtle": "rgba(187,128,9,0.15)"
|
|
396
396
|
},
|
|
397
397
|
"severe": {
|
|
398
|
-
"fg": "#
|
|
399
|
-
"emphasis": "#
|
|
400
|
-
"muted": "rgba(
|
|
401
|
-
"subtle": "rgba(
|
|
398
|
+
"fg": "#d47616",
|
|
399
|
+
"emphasis": "#b76100",
|
|
400
|
+
"muted": "rgba(212,118,22,0.4)",
|
|
401
|
+
"subtle": "rgba(212,118,22,0.15)"
|
|
402
402
|
},
|
|
403
403
|
"danger": {
|
|
404
|
-
"fg": "#
|
|
405
|
-
"emphasis": "#
|
|
406
|
-
"muted": "rgba(
|
|
407
|
-
"subtle": "rgba(
|
|
404
|
+
"fg": "#d47616",
|
|
405
|
+
"emphasis": "#b76100",
|
|
406
|
+
"muted": "rgba(212,118,22,0.4)",
|
|
407
|
+
"subtle": "rgba(212,118,22,0.15)"
|
|
408
408
|
},
|
|
409
409
|
"open": {
|
|
410
|
-
"fg": "#
|
|
411
|
-
"emphasis": "#
|
|
412
|
-
"muted": "rgba(
|
|
413
|
-
"subtle": "rgba(
|
|
410
|
+
"fg": "#ec8e2c",
|
|
411
|
+
"emphasis": "#b76100",
|
|
412
|
+
"muted": "rgba(212,118,22,0.4)",
|
|
413
|
+
"subtle": "rgba(212,118,22,0.15)"
|
|
414
414
|
},
|
|
415
415
|
"closed": {
|
|
416
416
|
"fg": "#8b949e",
|
|
@@ -476,16 +476,16 @@ exports.default = {
|
|
|
476
476
|
"#051d4d"
|
|
477
477
|
],
|
|
478
478
|
"green": [
|
|
479
|
-
"#
|
|
480
|
-
"#
|
|
481
|
-
"#
|
|
482
|
-
"#
|
|
483
|
-
"#
|
|
484
|
-
"#
|
|
485
|
-
"#
|
|
486
|
-
"#
|
|
487
|
-
"#
|
|
488
|
-
"#
|
|
479
|
+
"#cae8ff",
|
|
480
|
+
"#a5d6ff",
|
|
481
|
+
"#79c0ff",
|
|
482
|
+
"#58a6ff",
|
|
483
|
+
"#388bfd",
|
|
484
|
+
"#1f6feb",
|
|
485
|
+
"#1158c7",
|
|
486
|
+
"#0d419d",
|
|
487
|
+
"#0c2d6b",
|
|
488
|
+
"#051d4d"
|
|
489
489
|
],
|
|
490
490
|
"yellow": [
|
|
491
491
|
"#f8e3a1",
|
|
@@ -500,28 +500,28 @@ exports.default = {
|
|
|
500
500
|
"#341a00"
|
|
501
501
|
],
|
|
502
502
|
"orange": [
|
|
503
|
-
"#
|
|
504
|
-
"#
|
|
505
|
-
"#
|
|
506
|
-
"#
|
|
507
|
-
"#
|
|
508
|
-
"#
|
|
509
|
-
"#
|
|
510
|
-
"#
|
|
511
|
-
"#
|
|
512
|
-
"#
|
|
503
|
+
"#ffe2bb",
|
|
504
|
+
"#ffc981",
|
|
505
|
+
"#fdac54",
|
|
506
|
+
"#ec8e2c",
|
|
507
|
+
"#d47616",
|
|
508
|
+
"#b76100",
|
|
509
|
+
"#914d04",
|
|
510
|
+
"#6c3906",
|
|
511
|
+
"#4e2906",
|
|
512
|
+
"#331c04"
|
|
513
513
|
],
|
|
514
514
|
"red": [
|
|
515
|
-
"#
|
|
516
|
-
"#
|
|
517
|
-
"#
|
|
518
|
-
"#
|
|
519
|
-
"#
|
|
520
|
-
"#
|
|
521
|
-
"#
|
|
522
|
-
"#
|
|
523
|
-
"#
|
|
524
|
-
"#
|
|
515
|
+
"#ffe2bb",
|
|
516
|
+
"#ffc981",
|
|
517
|
+
"#fdac54",
|
|
518
|
+
"#ec8e2c",
|
|
519
|
+
"#d47616",
|
|
520
|
+
"#b76100",
|
|
521
|
+
"#914d04",
|
|
522
|
+
"#6c3906",
|
|
523
|
+
"#4e2906",
|
|
524
|
+
"#331c04"
|
|
525
525
|
],
|
|
526
526
|
"purple": [
|
|
527
527
|
"#eddeff",
|