This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
64 lines (62 loc) · 1.42 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 colors scheme
const black = '#2b303b';
const red = '#bf616a';
const green = '#a3be8c';
const yellow = '#ebcb8b';
const blue = '#8fa1b3';
const magenta = '#b48ead';
const cyan = '#96b5b4';
const white = '#c0c5ce';
const lightBlack = '#616775';
const lightRed = '#ea919a';
const lightGreen = '#d0edb6';
const lightYellow = '#f9dea7';
const lightBlue = '#b4cee8';
const lightMagenta = '#eabee2';
const lightCyan = '#c3e5e4';
const lightWhite = '#e1e8f4';
const accentColor = blue;
exports.decorateConfig = config =>
Object.assign({}, config, {
cursorColor: rgba(190,226,135,0.8),
cursorAccentColor: lightWhite,
foregroundColor: 'rgb(192, 197, 206,0.7)',
backgroundColor: 'rgba(0,0,0,0.7)',
borderColor: 'rgba(255,255,255, 0.2)',
selectionColor: 'rgba(164,205,255,0.3)',
css: `
${config.css || ''}
.tab_tab {
border: 0;
background-color: rgba(255, 255, 255, 0.4);
}
.tab_text {
background-color: rgba(255, 255, 255, 0.4);
}
.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
}
});