@primer/primitives 7.2.0-rc.a7c862d → 7.4.0-rc.4670d6c
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 +19 -1
- package/dist/js/colors/dark.d.ts +4 -0
- package/dist/js/colors/dark.js +4 -0
- package/dist/js/colors/dark_colorblind.d.ts +4 -0
- package/dist/js/colors/dark_colorblind.js +4 -0
- package/dist/js/colors/dark_dimmed.d.ts +4 -0
- package/dist/js/colors/dark_dimmed.js +4 -0
- package/dist/js/colors/dark_high_contrast.d.ts +4 -0
- package/dist/js/colors/dark_high_contrast.js +8 -4
- package/dist/js/colors/index.d.ts +28 -0
- package/dist/js/colors/light.d.ts +4 -0
- package/dist/js/colors/light.js +4 -0
- package/dist/js/colors/light_colorblind.d.ts +4 -0
- package/dist/js/colors/light_colorblind.js +4 -0
- package/dist/js/colors/light_high_contrast.d.ts +4 -0
- package/dist/js/colors/light_high_contrast.js +12 -8
- package/dist/js/index.d.ts +28 -0
- package/dist/json/colors/dark.json +4 -0
- package/dist/json/colors/dark_colorblind.json +4 -0
- package/dist/json/colors/dark_dimmed.json +4 -0
- package/dist/json/colors/dark_high_contrast.json +8 -4
- package/dist/json/colors/light.json +4 -0
- package/dist/json/colors/light_colorblind.json +4 -0
- package/dist/json/colors/light_high_contrast.json +12 -8
- package/dist/scss/colors/_dark.scss +4 -0
- package/dist/scss/colors/_dark_colorblind.scss +4 -0
- package/dist/scss/colors/_dark_dimmed.scss +4 -0
- package/dist/scss/colors/_dark_high_contrast.scss +8 -4
- package/dist/scss/colors/_light.scss +4 -0
- package/dist/scss/colors/_light_colorblind.scss +4 -0
- package/dist/scss/colors/_light_high_contrast.scss +12 -8
- package/dist/ts/colors/dark.ts +4 -0
- package/dist/ts/colors/dark_colorblind.ts +4 -0
- package/dist/ts/colors/dark_dimmed.ts +4 -0
- package/dist/ts/colors/dark_high_contrast.ts +8 -4
- package/dist/ts/colors/light.ts +4 -0
- package/dist/ts/colors/light_colorblind.ts +4 -0
- package/dist/ts/colors/light_high_contrast.ts +12 -8
- package/package.json +1 -1
package/dist/js/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ declare const _default: {
|
|
|
2
2
|
colors: {
|
|
3
3
|
light: {
|
|
4
4
|
canvasDefaultTransparent: string;
|
|
5
|
+
pageHeaderBg: string;
|
|
5
6
|
marketingIcon: {
|
|
6
7
|
primary: string;
|
|
7
8
|
secondary: string;
|
|
@@ -212,6 +213,7 @@ declare const _default: {
|
|
|
212
213
|
header: {
|
|
213
214
|
text: string;
|
|
214
215
|
bg: string;
|
|
216
|
+
divider: string;
|
|
215
217
|
logo: string;
|
|
216
218
|
};
|
|
217
219
|
headerSearch: {
|
|
@@ -334,7 +336,9 @@ declare const _default: {
|
|
|
334
336
|
inlineDivider: string;
|
|
335
337
|
default: {
|
|
336
338
|
hoverBg: string;
|
|
339
|
+
hoverBorder: string;
|
|
337
340
|
activeBg: string;
|
|
341
|
+
activeBorder: string;
|
|
338
342
|
selectedBg: string;
|
|
339
343
|
};
|
|
340
344
|
danger: {
|
|
@@ -448,6 +452,7 @@ declare const _default: {
|
|
|
448
452
|
};
|
|
449
453
|
light_high_contrast: {
|
|
450
454
|
canvasDefaultTransparent: string;
|
|
455
|
+
pageHeaderBg: string;
|
|
451
456
|
marketingIcon: {
|
|
452
457
|
primary: string;
|
|
453
458
|
secondary: string;
|
|
@@ -658,6 +663,7 @@ declare const _default: {
|
|
|
658
663
|
header: {
|
|
659
664
|
text: string;
|
|
660
665
|
bg: string;
|
|
666
|
+
divider: string;
|
|
661
667
|
logo: string;
|
|
662
668
|
};
|
|
663
669
|
headerSearch: {
|
|
@@ -780,7 +786,9 @@ declare const _default: {
|
|
|
780
786
|
inlineDivider: string;
|
|
781
787
|
default: {
|
|
782
788
|
hoverBg: string;
|
|
789
|
+
hoverBorder: string;
|
|
783
790
|
activeBg: string;
|
|
791
|
+
activeBorder: string;
|
|
784
792
|
selectedBg: string;
|
|
785
793
|
};
|
|
786
794
|
danger: {
|
|
@@ -894,6 +902,7 @@ declare const _default: {
|
|
|
894
902
|
};
|
|
895
903
|
light_colorblind: {
|
|
896
904
|
canvasDefaultTransparent: string;
|
|
905
|
+
pageHeaderBg: string;
|
|
897
906
|
marketingIcon: {
|
|
898
907
|
primary: string;
|
|
899
908
|
secondary: string;
|
|
@@ -1104,6 +1113,7 @@ declare const _default: {
|
|
|
1104
1113
|
header: {
|
|
1105
1114
|
text: string;
|
|
1106
1115
|
bg: string;
|
|
1116
|
+
divider: string;
|
|
1107
1117
|
logo: string;
|
|
1108
1118
|
};
|
|
1109
1119
|
headerSearch: {
|
|
@@ -1226,7 +1236,9 @@ declare const _default: {
|
|
|
1226
1236
|
inlineDivider: string;
|
|
1227
1237
|
default: {
|
|
1228
1238
|
hoverBg: string;
|
|
1239
|
+
hoverBorder: string;
|
|
1229
1240
|
activeBg: string;
|
|
1241
|
+
activeBorder: string;
|
|
1230
1242
|
selectedBg: string;
|
|
1231
1243
|
};
|
|
1232
1244
|
danger: {
|
|
@@ -1340,6 +1352,7 @@ declare const _default: {
|
|
|
1340
1352
|
};
|
|
1341
1353
|
dark: {
|
|
1342
1354
|
canvasDefaultTransparent: string;
|
|
1355
|
+
pageHeaderBg: string;
|
|
1343
1356
|
marketingIcon: {
|
|
1344
1357
|
primary: string;
|
|
1345
1358
|
secondary: string;
|
|
@@ -1550,6 +1563,7 @@ declare const _default: {
|
|
|
1550
1563
|
header: {
|
|
1551
1564
|
text: string;
|
|
1552
1565
|
bg: string;
|
|
1566
|
+
divider: string;
|
|
1553
1567
|
logo: string;
|
|
1554
1568
|
};
|
|
1555
1569
|
headerSearch: {
|
|
@@ -1672,7 +1686,9 @@ declare const _default: {
|
|
|
1672
1686
|
inlineDivider: string;
|
|
1673
1687
|
default: {
|
|
1674
1688
|
hoverBg: string;
|
|
1689
|
+
hoverBorder: string;
|
|
1675
1690
|
activeBg: string;
|
|
1691
|
+
activeBorder: string;
|
|
1676
1692
|
selectedBg: string;
|
|
1677
1693
|
};
|
|
1678
1694
|
danger: {
|
|
@@ -1786,6 +1802,7 @@ declare const _default: {
|
|
|
1786
1802
|
};
|
|
1787
1803
|
dark_dimmed: {
|
|
1788
1804
|
canvasDefaultTransparent: string;
|
|
1805
|
+
pageHeaderBg: string;
|
|
1789
1806
|
marketingIcon: {
|
|
1790
1807
|
primary: string;
|
|
1791
1808
|
secondary: string;
|
|
@@ -1996,6 +2013,7 @@ declare const _default: {
|
|
|
1996
2013
|
header: {
|
|
1997
2014
|
text: string;
|
|
1998
2015
|
bg: string;
|
|
2016
|
+
divider: string;
|
|
1999
2017
|
logo: string;
|
|
2000
2018
|
};
|
|
2001
2019
|
headerSearch: {
|
|
@@ -2118,7 +2136,9 @@ declare const _default: {
|
|
|
2118
2136
|
inlineDivider: string;
|
|
2119
2137
|
default: {
|
|
2120
2138
|
hoverBg: string;
|
|
2139
|
+
hoverBorder: string;
|
|
2121
2140
|
activeBg: string;
|
|
2141
|
+
activeBorder: string;
|
|
2122
2142
|
selectedBg: string;
|
|
2123
2143
|
};
|
|
2124
2144
|
danger: {
|
|
@@ -2232,6 +2252,7 @@ declare const _default: {
|
|
|
2232
2252
|
};
|
|
2233
2253
|
dark_high_contrast: {
|
|
2234
2254
|
canvasDefaultTransparent: string;
|
|
2255
|
+
pageHeaderBg: string;
|
|
2235
2256
|
marketingIcon: {
|
|
2236
2257
|
primary: string;
|
|
2237
2258
|
secondary: string;
|
|
@@ -2442,6 +2463,7 @@ declare const _default: {
|
|
|
2442
2463
|
header: {
|
|
2443
2464
|
text: string;
|
|
2444
2465
|
bg: string;
|
|
2466
|
+
divider: string;
|
|
2445
2467
|
logo: string;
|
|
2446
2468
|
};
|
|
2447
2469
|
headerSearch: {
|
|
@@ -2564,7 +2586,9 @@ declare const _default: {
|
|
|
2564
2586
|
inlineDivider: string;
|
|
2565
2587
|
default: {
|
|
2566
2588
|
hoverBg: string;
|
|
2589
|
+
hoverBorder: string;
|
|
2567
2590
|
activeBg: string;
|
|
2591
|
+
activeBorder: string;
|
|
2568
2592
|
selectedBg: string;
|
|
2569
2593
|
};
|
|
2570
2594
|
danger: {
|
|
@@ -2678,6 +2702,7 @@ declare const _default: {
|
|
|
2678
2702
|
};
|
|
2679
2703
|
dark_colorblind: {
|
|
2680
2704
|
canvasDefaultTransparent: string;
|
|
2705
|
+
pageHeaderBg: string;
|
|
2681
2706
|
marketingIcon: {
|
|
2682
2707
|
primary: string;
|
|
2683
2708
|
secondary: string;
|
|
@@ -2888,6 +2913,7 @@ declare const _default: {
|
|
|
2888
2913
|
header: {
|
|
2889
2914
|
text: string;
|
|
2890
2915
|
bg: string;
|
|
2916
|
+
divider: string;
|
|
2891
2917
|
logo: string;
|
|
2892
2918
|
};
|
|
2893
2919
|
headerSearch: {
|
|
@@ -3010,7 +3036,9 @@ declare const _default: {
|
|
|
3010
3036
|
inlineDivider: string;
|
|
3011
3037
|
default: {
|
|
3012
3038
|
hoverBg: string;
|
|
3039
|
+
hoverBorder: string;
|
|
3013
3040
|
activeBg: string;
|
|
3041
|
+
activeBorder: string;
|
|
3014
3042
|
selectedBg: string;
|
|
3015
3043
|
};
|
|
3016
3044
|
danger: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(13,17,23,0)",
|
|
3
|
+
"pageHeaderBg": "#0d1117",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#79c0ff",
|
|
5
6
|
"secondary": "#1f6feb"
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(240,246,252,0.7)",
|
|
212
213
|
"bg": "#161b22",
|
|
214
|
+
"divider": "#8b949e",
|
|
213
215
|
"logo": "#f0f6fc"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@
|
|
|
332
334
|
"inlineDivider": "rgba(48,54,61,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(177,186,196,0.12)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(177,186,196,0.2)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(177,186,196,0.08)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(13,17,23,0)",
|
|
3
|
+
"pageHeaderBg": "#0d1117",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#79c0ff",
|
|
5
6
|
"secondary": "#1f6feb"
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(240,246,252,0.7)",
|
|
212
213
|
"bg": "#161b22",
|
|
214
|
+
"divider": "#8b949e",
|
|
213
215
|
"logo": "#f0f6fc"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@
|
|
|
332
334
|
"inlineDivider": "rgba(48,54,61,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(177,186,196,0.12)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(177,186,196,0.2)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(177,186,196,0.08)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(34,39,46,0)",
|
|
3
|
+
"pageHeaderBg": "#22272e",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#6cb6ff",
|
|
5
6
|
"secondary": "#316dca"
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(205,217,229,0.7)",
|
|
212
213
|
"bg": "#2d333b",
|
|
214
|
+
"divider": "#768390",
|
|
213
215
|
"logo": "#cdd9e5"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@
|
|
|
332
334
|
"inlineDivider": "rgba(68,76,86,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(144,157,171,0.12)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(144,157,171,0.2)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(144,157,171,0.08)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(10,12,16,0)",
|
|
3
|
+
"pageHeaderBg": "#0a0c10",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#91cbff",
|
|
5
6
|
"secondary": "#409eff"
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"numBg": "rgba(64,158,255,0.4)"
|
|
24
25
|
},
|
|
25
26
|
"expander": {
|
|
26
|
-
"icon": "#
|
|
27
|
+
"icon": "#f0f3f6"
|
|
27
28
|
},
|
|
28
29
|
"selectedLineHighlightMixBlendMode": "screen"
|
|
29
30
|
},
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(255,255,255,0.7)",
|
|
212
213
|
"bg": "#272b33",
|
|
214
|
+
"divider": "#bdc4cc",
|
|
213
215
|
"logo": "#ffffff"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -331,9 +333,11 @@
|
|
|
331
333
|
"actionListItem": {
|
|
332
334
|
"inlineDivider": "#7a828e",
|
|
333
335
|
"default": {
|
|
334
|
-
"hoverBg": "
|
|
335
|
-
"
|
|
336
|
-
"
|
|
336
|
+
"hoverBg": "#272b33",
|
|
337
|
+
"hoverBorder": "#7a828e",
|
|
338
|
+
"activeBg": "#525964",
|
|
339
|
+
"activeBorder": "#9ea7b3",
|
|
340
|
+
"selectedBg": "#525964"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
339
343
|
"hoverBg": "#ff6a69",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(255,255,255,0)",
|
|
3
|
+
"pageHeaderBg": "#f6f8fa",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#218bff",
|
|
5
6
|
"secondary": "#54aeff"
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(255,255,255,0.7)",
|
|
212
213
|
"bg": "#24292f",
|
|
214
|
+
"divider": "#57606a",
|
|
213
215
|
"logo": "#ffffff"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@
|
|
|
332
334
|
"inlineDivider": "rgba(208,215,222,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(208,215,222,0.32)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(208,215,222,0.48)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(208,215,222,0.24)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(255,255,255,0)",
|
|
3
|
+
"pageHeaderBg": "#f6f8fa",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#218bff",
|
|
5
6
|
"secondary": "#54aeff"
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(255,255,255,0.7)",
|
|
212
213
|
"bg": "#24292f",
|
|
214
|
+
"divider": "#57606a",
|
|
213
215
|
"logo": "#ffffff"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@
|
|
|
332
334
|
"inlineDivider": "rgba(208,215,222,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(208,215,222,0.32)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(208,215,222,0.48)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(208,215,222,0.24)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"canvasDefaultTransparent": "rgba(255,255,255,0)",
|
|
3
|
+
"pageHeaderBg": "#ffffff",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#1168e3",
|
|
5
6
|
"secondary": "#368cf9"
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"numBg": "#9cd7ff"
|
|
24
25
|
},
|
|
25
26
|
"expander": {
|
|
26
|
-
"icon": "#
|
|
27
|
+
"icon": "#0E1116"
|
|
27
28
|
},
|
|
28
29
|
"selectedLineHighlightMixBlendMode": "multiply"
|
|
29
30
|
},
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(255,255,255,0.7)",
|
|
212
213
|
"bg": "#0E1116",
|
|
214
|
+
"divider": "#ACB6C0",
|
|
213
215
|
"logo": "#ffffff"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -329,16 +331,18 @@
|
|
|
329
331
|
"borderHover": "rgba(172,182,192,0.2)"
|
|
330
332
|
},
|
|
331
333
|
"actionListItem": {
|
|
332
|
-
"inlineDivider": "
|
|
334
|
+
"inlineDivider": "#88929D",
|
|
333
335
|
"default": {
|
|
334
|
-
"hoverBg": "
|
|
335
|
-
"
|
|
336
|
-
"
|
|
336
|
+
"hoverBg": "#E7ECF0",
|
|
337
|
+
"hoverBorder": "#88929D",
|
|
338
|
+
"activeBg": "#CED5DC",
|
|
339
|
+
"activeBorder": "#20252C",
|
|
340
|
+
"selectedBg": "#CED5DC"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
339
|
-
"hoverBg": "
|
|
340
|
-
"activeBg": "#
|
|
341
|
-
"hoverText": "#
|
|
343
|
+
"hoverBg": "#a0111f",
|
|
344
|
+
"activeBg": "#6e011a",
|
|
345
|
+
"hoverText": "#ffffff"
|
|
342
346
|
}
|
|
343
347
|
},
|
|
344
348
|
"fg": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-dark {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(13,17,23,0);
|
|
4
|
+
--color-page-header-bg: #0d1117;
|
|
4
5
|
--color-marketing-icon-primary: #79c0ff;
|
|
5
6
|
--color-marketing-icon-secondary: #1f6feb;
|
|
6
7
|
--color-diff-blob-addition-num-text: #c9d1d9;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85);
|
|
165
166
|
--color-header-text: rgba(240,246,252,0.7);
|
|
166
167
|
--color-header-bg: #161b22;
|
|
168
|
+
--color-header-divider: #8b949e;
|
|
167
169
|
--color-header-logo: #f0f6fc;
|
|
168
170
|
--color-header-search-bg: #0d1117;
|
|
169
171
|
--color-header-search-border: #30363d;
|
|
@@ -261,7 +263,9 @@
|
|
|
261
263
|
--color-underlinenav-border-hover: rgba(110,118,129,0.4);
|
|
262
264
|
--color-action-list-item-inline-divider: rgba(48,54,61,0.48);
|
|
263
265
|
--color-action-list-item-default-hover-bg: rgba(177,186,196,0.12);
|
|
266
|
+
--color-action-list-item-default-hover-border: rgba(0,0,0,0);
|
|
264
267
|
--color-action-list-item-default-active-bg: rgba(177,186,196,0.2);
|
|
268
|
+
--color-action-list-item-default-active-border: rgba(0,0,0,0);
|
|
265
269
|
--color-action-list-item-default-selected-bg: rgba(177,186,196,0.08);
|
|
266
270
|
--color-action-list-item-danger-hover-bg: rgba(248,81,73,0.16);
|
|
267
271
|
--color-action-list-item-danger-active-bg: rgba(248,81,73,0.24);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-dark_colorblind {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(13,17,23,0);
|
|
4
|
+
--color-page-header-bg: #0d1117;
|
|
4
5
|
--color-marketing-icon-primary: #79c0ff;
|
|
5
6
|
--color-marketing-icon-secondary: #1f6feb;
|
|
6
7
|
--color-diff-blob-addition-num-text: #c9d1d9;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1,4,9,0.85);
|
|
165
166
|
--color-header-text: rgba(240,246,252,0.7);
|
|
166
167
|
--color-header-bg: #161b22;
|
|
168
|
+
--color-header-divider: #8b949e;
|
|
167
169
|
--color-header-logo: #f0f6fc;
|
|
168
170
|
--color-header-search-bg: #0d1117;
|
|
169
171
|
--color-header-search-border: #30363d;
|
|
@@ -261,7 +263,9 @@
|
|
|
261
263
|
--color-underlinenav-border-hover: rgba(110,118,129,0.4);
|
|
262
264
|
--color-action-list-item-inline-divider: rgba(48,54,61,0.48);
|
|
263
265
|
--color-action-list-item-default-hover-bg: rgba(177,186,196,0.12);
|
|
266
|
+
--color-action-list-item-default-hover-border: rgba(0,0,0,0);
|
|
264
267
|
--color-action-list-item-default-active-bg: rgba(177,186,196,0.2);
|
|
268
|
+
--color-action-list-item-default-active-border: rgba(0,0,0,0);
|
|
265
269
|
--color-action-list-item-default-selected-bg: rgba(177,186,196,0.08);
|
|
266
270
|
--color-action-list-item-danger-hover-bg: rgba(195,128,0,0.16);
|
|
267
271
|
--color-action-list-item-danger-active-bg: rgba(195,128,0,0.24);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-dark_dimmed {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(34,39,46,0);
|
|
4
|
+
--color-page-header-bg: #22272e;
|
|
4
5
|
--color-marketing-icon-primary: #6cb6ff;
|
|
5
6
|
--color-marketing-icon-secondary: #316dca;
|
|
6
7
|
--color-diff-blob-addition-num-text: #adbac7;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 0 0 1px #444c56, 0 16px 32px rgba(28,33,40,0.85);
|
|
165
166
|
--color-header-text: rgba(205,217,229,0.7);
|
|
166
167
|
--color-header-bg: #2d333b;
|
|
168
|
+
--color-header-divider: #768390;
|
|
167
169
|
--color-header-logo: #cdd9e5;
|
|
168
170
|
--color-header-search-bg: #22272e;
|
|
169
171
|
--color-header-search-border: #444c56;
|
|
@@ -261,7 +263,9 @@
|
|
|
261
263
|
--color-underlinenav-border-hover: rgba(99,110,123,0.4);
|
|
262
264
|
--color-action-list-item-inline-divider: rgba(68,76,86,0.48);
|
|
263
265
|
--color-action-list-item-default-hover-bg: rgba(144,157,171,0.12);
|
|
266
|
+
--color-action-list-item-default-hover-border: rgba(0,0,0,0);
|
|
264
267
|
--color-action-list-item-default-active-bg: rgba(144,157,171,0.2);
|
|
268
|
+
--color-action-list-item-default-active-border: rgba(0,0,0,0);
|
|
265
269
|
--color-action-list-item-default-selected-bg: rgba(144,157,171,0.08);
|
|
266
270
|
--color-action-list-item-danger-hover-bg: rgba(229,83,75,0.16);
|
|
267
271
|
--color-action-list-item-danger-active-bg: rgba(229,83,75,0.24);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-dark_high_contrast {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(10,12,16,0);
|
|
4
|
+
--color-page-header-bg: #0a0c10;
|
|
4
5
|
--color-marketing-icon-primary: #91cbff;
|
|
5
6
|
--color-marketing-icon-secondary: #409eff;
|
|
6
7
|
--color-diff-blob-addition-num-text: #f0f3f6;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
--color-diff-blob-deletion-line-bg: rgba(255,106,105,0.15);
|
|
15
16
|
--color-diff-blob-deletion-word-bg: #ff6a69;
|
|
16
17
|
--color-diff-blob-hunk-num-bg: rgba(64,158,255,0.4);
|
|
17
|
-
--color-diff-blob-expander-icon: #
|
|
18
|
+
--color-diff-blob-expander-icon: #f0f3f6;
|
|
18
19
|
--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;
|
|
19
20
|
--color-diffstat-deletion-border: #ffb1af;
|
|
20
21
|
--color-diffstat-addition-border: #4ae168;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 0 0 1px #525964, 0 16px 32px rgba(1,4,9,0.85);
|
|
165
166
|
--color-header-text: rgba(255,255,255,0.7);
|
|
166
167
|
--color-header-bg: #272b33;
|
|
168
|
+
--color-header-divider: #bdc4cc;
|
|
167
169
|
--color-header-logo: #ffffff;
|
|
168
170
|
--color-header-search-bg: #0a0c10;
|
|
169
171
|
--color-header-search-border: #525964;
|
|
@@ -260,9 +262,11 @@
|
|
|
260
262
|
--color-underlinenav-icon: #f0f3f6;
|
|
261
263
|
--color-underlinenav-border-hover: #bdc4cc;
|
|
262
264
|
--color-action-list-item-inline-divider: #7a828e;
|
|
263
|
-
--color-action-list-item-default-hover-bg:
|
|
264
|
-
--color-action-list-item-default-
|
|
265
|
-
--color-action-list-item-default-
|
|
265
|
+
--color-action-list-item-default-hover-bg: #272b33;
|
|
266
|
+
--color-action-list-item-default-hover-border: #7a828e;
|
|
267
|
+
--color-action-list-item-default-active-bg: #525964;
|
|
268
|
+
--color-action-list-item-default-active-border: #9ea7b3;
|
|
269
|
+
--color-action-list-item-default-selected-bg: #525964;
|
|
266
270
|
--color-action-list-item-danger-hover-bg: #ff6a69;
|
|
267
271
|
--color-action-list-item-danger-active-bg: #ff4445;
|
|
268
272
|
--color-action-list-item-danger-hover-text: #0a0c10;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-light {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(255,255,255,0);
|
|
4
|
+
--color-page-header-bg: #f6f8fa;
|
|
4
5
|
--color-marketing-icon-primary: #218bff;
|
|
5
6
|
--color-marketing-icon-secondary: #54aeff;
|
|
6
7
|
--color-diff-blob-addition-num-text: #24292f;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12);
|
|
165
166
|
--color-header-text: rgba(255,255,255,0.7);
|
|
166
167
|
--color-header-bg: #24292f;
|
|
168
|
+
--color-header-divider: #57606a;
|
|
167
169
|
--color-header-logo: #ffffff;
|
|
168
170
|
--color-header-search-bg: #24292f;
|
|
169
171
|
--color-header-search-border: #57606a;
|
|
@@ -261,7 +263,9 @@
|
|
|
261
263
|
--color-underlinenav-border-hover: rgba(175,184,193,0.2);
|
|
262
264
|
--color-action-list-item-inline-divider: rgba(208,215,222,0.48);
|
|
263
265
|
--color-action-list-item-default-hover-bg: rgba(208,215,222,0.32);
|
|
266
|
+
--color-action-list-item-default-hover-border: rgba(0,0,0,0);
|
|
264
267
|
--color-action-list-item-default-active-bg: rgba(208,215,222,0.48);
|
|
268
|
+
--color-action-list-item-default-active-border: rgba(0,0,0,0);
|
|
265
269
|
--color-action-list-item-default-selected-bg: rgba(208,215,222,0.24);
|
|
266
270
|
--color-action-list-item-danger-hover-bg: rgba(255,235,233,0.64);
|
|
267
271
|
--color-action-list-item-danger-active-bg: #FFEBE9;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-light_colorblind {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(255,255,255,0);
|
|
4
|
+
--color-page-header-bg: #f6f8fa;
|
|
4
5
|
--color-marketing-icon-primary: #218bff;
|
|
5
6
|
--color-marketing-icon-secondary: #54aeff;
|
|
6
7
|
--color-diff-blob-addition-num-text: #24292f;
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 1px 3px rgba(27,31,36,0.12), 0 8px 24px rgba(66,74,83,0.12);
|
|
165
166
|
--color-header-text: rgba(255,255,255,0.7);
|
|
166
167
|
--color-header-bg: #24292f;
|
|
168
|
+
--color-header-divider: #57606a;
|
|
167
169
|
--color-header-logo: #ffffff;
|
|
168
170
|
--color-header-search-bg: #24292f;
|
|
169
171
|
--color-header-search-border: #57606a;
|
|
@@ -261,7 +263,9 @@
|
|
|
261
263
|
--color-underlinenav-border-hover: rgba(175,184,193,0.2);
|
|
262
264
|
--color-action-list-item-inline-divider: rgba(208,215,222,0.48);
|
|
263
265
|
--color-action-list-item-default-hover-bg: rgba(208,215,222,0.32);
|
|
266
|
+
--color-action-list-item-default-hover-border: rgba(0,0,0,0);
|
|
264
267
|
--color-action-list-item-default-active-bg: rgba(208,215,222,0.48);
|
|
268
|
+
--color-action-list-item-default-active-border: rgba(0,0,0,0);
|
|
265
269
|
--color-action-list-item-default-selected-bg: rgba(208,215,222,0.24);
|
|
266
270
|
--color-action-list-item-danger-hover-bg: rgba(254,254,72,0.64);
|
|
267
271
|
--color-action-list-item-danger-active-bg: #fefe48;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin primer-colors-light_high_contrast {
|
|
2
2
|
& {
|
|
3
3
|
--color-canvas-default-transparent: rgba(255,255,255,0);
|
|
4
|
+
--color-page-header-bg: #ffffff;
|
|
4
5
|
--color-marketing-icon-primary: #1168e3;
|
|
5
6
|
--color-marketing-icon-secondary: #368cf9;
|
|
6
7
|
--color-diff-blob-addition-num-text: #0E1116;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
--color-diff-blob-deletion-line-bg: #fff0ee;
|
|
15
16
|
--color-diff-blob-deletion-word-bg: #a0111f;
|
|
16
17
|
--color-diff-blob-hunk-num-bg: #9cd7ff;
|
|
17
|
-
--color-diff-blob-expander-icon: #
|
|
18
|
+
--color-diff-blob-expander-icon: #0E1116;
|
|
18
19
|
--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;
|
|
19
20
|
--color-diffstat-deletion-border: rgba(1,4,9,0.8);
|
|
20
21
|
--color-diffstat-addition-border: rgba(1,4,9,0.8);
|
|
@@ -164,6 +165,7 @@
|
|
|
164
165
|
--color-overlay-shadow: 0 1px 3px rgba(1,4,9,0.12), 0 8px 24px rgba(52,59,67,0.12);
|
|
165
166
|
--color-header-text: rgba(255,255,255,0.7);
|
|
166
167
|
--color-header-bg: #0E1116;
|
|
168
|
+
--color-header-divider: #ACB6C0;
|
|
167
169
|
--color-header-logo: #ffffff;
|
|
168
170
|
--color-header-search-bg: #0E1116;
|
|
169
171
|
--color-header-search-border: #4B535D;
|
|
@@ -259,13 +261,15 @@
|
|
|
259
261
|
--color-btn-danger-hover-icon: #ffffff;
|
|
260
262
|
--color-underlinenav-icon: #66707B;
|
|
261
263
|
--color-underlinenav-border-hover: rgba(172,182,192,0.2);
|
|
262
|
-
--color-action-list-item-inline-divider:
|
|
263
|
-
--color-action-list-item-default-hover-bg:
|
|
264
|
-
--color-action-list-item-default-
|
|
265
|
-
--color-action-list-item-default-
|
|
266
|
-
--color-action-list-item-
|
|
267
|
-
--color-action-list-item-
|
|
268
|
-
--color-action-list-item-danger-hover-
|
|
264
|
+
--color-action-list-item-inline-divider: #88929D;
|
|
265
|
+
--color-action-list-item-default-hover-bg: #E7ECF0;
|
|
266
|
+
--color-action-list-item-default-hover-border: #88929D;
|
|
267
|
+
--color-action-list-item-default-active-bg: #CED5DC;
|
|
268
|
+
--color-action-list-item-default-active-border: #20252C;
|
|
269
|
+
--color-action-list-item-default-selected-bg: #CED5DC;
|
|
270
|
+
--color-action-list-item-danger-hover-bg: #a0111f;
|
|
271
|
+
--color-action-list-item-danger-active-bg: #6e011a;
|
|
272
|
+
--color-action-list-item-danger-hover-text: #ffffff;
|
|
269
273
|
--color-fg-default: #0E1116;
|
|
270
274
|
--color-fg-muted: #0E1116;
|
|
271
275
|
--color-fg-subtle: #66707B;
|
package/dist/ts/colors/dark.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"canvasDefaultTransparent": "rgba(13,17,23,0)",
|
|
3
|
+
"pageHeaderBg": "#0d1117",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#79c0ff",
|
|
5
6
|
"secondary": "#1f6feb"
|
|
@@ -210,6 +211,7 @@ export default {
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(240,246,252,0.7)",
|
|
212
213
|
"bg": "#161b22",
|
|
214
|
+
"divider": "#8b949e",
|
|
213
215
|
"logo": "#f0f6fc"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@ export default {
|
|
|
332
334
|
"inlineDivider": "rgba(48,54,61,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(177,186,196,0.12)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(177,186,196,0.2)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(177,186,196,0.08)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"canvasDefaultTransparent": "rgba(13,17,23,0)",
|
|
3
|
+
"pageHeaderBg": "#0d1117",
|
|
3
4
|
"marketingIcon": {
|
|
4
5
|
"primary": "#79c0ff",
|
|
5
6
|
"secondary": "#1f6feb"
|
|
@@ -210,6 +211,7 @@ export default {
|
|
|
210
211
|
"header": {
|
|
211
212
|
"text": "rgba(240,246,252,0.7)",
|
|
212
213
|
"bg": "#161b22",
|
|
214
|
+
"divider": "#8b949e",
|
|
213
215
|
"logo": "#f0f6fc"
|
|
214
216
|
},
|
|
215
217
|
"headerSearch": {
|
|
@@ -332,7 +334,9 @@ export default {
|
|
|
332
334
|
"inlineDivider": "rgba(48,54,61,0.48)",
|
|
333
335
|
"default": {
|
|
334
336
|
"hoverBg": "rgba(177,186,196,0.12)",
|
|
337
|
+
"hoverBorder": "rgba(0,0,0,0)",
|
|
335
338
|
"activeBg": "rgba(177,186,196,0.2)",
|
|
339
|
+
"activeBorder": "rgba(0,0,0,0)",
|
|
336
340
|
"selectedBg": "rgba(177,186,196,0.08)"
|
|
337
341
|
},
|
|
338
342
|
"danger": {
|