-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
45 lines (43 loc) · 953 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
const backgroundColor = '#282c35'
const foregroundColor = '#d4d4d4'
const cursorColor = '#ffffffc9'
const borderColor = '#232830'
const colors = {
black: backgroundColor,
red: '#E15A60',
green: '#99C794',
yellow: '#ffe2a9',
blue: '#6699CC',
magenta: '#C594C5',
cyan: '#5FB3B3',
white: foregroundColor,
lightBlack: '#65737e',
lightRed: '#E15A60',
lightGreen: '#a3be8c',
lightYellow: '#ffe2a9',
lightBlue: '#6699CC',
lightMagenta: '#C594C5',
lightCyan: '#5FB3B3',
lightWhite: '#D4D4D4'
}
exports.decorateConfig = config => {
return Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
colors,
cursorColor: config.cursorColor || cursorColor,
termCSS: `
${config.termCSS || ''}
::selection {
background: #677696 !important
}
`,
css: `
${config.css || ''}
::selection {
background: #677696 !important
}
`
})
}