-
Notifications
You must be signed in to change notification settings - Fork 21
/
index.js
69 lines (64 loc) · 1.48 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
const backgroundColor = '#002b36'
const foregroundColor = '#839496'
const cursorColor = 'rgba(181, 137, 0, 0.6)'
const borderColor = 'transparent'
const colors = {
lightBlack: '#586e75',
black: '#073642',
lightGreen: '#586e75',
lightYellow: '#657b83',
lightBlue: '#839496',
lightCyan: '#93a1a1',
white: '#eee8d5',
lightWhite: '#fdf6e3',
yellow: '#b58900',
lightRed: '#cb4b16',
red: '#dc322f',
magenta: '#d33682',
lightMagenta: '#6c71c4',
blue: '#268bd2',
cyan: '#2aa198',
green: '#859900'
}
exports.decorateConfig = config => {
return Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
`,
css: `
${config.css || ''}
* {
text-rendering: optimizeLegibility;
font-weight: 500;
}
.tabs_list {
border: 0;
}
.tabs_nav {
background-color: #001f27;
}
.tab_tab {
color: ${foregroundColor};
background-color: #001f27;
border-color: ${borderColor};
}
.tab_tab:before {
border: 0;
}
.tab_tab.tab_active {
border: transparent;
font-weight: bold;
color: #b3b3b3;
background-color: ${backgroundColor};
}
.splitpane_divider {
background-color: #002028 !important;
}
`
})
}