This should give us our color name array.

This commit is contained in:
Howland Owl 2017-04-25 19:24:57 +03:00
parent 1e0d8bdc07
commit 5e47840de0

View file

@ -86,6 +86,81 @@ static unsigned int tabspaces = 8;
/* bg opacity */
static const int alpha = 0xdd;
static char *colornames[3][260] = {
// cobalt neon
{
"#142631", // 0
"#ff2320", // 1
"#3ba5ff", // 2
"#e9e75c", // 3
"#8ff586", // 4
"#781aa0", // 5
"#8ff586", // 6
"#ba46b2", // 7
"#fff688", // 8
"#d4312e", // 9
"#8ff586", // 10
"#e9f06d", // 11
"#3c7dd2", // 12
"#8230a7", // 13
"#6cbc67", // 14
"#8ff586", // 15
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
"#142838", /* bg color */
"#8ff586", // 6
"#c4206f" /* cs color */
},
// Highway
{
"#000000", // 0
"#d00e18", // 1
"#138034", // 2
"#ffcb3e", // 3
"#006bb3", // 4
"#6b2775", // 5
"#384564", // 6
"#ededed", // 7
"#5d504a", // 8
"#f07e18", // 9
"#b1d130", // 10
"#fff120", // 11
"#4fc2fd", // 12
"#de0071", // 13
"#5d504a", // 14
"#ffffff", // 15
[255] = 0,
"#222225", /* bg color */
"#ededed", // 7
"#e0d9b9" /* cs color */
},
// Grape
{
"#2d283f", // 0
"#ed2261", // 1
"#1fa91b", // 2
"#8ddc20", // 3
"#487df4", // 4
"#8d35c9", // 5
"#3bdeed", // 6
"#9e9ea0", // 7
"#59516a", // 8
"#f0729a", // 9
"#53aa5e", // 10
"#b2dc87", // 11
"#a9bcec", // 12
"#ad81c2", // 13
"#9de3eb", // 14
"#a288f7", // 15
[255] = 0,
"#171423", /* bg color */
"#9f9fa1", /* fg color */
"#a288f7", // 15
}
};
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
// cobalt neon