-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.js
87 lines (86 loc) · 1.98 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
'use strict';
const foregroundColor = '#8F93A2';
const backgroundColor = '#0F111A';
const selectionColor = 'rgba(58, 117, 196, 0.3)';
const black = '#000000';
const red = '#E25822';
const green = '#14B37D';
const yellow = '#F2F27A';
const blue = '#3A75C4';
const magenta = '#703FAF';
const cyan = '#87D3F8';
const white = '#F3EFE0';
const lightBlack = 'rgba(255, 255, 255, 0.2)';
const lightWhite = '#FFFFFF';
const darkBlue = '#0B0D14';
const lightBlue = '#131622';
exports.decorateConfig = config => {
return Object.assign({}, config, {
backgroundColor,
foregroundColor,
selectionColor,
borderColor: darkBlue,
cursorColor: foregroundColor,
colors: {
black,
red,
green,
yellow,
blue,
magenta,
cyan,
white: lightWhite,
lightBlack,
lightRed: red,
lightGreen: green,
lightYellow: yellow,
lightBlue: blue,
lightMagenta: magenta,
lightCyan: cyan,
lightWhite: white
},
css: `
${config.css}
.hyper_main {
border: none !important;
}
.header_header {
color: ${foregroundColor};
}
.header_windowHeaderWithBorder {
border-color: ${backgroundColor} !important;
}
.tabs_borderShim {
border-color: transparent !important;
}
.tab_tab {
border: 0;
}
.tab_tab.tab_active {
background: ${backgroundColor};
color: ${foregroundColor};
transition: all 140ms ease;
}
.tab_tab:not(.tab_active) {
background: ${darkBlue};
color: ${lightBlack};
}
.tab_tab:not(.tab_active):hover {
background: ${lightBlue};
color: ${foregroundColor};
transition: background 140ms ease;
}
.tab_icon {
width: 15px;
height: 15px;
}
.tab_shape {
width: 7px;
height: 7px;
}
.splitpane_divider {
background-color: ${darkBlue} !important;
}
`
});
};