-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.js
53 lines (49 loc) · 955 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
48
49
50
51
52
53
'use strict'
const foregroundColor = '#f8f8f2'
const backgroundColor = '#282a36'
const black = '#44475a'
const red = '#ff5555'
const green = '#50fa7b'
const yellow = '#f1fa8c'
const blue = '#6272a4'
const magenta = '#ff79c6'
const cyan = '#8be9fd'
const gray = '#666666'
const brightBlack = '#999999'
const brightWhite = '#ffffff'
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor: black,
cursorColor: brightBlack,
colors: {
black,
red,
green,
yellow,
blue,
magenta,
cyan,
gray,
// bright
brightBlack,
red,
green,
yellow,
blue,
magenta,
cyan,
brightWhite
},
css: `
${config.css || ''}
.tabs_list .tab_tab.tab_active .tab_text {
background: ${backgroundColor};
}
.tab_active:before {
border-color: rgb(68, 71, 90);
}
`
})
}