Skip to content

Commit 9f3d485

Browse files
committed
add ubuntu color scheme
1 parent 9d5737c commit 9f3d485

File tree

1 file changed

+27
-31
lines changed

1 file changed

+27
-31
lines changed

config.def.h

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -93,44 +93,40 @@ char *termname = "st-256color";
9393
*/
9494
unsigned int tabspaces = 8;
9595

96-
/* Terminal colors (16 first used in escape sequence) */
9796
static const char *colorname[] = {
98-
/* 8 normal colors */
99-
[0] = "#123e7c",
100-
[1] = "#ff0000",
101-
[2] = "#d300c4",
102-
[3] = "#f57800",
103-
[4] = "#123e7c",
104-
[5] = "#711c91",
105-
[6] = "#0abdc6",
106-
[7] = "#d7d7d5",
107-
108-
/* 8 bright colors */
109-
[8] = "#1c61c2",
110-
[9] = "#ff0000",
111-
[10] = "#d300c4",
112-
[11] = "#f57800",
113-
[12] = "#00ff00",
114-
[13] = "#711c91",
115-
[14] = "#0abdc6",
116-
[15] = "#d7d7d5",
117-
118-
[255] = 0,
119-
120-
/* more colors can be added after 255 to use with DefaultXX */
121-
[256] = "#0abdc6", // foreground
122-
[257] = "#000b1e", // background
123-
[258] = "#ffffff", // cursor
97+
/* 8 normal colors */
98+
[0] = "#2E3436", /* black */
99+
[1] = "#CC0000", /* red */
100+
[2] = "#4E9A06", /* green */
101+
[3] = "#C4A000", /* yellow */
102+
[4] = "#3465A4", /* blue */
103+
[5] = "#75507B", /* magenta */
104+
[6] = "#06989A", /* cyan */
105+
[7] = "#D3D7CF", /* white */
106+
107+
/* 8 bright colors */
108+
[8] = "#555753", /* black */
109+
[9] = "#EF2929", /* red */
110+
[10] = "#8AE234", /* green */
111+
[11] = "#FCE94F", /* yellow */
112+
[12] = "#729FCF", /* blue */
113+
[13] = "#AD7FA8", /* magenta */
114+
[14] = "#34E2E2", /* cyan */
115+
[15] = "#EEEEEC", /* white */
116+
117+
/* special colors */
118+
[256] = "#300A24", /* background */
119+
[257] = "#E5E9F0", /* foreground */
120+
[258] = "#D08770", /* cursor */
124121
};
125122

126-
127123
/*
128124
* Default colors (colorname index)
129125
* foreground, background, cursor
130126
*/
131-
unsigned int defaultfg = 256;
132-
unsigned int defaultbg = 257;
133-
unsigned int defaultcs = 258;
127+
unsigned int defaultfg = 257;
128+
unsigned int defaultbg = 256;
129+
unsigned int defaultcs = 257;
134130
static unsigned int defaultrcs = 258;
135131

136132
/*

0 commit comments

Comments
 (0)