-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
51 lines (49 loc) · 1.11 KB
/
index.js
File metadata and controls
51 lines (49 loc) · 1.11 KB
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
const colors = {
black: '#222E33',
red: '#CC6666',
green: '#9DC777',
yellow: '#DBCD7F',
blue: '#769EB3',
magenta: '#C5487A',
cyan: '#73B3C0',
white: '#DAE3E8',
lightBlack: '#465E68',
lightRed: '#E36868',
lightGreen: '#A8FF60',
lightBlue: '#96CBFE',
colorCubes: '#ffffff'
}
const backgroundColor = colors.black
const foregroundColor = colors.white
const cursorColor = foregroundColor
const borderColor = backgroundColor
colors.grayscale = foregroundColor
exports.decorateConfig = config => {
return Object.assign({}, config, {
foregroundColor,
backgroundColor,
borderColor,
cursorColor,
colors,
termCSS: `
${config.termCSS || ''}
.cursor-node {
mix-blend-mode: difference;
}
`,
css: `
${config.css || ''}
.tab_tab {
color: ${foregroundColor} !important;
background-color: ${backgroundColor};
}
.tab_tab.tab_active {
box-shadow: inset 2px 0 ${colors.cyan};
font-weight: bold !important;
}
.tab_tab .tab_textInner {
color: ${foregroundColor} !important;
}
`
})
}