-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
75 lines (72 loc) · 1.6 KB
/
index.js
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
'use strict';
const backgroundColor = '#18191E';
const foregroundColor = '#FFEE79';
const borderColor = '#21252D';
const cursorColor = '#FFFF00';
const colors = {
black: '#18191E',
red: '#FC2929',
green: '#44B273',
yellow: '#E25600',
blue: '#1D918B',
magenta: '#D16BB7',
cyan: '#00BFA3',
white: '#CCCCCC',
lightBlack: '#8E8D8D',
lightRed: '#FF5050',
lightGreen: '#50C16E',
lightYellow: '#ED722E',
lightBlue: '#47A8A1',
lightMagenta: '#D68EB2',
lightCyan: '#5AD1AA',
lightWhite: '#FFFADE'
};
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
`,
css: `
${config.css || ''}
.hyper_main {
border: 5px !important;
}
.tabs_list .tab_tab.tab_active .tab_text {
border: transparent;
font-weight: bold;
color: #FFFF00;
background-color: ${backgroundColor};
background: ${backgroundColor};
}
.tab_active:before {
border-color: ${borderColor};
}
.splitpane_divider {
background-color: #CCCCCC !important;
}
.tabs_title {
display: none !important
}
.tab_tab::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height 1px;
background-color: ${backgroundColor};
transform: scalceX(0);
will-change: transform;
}
.tab_icon {
background-color: #21252D;
opacity: 0.8;
}
`,
});
};