it builds, we have 3 colors available.

This commit is contained in:
Howland Owl 2017-04-26 01:19:01 +03:00
parent 59032de031
commit a49815838c
3 changed files with 41 additions and 31 deletions

View file

@ -86,6 +86,8 @@ static unsigned int tabspaces = 8;
/* bg opacity */
static const int alpha = 0xdd;
static int whichcolortable = 0;
static char *colornames[3][260] = {
// cobalt neon
{
@ -110,7 +112,7 @@ static char *colornames[3][260] = {
/* more colors can be added after 255 to use with DefaultXX */
"#142838", /* bg color */
"#8ff586", // 6
"#8ff586", // 6
"#c4206f" /* cs color */
},
// Highway
@ -157,10 +159,10 @@ static char *colornames[3][260] = {
[255] = 0,
"#171423", /* bg color */
"#9f9fa1", /* fg color */
"#a288f7", // 15
"#a288f7", // 15
}
};
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
// cobalt neon
@ -186,7 +188,7 @@ static const char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#142838", /* bg color */
"#8ff586", // 6
"#8ff586", // 6
"#c4206f" /* cs color */
};
@ -215,7 +217,7 @@ static const char *altcolorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#3a3d3f", /* bg color */
"#d9efd3", /* fg color */
"#d9efd3", /* fg color */
"#42ff58" /* cs color */
};