-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathalacritty-dark.c
48 lines (41 loc) · 1.23 KB
/
alacritty-dark.c
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
/*
* Terminal colors (16 first used in escape sequence)
* Template taken from spacecamp
*/
static const char *colorname[] = {
/* 8 normal colors */
[0] = "#3b3b4d", /* black */
[1] = "#EBB9B9", /* red */
[2] = "#B1DBA4", /* green */
[3] = "#E6DFB8", /* yellow */
[4] = "#B8DEEB", /* blue */
[5] = "#F6BBE7", /* magenta */
[6] = "#CDDBF9", /* cyan */
[7] = "#C6D0E9", /* white */
/* 8 bright colors */
[8] = "#3b3b4d", /* black */
[9] = "#cc9b9d", /* red */
[10] = "#a3ccad", /* green */
[11] = "#d1ba97", /* yellow */
[12] = "#B8C9EA", /* blue */
[13] = "#c497b3", /* magenta */
[14] = "#95C2D1", /* cyan */
[15] = "#63718b", /* white */
/* special colors */
[256] = "#20202A", /* background */
[257] = "#63718B", /* foreground */
};
/*
* Default colors (colorname index)
* foreground, background, cursor
*/
static unsigned int defaultfg = 257;
static unsigned int defaultbg = 256;
static unsigned int defaultcs = 257;
/*
* Colors used, when the specific fg == defaultfg. So in reverse mode this
* will reverse too. Another logic would only make the simple feature too
* complex.
*/
static unsigned int defaultitalic = 7;
static unsigned int defaultunderline = 7;