-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
53 lines (52 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
const colors = {
backgroundColor: "#261C1E",
cursorColor: "#A45A49",
foregroundColor: "#FFF2E7",
cursorAccentColor: "#2F2325",
selectionColor: "#583c38",
borderColor: "#8E646B",
black: "#EFC764",
green: "#67E480",
red: "#E94554",
comment: "#8E646B",
pink: "#feafbe",
};
module.exports.decorateConfig = (config) => {
return Object.assign({}, config, {
cursorColor: colors.cursorColor,
cursorAccentColor: colors.cursorAccentColor,
foregroundColor: colors.foregroundColor,
backgroundColor: colors.backgroundColor,
selectionColor: colors.selectionColor,
borderColor: colors.borderColor,
fontWeightBold: "normal",
colors: {
black: colors.cursorColor,
red: colors.red,
green: colors.foregroundColor,
yellow: "#ffca85",
blue: "#61ffca",
magenta: colors.comment,
cyan: colors.foregroundColor,
white: colors.foregroundColor,
lightBlack: "#4d4d4d",
lightRed: "#ffca85",
lightGreen: colors.comment,
lightYellow: "#ffca85",
lightBlue: colors.black,
lightMagenta: colors.comment,
lightCyan: "#61ffca",
lightWhite: colors.foregroundColor,
},
css: `
${config.css || ""}
* {
-webkit-font-feature-settings: "liga" on, "calt" on, "dlig" on !important;
text-rendering: optimizeLegibility !important;
}
.header_shape, .tab_tab.tab_active, .header_appTitle {
color: ${colors.pink} !important;
}
`,
});
};