-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
62 lines (59 loc) · 1.21 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
const white = '#FFFFFF'
const black = '#000000'
const lightGray = '#868e96'
const darkGray = '#555d65'
const green = '#b2f2bb'
const yellow = '#ffec99'
const red = '#ff8787'
const backgroundColor = black
const foregroundColor = darkGray
const borderColor = black
const cursorColor = lightGray
const colors = {
black,
white,
red,
green,
yellow,
blue: lightGray,
magenta: lightGray,
cyan: lightGray,
lightBlack: lightGray,
lightRed: lightGray,
lightGreen: lightGray,
lightYellow: lightGray,
lightBlue: lightGray,
lightMagenta: lightGray,
lightCyan: lightGray,
colorCubes: white,
grayscale: darkGray
}
exports.decorateConfig = config =>
Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
::selection {
background: ${lightGray};
}
`,
css: `
${config.css || ''}
.tab_tab {
color: ${darkGray};
font-size: 11px;
text-transform: uppercase;
margin-top: -1px;
border-top: none;
}
.tab_tab.tab_active {
color: ${lightGray};
font-weight: bold;
border-top: none;
}
`
})