summaryrefslogtreecommitdiff
path: root/elbaite.stColors
diff options
context:
space:
mode:
Diffstat (limited to 'elbaite.stColors')
-rw-r--r--elbaite.stColors44
1 files changed, 44 insertions, 0 deletions
diff --git a/elbaite.stColors b/elbaite.stColors
new file mode 100644
index 0000000..92f9b3d
--- /dev/null
+++ b/elbaite.stColors
@@ -0,0 +1,44 @@
1/* Terminal colors (16 first used in escape sequence) */
2static const char *colorname[] = {
3
4 /* 8 normal colors */
5 [0] = "#181411", /* black */
6 [1] = "#a63221", /* red */
7 [2] = "#768948", /* green */
8 [3] = "#d6a22e", /* yellow */
9 [4] = "#33658a", /* blue */
10 [5] = "#585481", /* magenta */
11 [6] = "#599a82", /* cyan */
12 [7] = "#9a9a9a", /* white */
13
14 /* 8 bright colors */
15 [8] = "#2b2722", /* black */
16 [9] = "#a63221", /* red */
17 [10] = "#768948", /* green */
18 [11] = "#d6a22e", /* yellow */
19 [12] = "#33658a", /* blue */
20 [13] = "#7473a3", /* magenta */
21 [14] = "#599a82", /* cyan */
22 [15] = "#bfbbb6", /* white */
23
24 /* special colors */
25 [256] = "#181411", /* background */
26 [257] = "#bfbbb6", /* foreground */
27};
28
29/*
30 * Default colors (colorname index)
31 * foreground, background, cursor
32 */
33static unsigned int defaultfg = 257;
34static unsigned int defaultbg = 256;
35static unsigned int defaultcs = 257;
36
37/*
38 * Colors used, when the specific fg == defaultfg. So in reverse mode this
39 * will reverse too. Another logic would only make the simple feature too
40 * complex.
41 */
42static unsigned int defaultitalic = 7;
43static unsigned int defaultunderline = 7;
44