-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
41 lines (37 loc) · 695 Bytes
/
index.js
File metadata and controls
41 lines (37 loc) · 695 Bytes
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
/**
*/
'use strict';
const backgroundColor = '#282a36'
, foregroundColor = '#f8f8f2'
, currentLine = '#44475a'
// colors
, cyan = '#8be9fd'
, green = '#50fa7b'
, orange = '#ffb86c'
, pink = '#ff79c6'
, purple = '#bd93f9'
, red = '#ff5555'
, yellow = '#f1fa8c';
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor: backgroundColor,
cursorColor: currentLine,
colors: [
cyan,
green,
orange,
pink,
purple,
red,
yellow
],
css: `
${config.css || ''}
.tab_active:before {
border-color: rgba(255, 106, 193, 0.25);
}
`
});
}