dracula theme + bg and fg modification

This commit is contained in:
Debucquoy 2023-04-03 17:53:38 +02:00
parent 5ad60325b9
commit 5bfe4b3592
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -99,26 +99,28 @@ float alpha = 0.8;
/* Terminal colors (16 first used in escape sequence) */ /* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = { static const char *colorname[] = {
/* 8 normal colors */ /* 8 normal colors */
"black", [0] = "#000000", /* black */
"red3", [1] = "#ff5555", /* red */
"green3", [2] = "#50fa7b", /* green */
"yellow3", [3] = "#f1fa8c", /* yellow */
"blue2", [4] = "#bd93f9", /* blue */
"magenta3", [5] = "#ff79c6", /* magenta */
"cyan3", [6] = "#8be9fd", /* cyan */
"gray90", [7] = "#bbbbbb", /* white */
/* 8 bright colors */ /* 8 bright colors */
"gray50", [8] = "#44475a", /* black */
"red", [9] = "#ff5555", /* red */
"green", [10] = "#50fa7b", /* green */
"yellow", [11] = "#f1fa8c", /* yellow */
"#5c5cff", [12] = "#bd93f9", /* blue */
"magenta", [13] = "#ff79c6", /* magenta */
"cyan", [14] = "#8be9fd", /* cyan */
"white", [15] = "#ffffff", /* white */
[255] = 0, /* special colors */
[256] = "#222222", /* background */
[257] = "#ffffff", /* foreground */
/* more colors can be added after 255 to use with DefaultXX */ /* more colors can be added after 255 to use with DefaultXX */
"#cccccc", "#cccccc",
@ -130,13 +132,21 @@ static const char *colorname[] = {
/* /*
* Default colors (colorname index) * Default colors (colorname index)
* foreground, background, cursor, reverse cursor * foreground, background, cursor
*/ */
unsigned int defaultfg = 258; unsigned int defaultfg = 257;
unsigned int defaultbg = 259; unsigned int defaultbg = 256;
unsigned int defaultcs = 256; unsigned int defaultcs = 257;
static unsigned int defaultrcs = 257; static unsigned int defaultrcs = 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.
*/
unsigned int defaultitalic = 7;
unsigned int defaultunderline = 7;
/* /*
* Default shape of cursor * Default shape of cursor
* 2: Block ("") * 2: Block ("")