Skip to content

Commit 5bd1683

Browse files
author
Matt Parrish
committed
fix(Colors): More tweaks
1 parent 7a0cd85 commit 5bd1683

File tree

1 file changed

+34
-58
lines changed

1 file changed

+34
-58
lines changed

index.js

Lines changed: 34 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,32 @@
11
module.exports.onWindow = browserWindow => browserWindow.setOpacity(0.96);
22

3-
const backgroundColor = "#011627";
4-
const foregroundColor = "#d6deeb";
53
const overlap = "rgba(0, 0, 0, .15)";
64

7-
const colors = {
8-
"editorCursor.foreground": "#7e57c2",
9-
"tab.activeBackground": "#0b2942",
10-
"tab.activeForeground": "#d2dee7",
11-
"tab.border": "#272B3B",
12-
"tab.activeBorder": "#262A39",
13-
"tab.inactiveBackground": "#010e1a",
14-
"tab.inactiveForeground": "#5f7e97",
15-
"terminal.ansiWhite": "#ffffff",
16-
"terminal.ansiBlack": "#011627",
17-
"terminal.ansiBlue": "#82AAFF",
18-
"terminal.ansiCyan": "#7fdbca",
19-
"terminal.ansiYellow": "#addb67",
20-
"terminal.ansiMagenta": "#C792EA",
21-
"terminal.ansi#5f7e97": "#7fdbca",
22-
"terminal.ansiBrightWhite": "#ffffff",
23-
"terminal.ansiBrightBlack": "#575656",
24-
"terminal.ansiBrightBlue": "#82AAFF",
25-
"terminal.ansiBrightCyan": "#7fdbca",
26-
"terminal.ansiBrightMagenta": "#C792EA",
27-
"terminal.ansiBright#5f7e97": "#7fdbca",
28-
"terminal.ansiBrightYellow": "#addb67"
29-
};
30-
315
exports.decorateConfig = config =>
326
Object.assign({}, config, {
33-
backgroundColor,
34-
foregroundColor,
7+
backgroundColor: "#011627",
8+
foregroundColor: "#d6deeb",
359
borderColor: overlap,
36-
cursorColor: colors["editorCursor.foreground"],
10+
cursorColor: "#7e57c2",
11+
cursorAccentColor: "#ffffff",
12+
selectionColor: "rgba(248, 28, 229, 0.3)",
3713
colors: {
38-
black: colors["terminal.ansiBlack"],
39-
red: colors["terminal.ansiRed"],
40-
green: colors["terminal.ansiGreen"],
41-
yellow: colors["terminal.ansiYellow"],
42-
blue: colors["terminal.ansiBlue"],
43-
magenta: colors["terminal.ansiMagenta"],
44-
cyan: colors["terminal.ansiCyan"],
45-
white: colors["terminal.ansiBrightWhite"],
46-
lightBlack: colors["terminal.ansiBrightBlack"],
47-
lightRed: colors["terminal.ansiBrightRed"],
48-
lightGreen: colors["terminal.ansiBrightGreen"],
49-
lightYellow: colors["terminal.ansiBrightYellow"],
50-
lightBlue: colors["terminal.ansiBrightBlue"],
51-
lightMagenta: colors["terminal.ansiBrightMagenta"],
52-
lightCyan: colors["terminal.ansiBrightCyan"],
53-
lightWhite: colors["terminal.ansiBrightWhite"]
14+
black: "#011627",
15+
red: "#EF5350",
16+
green: "#22da6e",
17+
yellow: "#addb67",
18+
blue: "#82aaff",
19+
magenta: "#c792ea",
20+
cyan: "#21c7a8",
21+
white: "#ffffff",
22+
lightBlack: "#575656",
23+
lightRed: "#ef5350",
24+
lightGreen: "#22da6e",
25+
lightYellow: "#ffeb95",
26+
lightBlue: "#82aaff",
27+
lightMagenta: "#c792ea",
28+
lightCyan: "#7fdbca",
29+
lightWhite: "#ffffff"
5430
},
5531
css: `
5632
${config.css}
@@ -65,26 +41,26 @@ exports.decorateConfig = config =>
6541
}
6642
.tab_tab {
6743
border: 0;
68-
background-color: ${colors["tab.inactiveBackground"]};
69-
color: ${colors["tab.inactiveForeground"]};
44+
background-color: #010e1a;
45+
color: #5f7e97;
7046
}
7147
.tab_tab::before {
72-
background-color: ${colors["tab.border"]};
48+
background-color: #272B3B;
7349
}
7450
.tab_active {
75-
background-color: ${colors["tab.activeBackground"]};
76-
color: ${colors["tab.activeForeground"]};
51+
background-color: #0b2942;
52+
color: #d2dee7;
7753
}
7854
.tab_active::before {
79-
background-color: ${colors["tab.activeBorder"]};
55+
background-color: #262A39;
8056
}
8157
.tab_text {
82-
background-color: ${colors["tab.inactiveBackground"]};
83-
color: ${colors["tab.inactiveForeground"]};
58+
background-color: #010e1a;
59+
color: #5f7e97;
8460
}
8561
.tab_textActive {
86-
background-color: ${colors["tab.activeBackground"]};
87-
color: ${colors["tab.activeForeground"]};
62+
background-color: #0b2942;
63+
color: #d2dee7;
8864
}
8965
.hyper-search-wrapper {
9066
border: 0 !important;
@@ -104,7 +80,7 @@ exports.decorateConfig = config =>
10480
}
10581
.hyper-search-wrapper button:nth-of-type(1) {
10682
border-radius: 4px 0 0 4px !important;
107-
border-right: 1px solid ${colors["terminal.ansiBrightBlack"]} !important;
83+
border-right: 1px solid #575656 !important;
10884
}
10985
.hyper-search-wrapper button:nth-of-type(2) {
11086
border-radius: 0 4px 4px 0 !important;
@@ -119,11 +95,11 @@ exports.decorateConfig = config =>
11995
z-index: 999;
12096
}
12197
#hyper-search-input {
122-
background-color: ${colors["terminal.ansiWhite"]} !important;
98+
background-color: #ffffff !important;
12399
border-radius: 4px;
124100
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
125101
padding: 3px 6px 3px 24px !important;
126-
color: ${colors["terminal.ansiBlack"]} !important;
102+
color: #011627 !important;
127103
opacity: 0.9 !important;
128104
margin-right: 2px;
129105
}

0 commit comments

Comments
 (0)