summaryrefslogtreecommitdiff
path: root/elbaite.stColors
blob: 92f9b3d54359ca80c5a059d148c863c75c5bcf66 (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
39
40
41
42
43
44
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {

  /* 8 normal colors */
  [0] = "#181411", /* black   */
  [1] = "#a63221", /* red     */
  [2] = "#768948", /* green   */
  [3] = "#d6a22e", /* yellow  */
  [4] = "#33658a", /* blue    */
  [5] = "#585481", /* magenta */
  [6] = "#599a82", /* cyan    */
  [7] = "#9a9a9a", /* white   */

  /* 8 bright colors */
  [8]  = "#2b2722", /* black   */
  [9]  = "#a63221", /* red     */
  [10] = "#768948", /* green   */
  [11] = "#d6a22e", /* yellow  */
  [12] = "#33658a", /* blue    */
  [13] = "#7473a3", /* magenta */
  [14] = "#599a82", /* cyan    */
  [15] = "#bfbbb6", /* white   */

  /* special colors */
  [256] = "#181411", /* background */
  [257] = "#bfbbb6", /* 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;