-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
executable file
·58 lines (54 loc) · 1.06 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
const backgroundColor = '#34495e'
const foregroundColor = '#ecf0f1'
const cursorColor = '#bdc3c7'
const borderColor = backgroundColor
const colors = [
backgroundColor,
'#e74c3c',
'#2ecc71',
'#f1c40f',
'#3498db',
'#8e44ad',
'#56b6c2',
'#bdc3c7',
'#95a5a6',
'#e74c3c',
'#2ecc71',
'#f1c40f',
'#3498db',
'#8e44ad',
'#56b6c2',
'#ffffff',
foregroundColor
]
exports.decorateConfig = config => {
console.log('Hi mom!')
return Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
cursorColor,
colors,
termCSS: ``,
css: `
${config.css || ''}
.header_header {
top: 0;
right: 0;
left: 0;
}
.tabs_list {
background-color: #2c3e50 !important;
border-bottom-color: #2c3e50 !important;
}
.tab_tab.tab_active {
font-weight: 500;
background-color: ${backgroundColor};
border-color: ${backgroundColor};
}
.tab_tab.tab_active::before {
border-bottom-color: ${backgroundColor};
}
`
})
}