-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.js
65 lines (59 loc) · 1.13 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
'use strict'
const foregroundColor = '#abb2bf'
const backgroundColor = '#282b34'
const black = '#6b7380'
const red = '#e26b73'
const green = '#6ac38a'
const yellow = '#e6c176'
const blue = '#5e9ccf'
const magenta = '#df671f'
const cyan = '#51b6c3'
const gray = '#ebebff'
const brightBlack = '#6b7380'
const brightWhite = '#ebebff'
const borderColor = red
const cursorColor = '#f8f8f0'
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor,
cursorColor,
colors: [
// normal
black,
red,
green,
yellow,
blue,
magenta,
cyan,
gray,
// bright
brightBlack,
red,
green,
yellow,
blue,
magenta,
cyan,
brightWhite
],
css: `
${config.css || ''}
.tabs_list,
.tab_tab {
border-color: transparent !important;
}
.tab_tab {
background-color: transparent;
}
.tab_tab.tab_active {
background-color: transparent;
}
.tab_active:before {
border-color: ${cyan};
}
`
})
}