summaryrefslogtreecommitdiff
path: root/srcery.h
blob: 748b3c211971b45da0c169eedc5e7d78fe16f905 (plain)
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
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
	/* 8 normal colors */
	"#1c1b19",
	"#ef2f27",
	"#519f50",
	"#fbb829",
	"#2c78bf",
	"#e02c6d",
	"#0aaeb3",
	"#baa67f",

	/* 8 bright colors */
	"#918175",
	"#f75341",
	"#98bc37",
	"#fed06e",
	"#68a8e4",
	"#ff5c8f",
	"#2be4d0",
	"#fce8c3",

	[255] = 0,

	/* more colors can be added after 255 to use with DefaultXX */
	"#fce8c3", /* foreground */
	"#1c1b19", /* background */
	"#fbb829", /* cursor */
};

/*
 * Default colors (colorname index)
 * foreground, background, cursor, reverse cursor
 */
unsigned int defaultfg = 256;
unsigned int defaultbg = 257;
unsigned int defaultcs = 258;
static unsigned int defaultrcs = 257;