-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
64 lines (62 loc) · 1.38 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
// standard ANSI Colours
const black = '#2d2d2d';
const red = '#f2777a';
const green = '#92d192';
const yellow = '#ffd479';
const blue = '#6AB0F3';
const magenta = '#e1a6f2';
const cyan = '#76d4d6';
const white = '#b3b9c5';
const lightBlack = '#777c85';
const lightRed = '#f2777a';
const lightGreen = '#76d4d6';
const lightYellow = '#ffeea6';
const lightBlue = '#6AB0F3';
const lightMagenta = '#e1a6f2';
const lightCyan = '#76d4d6';
const lightWhite = '#ffffff';
const accentColor = blue;
exports.decorateConfig = config =>
Object.assign({}, config, {
cursorColor: accentColor,
cursorAccentColor: lightWhite,
foregroundColor: white,
backgroundColor: black,
borderColor: 'rgba(255,255,255, 0.1)',
selectionColor: 'rgba(255,255,255, 0.1)',
css: `
${config.css || ''}
.tab_tab {
border: 0;
background-color: rgba(255, 255, 255, 0.02);
}
.tab_text {
background-color: rgba(255, 255, 255, 0.02);
}
.tab_active {
background-color: ${black};
}
.tab_textActive {
background-color: ${black};
border-top: 2px solid ${accentColor} !important;
}
`,
colors: {
black,
red,
green,
yellow,
blue,
magenta,
cyan,
white,
lightBlack,
lightRed,
lightGreen,
lightYellow,
lightBlue,
lightMagenta,
lightCyan,
lightWhite
}
});