-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.js
47 lines (44 loc) · 937 Bytes
/
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
'use strict';
const backgroundColor = '#191622';
const foregroundColor = '#E1E1E6';
const borderColor = '#483C67';
const cursorColor = '#f8f8f2';
const colors = {
black: '#000000',
red: '#ff5555',
green: '#50fa7b',
yellow: '#effa78',
blue: '#bd93f9',
magenta: '#ff79c6',
cyan: '#8d79ba',
white: 'bfbfbf',
lightBlack: '#4d4d4d',
lightRed: '#ff6e67',
lightGreen: '#5af78e',
lightYellow: '#eaf08d',
lightBlue: '#caa9fa',
lightMagenta: '#ff92d0',
lightCyan: '#aa91e3',
lightWhite: '#e6e6e6'
};
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
`,
css: `
${config.css || ''}
.tabs_list .tab_tab.tab_active .tab_text {
background: ${backgroundColor};
}
.tab_active:before {
border-color: ${borderColor};
}
`
});
};