forked from ghosh/hyper-solarized-dark
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
69 lines (64 loc) · 1.47 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
const backgroundColor = '#002b36'
const foregroundColor = '#9db3b7'
const cursorColor = 'rgba(106, 247, 240, 0.5)'
const borderColor = 'transparent'
const colors = {
lightBlack: '#8a979b',
black: '#073642',
lightGreen: '#42f4aa',
lightYellow: '#657b83',
lightBlue: '#75c8ef',
lightCyan: '#7affff',
white: '#fffaef',
lightWhite: '#fdf6e3',
yellow: '#ceba08',
lightRed: '#cb4b16',
red: '#dc322f',
magenta: '#d33682',
lightMagenta: '#6c71c4',
blue: '#268bd2',
cyan: '#2aa198',
green: '#74b201'
}
exports.decorateConfig = config => {
return Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
`,
css: `
${config.css || ''}
* {
text-rendering: optimizeLegibility;
font-weight: 500;
}
.tabs_list {
border: 0;
}
.tabs_nav {
background-color: #001f27;
}
.tab_tab {
color: ${foregroundColor};
background-color: #001f27;
border-color: ${borderColor};
}
.tab_tab:before {
border: 0;
}
.tab_tab.tab_active {
border: transparent;
font-weight: bold;
color: #b3b3b3;
background-color: ${backgroundColor};
}
.splitpane_divider {
background-color: #001f27;
}
`
})
}