-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.js
More file actions
627 lines (600 loc) · 21.5 KB
/
index.js
File metadata and controls
627 lines (600 loc) · 21.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
"use strict";
exports.decorateConfig = (config) => {
const hypest = Object.assign(
{
darkmode: false,
vibrancy: true,
borders: false,
colors: {},
accentColor: "blue",
hideControls: false,
},
config.hypest
);
if(!hypest.vibrancyLevel && !(hypest.vibrancyLevel === 0))
hypest.vibrancyLevel = 0.6;
const isDarkMode = hypest.darkmode === true;
const isVibrant = hypest.vibrancy === true;
if (isVibrant) {
if (isDarkMode) {
exports.onWindow = (browserWindow) =>
browserWindow.setVibrancy("dark");
} else {
exports.onWindow = (browserWindow) =>
browserWindow.setVibrancy("light");
}
}
if (hypest.hideControls === true) {
exports.decorateBrowserOptions = (defaults) => {
return Object.assign({}, defaults, {
titleBarStyle: "",
transparent: true,
frame: false,
});
};
}
const foreground = isDarkMode ? "#FFFFFF" : "#222222";
let background;
if (!isDarkMode && !isVibrant) {
background = `#FFFFFF`;
} else if (!isDarkMode && isVibrant) {
background = `rgba(255, 255, 255, ${hypest.vibrancyLevel})`;
} else if (isDarkMode && isVibrant) {
background = `rgba(0, 0, 0, ${hypest.vibrancyLevel})`;
} else {
background = `#222222`;
}
let tabBorder, tabActiveBorder, activeTabEdges;
if (!isDarkMode && hypest.borders === true) {
tabBorder = `
background: rgba(0, 0, 0, .075);
`;
tabActiveBorder = `
background: rgba(255, 255, 255, .4);
`;
activeTabEdges = `
box-shadow: -1px 0 0 rgba(0, 0, 0, .075), 1px 0 0 rgba(0, 0, 0, .075);
`;
} else if (isDarkMode && hypest.borders === true) {
tabBorder = `
background: rgba(255, 255, 255, .1);
`;
tabActiveBorder = `
background: rgba(0, 0, 0, 0);
`;
activeTabEdges = `
box-shadow: -1px 0 0 rgba(255, 255, 255, .1), 1px 0 0 rgba(255, 255, 255, .1);
`;
} else {
tabBorder = "box-shadow: none;";
tabActiveBorder = "box-shadow: none;";
activeTabEdges = "box-shadow: none;";
}
let tabBackground, tabShim;
if (!isDarkMode) {
if (isVibrant) {
tabBackground = `
background: rgba(0, 0, 0, .03);
`;
tabShim = `
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .075);
background: rgba(0, 0, 0, .03);
`;
} else {
tabBackground = `
background: rgba(0, 0, 0, .06);
`;
tabShim = `
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .075);
background: rgba(0, 0, 0, .06);
`;
}
} else {
if (isVibrant) {
tabBackground = `
background: rgba(0, 0, 0, .2);
`;
tabShim = `
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1);
background: rgba(0, 0, 0, .2);
`;
} else {
tabBackground = `
background: rgba(0, 0, 0, .2);
`;
tabShim = `
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1);
background: rgba(0, 0, 0, .2);
`;
}
}
// Colors
const black = hypest.colors.hasOwnProperty("black")
? hypest.colors["black"]
: "#222222";
const blue = hypest.colors.hasOwnProperty("blue")
? hypest.colors["blue"]
: "#0095FF";
const green = hypest.colors.hasOwnProperty("green")
? hypest.colors["green"]
: "#00CB24";
const yellow = hypest.colors.hasOwnProperty("yellow")
? hypest.colors["yellow"]
: "#FFA600";
const red = hypest.colors.hasOwnProperty("red")
? hypest.colors["red"]
: "#FF3B30";
const cyan = hypest.colors.hasOwnProperty("cyan")
? hypest.colors["cyan"]
: "#11B5FF";
const magenta = hypest.colors.hasOwnProperty("magenta")
? hypest.colors["magenta"]
: "#EF338E";
const white = hypest.colors.hasOwnProperty("white")
? hypest.colors["white"]
: "#FFFFFF";
// Light Colors
const lightBlack = hypest.colors.hasOwnProperty("lightBlack")
? hypest.colors["lightBlack"]
: "#AAAAAA";
const lightWhite = hypest.colors.hasOwnProperty("lightWhite")
? hypest.colors["lightWhite"]
: "#EEEEEE";
const colors = {
black,
blue,
green,
yellow,
red,
cyan,
magenta,
white,
lightBlack,
lightWhite,
};
const accentColor = hypest.accentColor;
const cursorColor = colors[accentColor];
const selectionColor = colors[accentColor] + "32";
const shadowColor = colors[accentColor] + "00";
const shadowColorRing = colors[accentColor] + "28";
const shadowColorBorder = colors[accentColor] + "CC";
const tabHeight = "37px";
return Object.assign({}, config, {
foregroundColor: foreground,
backgroundColor: background,
cursorColor: cursorColor,
selectionColor: selectionColor,
colors: {
black: colors.black,
blue: colors.blue,
green: colors.green,
yellow: colors.yellow,
red: colors.red,
cyan: colors.cyan,
magenta: colors.magenta,
white: colors.white,
lightBlack: colors.lightBlack,
lightBlue: colors.blue,
lightGreen: colors.green,
lightYellow: colors.yellow,
lightRed: colors.red,
lightCyan: colors.cyan,
lightMagenta: colors.magenta,
lightWhite: colors.lightWhite,
},
css: `
${config.css || ""}
.hyper_main {
background: ${background};
border: none !important;
}
.hyper_main::before {
content: '';
position: absolute;
top: ${tabHeight};
left: 0;
right: 0;
bottom: 0;
background: ${
isDarkMode ? "rgba(0, 0, 0, 0)" : "rgba(255, 255, 255, .4)"
};
}
.splitpane_divider {
background-color: ${
isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(0, 0, 0, .05)"
} !important;
}
.header_header {
top: 0;
left: 0;
right: 0;
background-color: transparent !important;
}
.terms_termsNotShifted {
margin-top: ${tabHeight};
}
.tabs_borderShim {
display: ${hypest.hideControls ? "none" : "block"};
top: 0;
bottom: 0;
width: 79px;
border: 0 !important;
${tabShim}
${!hypest.borders ? "box-shadow: none !important;" : ""}
}
.tabs_list {
overflow-x: auto;
overflow-y: hidden;
height: ${tabHeight};
max-height: ${tabHeight};
padding-left: ${hypest.hideControls ? "0" : "1px"};
margin-left: ${hypest.hideControls ? "0" : "78px"};
}
.tabs_nav {
height: ${tabHeight};
line-height: ${tabHeight};
}
.tab_first {
padding-left: 0;
}
.tab_tab {
border: 0;
min-width: 90px;
padding-left: 0;
height: ${tabHeight};
border: 0 !important;
transition: border ease .1s, background ease .2s;
${tabBackground}
}
.tab_tab:last-child {
margin: 0;
}
.tab_tab::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: block;
height: 1px;
${tabBorder}
}
.tab_tab:hover {
z-index: 1;
background: transparent;
}
.tab_tab.tab_active {
z-index: 2;
height: calc(${tabHeight} - 1px);
background: rgba(0, 0, 0, 0);
${activeTabEdges}
}
.tab_tab.tab_active::after {
content: '';
position: absolute;
left: 0;
right: 0;
bottom: -1px;
display: block;
height: 1px;
${tabActiveBorder}
}
.tab_tab.tab_active:hover {
background: ${
isDarkMode ? "rgba(0, 0, 0, 0)" : "rgba(255, 255, 255, 0)"
};
}
.tab_text {
font-weight: 500;
color: ${isDarkMode ? "rgba(255, 255, 255, .4)" : "rgba(0, 0, 0, .4)"};
height: calc(${tabHeight} - ${hypest.borders === true ? "1px" : "0px"});
transition: color ease .1s, background ease .2s;
}
.tab_tab:hover .tab_text {
color: ${isDarkMode ? "rgba(255, 255, 255, .8)" : "rgba(0, 0, 0, .6)"};
background: ${
isDarkMode ? "rgba(255, 255, 255, .02)" : "rgba(255, 255, 255, .2)"
};
}
.tab_textActive, .tabs_title {
color: ${
isDarkMode ? "rgba(255, 255, 255, .8)" : "rgba(0, 0, 0, .8)"
} !important;
background: ${
isDarkMode ? "rgba(0, 0, 0, 0)" : "rgba(255, 255, 255, .4)"
} !important;
}
.tab_active:hover .tab_textActive {
color: ${isDarkMode ? "rgba(255, 255, 255, .8)" : "rgba(0, 0, 0, .8)"};
background: ${
isDarkMode ? "rgba(0, 0, 0, 0)" : "rgba(255, 255, 255, .4)"
} !important;
}
.tab_textInner {
left: 28px;
right: 28px;
top: -1px;
}
.tabs_title {
font-weight: 500;
height: ${tabHeight};
}
.tab_icon {
color: ${isDarkMode ? "#FFF" : "#222"};
width: 16px !important;
height: 16px !important;
top: 11px;
left: 9px;
border-radius: 3px !important;
box-shadow: inset 0 0 0 0.5px ${isDarkMode ? "rgba(255, 255, 255, 0)" : "rgba(0, 0, 0, 0)"};
}
.tab_icon:hover {
background: ${
isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(0, 0, 0, .05)"
} !important;
${!hypest.borders ? "box-shadow: none !important;" : ""}
box-shadow: inset 0 0 0 0.5px ${isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(0, 0, 0, .05)"};
}
.tab_icon svg {
display: none;
}
.tab_icon::before {
display: none !important;
}
.tab_icon::after {
content: '';
position: absolute;
top: 4px;
left: 4px;
width: 8px;
height: 8px;
opacity: .8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='${
isDarkMode ? "%23FFF" : "%23222"
}' fill-rule='evenodd' d='M0.558058262,0.558058262 C0.802135944,0.313980579 1.19786406,0.313980579 1.44194174,0.558058262 L1.44194174,0.558058262 L4,3.117 L6.55805826,0.558058262 C6.80213594,0.313980579 7.19786406,0.313980579 7.44194174,0.558058262 C7.65889968,0.775016202 7.68300612,1.1117967 7.51426105,1.35538188 L7.44194174,1.44194174 L4.883,4 L7.44194174,6.55805826 L7.51426105,6.64461812 C7.68300612,6.8882033 7.65889968,7.2249838 7.44194174,7.44194174 C7.19786406,7.68601942 6.80213594,7.68601942 6.55805826,7.44194174 L6.55805826,7.44194174 L4,4.883 L1.44194174,7.44194174 C1.19786406,7.68601942 0.802135944,7.68601942 0.558058262,7.44194174 C0.341100322,7.2249838 0.316993884,6.8882033 0.485738948,6.64461812 L0.558058262,6.55805826 L3.117,4 L0.558058262,1.44194174 L0.485738948,1.35538188 C0.316993884,1.1117967 0.341100322,0.775016202 0.558058262,0.558058262 Z'/%3E%3C/svg%3E%0A");
}
.xterm-viewport::-webkit-scrollbar {
width: 6px !important;
height: 6px !important;
}
.xterm-viewport::-webkit-scrollbar-thumb {
background: ${
isDarkMode ? "rgba(255, 255, 255, .2)" : "rgba(0, 0, 0, .2)"
};
}
.tabs_list::-webkit-scrollbar {
width: 3px !important;
height: 3px !important;
}
.tabs_list::-webkit-scrollbar-thumb {
background: ${
isDarkMode ? "rgba(255, 255, 255, .2)" : "rgba(0, 0, 0, .2)"
};
}
// Override: hyper-search
.hyper-search-wrapper {
position: relative !important;
width: 100% !important;
height: 52px !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
border: 0 !important;
padding: 12px 14px 12px !important;
background-color: transparent !important;
border-radius: 0 !important;
display: flex;
opacity: 1 !important;
box-shadow: 0 1px 0 ${
isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(0, 0, 0, .05)"
};
}
.hyper-search-wrapper::before {
content: '';
position: absolute;
top: 20px;
left: 9px;
margin-left: 14px;
width: 12px;
height: 12px;
opacity: .8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='${
isDarkMode ? "%23FFF" : "%23222"
}' fill-rule='evenodd' d='M18.0180272,15.9763428 L20.6402114,18.1942488 C21.0709886,18.5618712 21.1221857,19.2090988 20.7545639,19.639876 C20.3869415,20.0706532 19.7397138,20.1218503 19.3089367,19.7542284 C19.2678681,19.7191809 19.2296318,19.6809446 19.1945843,19.639876 L16.9761808,17.0181474 C16.1446386,17.6350733 15.1149359,18 14,18 C11.2385763,18 9,15.7614237 9,13 C9,10.2385763 11.2385763,8 14,8 C16.7614237,8 19,10.2385763 19,13 C19,14.1150083 18.6350259,15.1447724 18.0180272,15.9763428 Z M14,16.5 C15.9329966,16.5 17.5,14.9329966 17.5,13 C17.5,11.0670034 15.9329966,9.5 14,9.5 C12.0670034,9.5 10.5,11.0670034 10.5,13 C10.5,14.9329966 12.0670034,16.5 14,16.5 Z' transform='translate(-9 -8)'/%3E%3C/svg%3E%0A");
}
.hyper-search-wrapper button {
position: relative;
width: 28px;
height: 28px;
background: ${
isDarkMode ? "rgba(255, 255, 255, .2)" : "rgba(255, 255, 255, .6)"
};
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 1px rgba(0, 0, 0, .1);
top: 0 !important;
opacity: 1 !important;
padding: 0 6px;
cursor: pointer;
flex-shrink: 0;
}
.hyper-search-wrapper button:hover {
opacity: 1 !important;
}
.hyper-search-wrapper button:active {
background: ${
isDarkMode ? "rgba(255, 255, 255, .3)" : "rgba(255, 255, 255, .2)"
};
}
.hyper-search-wrapper button.hyper-search-previous-button {
border-radius: 5px 2px 2px 5px !important;
margin-right: 1px;
}
.hyper-search-wrapper button.hyper-search-previous-button::after {
content: '';
position: absolute;
top: 9px;
left: 11px;
width: 6px;
height: 10px;
opacity: .8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath fill='${
isDarkMode ? "%23FFF" : "%23222"
}' d='M176.232354,17.7552874 C175.965383,17.9964219 175.922098,18.4362476 176.135675,18.7376657 C176.349251,19.0390838 176.738812,19.0879533 177.005783,18.8468188 L181.767669,14.5457657 C182.077444,14.2659699 182.077444,13.7340301 181.767669,13.4542343 L177.005783,9.15318116 C176.738812,8.91204669 176.349251,8.96091622 176.135675,9.2623343 C175.922098,9.56375238 175.965383,10.0035781 176.232354,10.2447126 L180.389999,14 L176.232354,17.7552874 Z' transform='matrix(-1 0 0 1 182 -9)'/%3E%3C/svg%3E%0A");
}
.hyper-search-wrapper button.hyper-search-next-button {
border-radius: 2px 5px 5px 2px !important;
}
.hyper-search-wrapper button.hyper-search-next-button::after {
content: '';
position: absolute;
top: 9px;
left: 11px;
width: 6px;
height: 10px;
opacity: .8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath fill='${
isDarkMode ? "%23FFF" : "%23222"
}' d='M205.232354,17.7552874 C204.965383,17.9964219 204.922098,18.4362476 205.135675,18.7376657 C205.349251,19.0390838 205.738812,19.0879533 206.005783,18.8468188 L210.767669,14.5457657 C211.077444,14.2659699 211.077444,13.7340301 210.767669,13.4542343 L206.005783,9.15318116 C205.738812,8.91204669 205.349251,8.96091622 205.135675,9.2623343 C204.922098,9.56375238 204.965383,10.0035781 205.232354,10.2447126 L209.389999,14 L205.232354,17.7552874 Z' transform='translate(-205 -9)'/%3E%3C/svg%3E%0A");
}
.hyper-search-wrapper button.hyper-search-case-button {
margin-left: 8px;
}
.hyper-search-wrapper button.hyper-search-case-button-unfocused::after {
content: '';
position: absolute;
top: 8px;
left: 8px;
width: 12px;
height: 12px;
opacity: .8;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13'%3E%3Cpath fill='${
isDarkMode ? "%23FFF" : "%23222"
}' d='M237.994208,17.1648438 L243.994208,17.1648438 L243.994208,20.2 L237.994208,20.2 L237.994208,17.1648438 Z M238.996139,18.1726563 L238.996139,19.1863281 L242.992278,19.1863281 L242.998069,18.1726563 L238.996139,18.1726563 Z M235,14.2703125 L241.005792,8.2 L247,14.2703125 L244,14.2703125 L244,16.1511719 L237.994208,16.1511719 L238,14.2703125 L235,14.2703125 Z M241.005792,9.6296875 L237.409266,13.2566406 L239.001931,13.2566406 L238.996139,15.1375 L242.998069,15.1375 L243.003861,13.2566406 L244.584942,13.2566406 L241.005792,9.6296875 Z' transform='translate(-235 -8)'/%3E%3C/svg%3E%0A");
}
.hyper-search-wrapper button.hyper-search-case-button-focused,
.hyper-search-wrapper button.hyper-search-case-button-focused:active {
background: ${isDarkMode ? "rgba(255, 255, 255, .6)" : cursorColor};
}
.hyper-search-wrapper button.hyper-search-case-button-focused::after {
content: '';
position: absolute;
top: 8px;
left: 8px;
width: 12px;
height: 12px;
opacity: 1;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13'%3E%3Cpath fill='${
isDarkMode ? "%23222" : "%23FFF"
}' d='M237.994208,17.1648438 L243.994208,17.1648438 L243.994208,20.2 L237.994208,20.2 L237.994208,17.1648438 Z M238.996139,18.1726563 L238.996139,19.1863281 L242.992278,19.1863281 L242.998069,18.1726563 L238.996139,18.1726563 Z M235,14.2703125 L241.005792,8.2 L247,14.2703125 L244,14.2703125 L244,16.1511719 L237.994208,16.1511719 L238,14.2703125 L235,14.2703125 Z M241.005792,9.6296875 L237.409266,13.2566406 L239.001931,13.2566406 L238.996139,15.1375 L242.998069,15.1375 L243.003861,13.2566406 L244.584942,13.2566406 L241.005792,9.6296875 Z' transform='translate(-235 -8)'/%3E%3C/svg%3E%0A");
}
#hyper-search-input {
background: ${
isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(255, 255, 255, .5)"
};
border-radius: 5px;
box-shadow: 0 0 0 3px ${shadowColor}, 0 1px 3px rgba(0, 0, 0, .1), 0 0 1px rgba(0, 0, 0, .1), 0 0 0 1px ${shadowColor};
padding: 2px 6px 2px 26px !important;
color: ${isDarkMode ? "#fff" : "#222"} !important;
opacity: 1 !important;
margin-right: 8px;
flex-grow: 1;
}
#hyper-search-input:focus {
background: ${
isDarkMode ? "rgba(255, 255, 255, .3)" : "rgba(255, 255, 255, .65)"
};
box-shadow: ${
isDarkMode
? "0 1px 3px rgba(0, 0, 0, .1), 0 0 1px rgba(0, 0, 0, .1)"
: "0 0 0 3px " +
shadowColorRing +
", 0 1px 3px rgba(0, 0, 0, .1), 0 0 1px rgba(0, 0, 0, 0), 0 0 0 1px " +
shadowColorBorder +
""
};
opacity: 1 !important;
}
#hyper-search-input::-webkit-input-placeholder {
color: ${
isDarkMode ? "rgba(255, 255, 255, .4)" : "rgba(0, 0, 0, .3)"
} !important;
}
.hyper-search-wrapper + .term_fit {
height: calc(100% - 52px) !important;
}
// Override: hyper-tab-icons
.tabs_title svg, .tab_tab svg {
fill: ${isDarkMode ? "#fff" : "#222"} !important;
opacity: ${isDarkMode ? ".3" : ".6"};
shape-rendering: crispEdges;
}
.tabs_title svg {
opacity: .8;
}
.tab_tab.tab_active svg {
opacity: .8;
}
.tabs_title svg,
.tab_textInner svg {
margin-top: -2px;
}
.tabs_title svg + span,
.tab_textInner svg + span {
vertical-align: unset !important;
}
// Override: hyper-tabs-enhanced
.tabs_title .tab_process:before,
.tab_tab.tab_active .tab_process:before,
.tab_tab:hover .tab_process:before {
opacity: .8;
background-color: ${isDarkMode ? "#fff" : "#222"} !important;
}
.tab_tab.tab_hasActivity .tab_process:before,
.tab_tab.tab_hasActivity .tab_icon:before,
.tab_tab.tab_hasActivity .tab_icon:hover {
background-color: ${cursorColor} !important;
}
.tab_tab.tab_hasActivity .tab_text {
color: ${cursorColor} !important;
}
.tab_tab:first-of-type {
padding-left: 0 !important;
}
// Override: hyper-statusline
.footer_footer {
opacity: 1 !important;
background: ${
isDarkMode ? "rgba(0, 0, 0, .1)" : "rgba(0, 0, 0, .03)"
} !important;
}
.footer_footer::after {
content: '';
position: absolute;
left: 0;
right: 0;
top: -1px;
height: 1px;
display: ${hypest.borders ? "block" : "none"};
background: ${
isDarkMode ? "rgba(255, 255, 255, .1)" : "rgba(0, 0, 0, .075)"
};
}
.footer_group {
color: ${isDarkMode ? "#fff" : "#222"} !important;
}
.footer_footer .item_icon::before {
background: ${isDarkMode ? "#fff" : "#222"} !important;
opacity: .8;
}
.footer_footer .item_dirty::before,
.footer_footer .item_ahead::before {
background: ${cursorColor} !important;
opacity: 1;
}
.footer_footer .item_dirty,
.footer_footer .item_ahead {
color: ${cursorColor} !important;
}
`,
});
};