major colorscheme changes

This commit is contained in:
krolyxon 2023-06-19 23:40:06 +05:30
parent 223d03ba08
commit 5f5e988c2b
1 changed files with 27 additions and 27 deletions

View File

@ -111,35 +111,36 @@ float alpha = 0.8;
float alphaOffset = 0.0; float alphaOffset = 0.0;
float alphaUnfocus; float alphaUnfocus;
/* 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 */
"black",
"red3",
"green3",
"yellow3",
"blue2",
"magenta3",
"cyan3",
"gray90",
/* 8 normal colors */ /* 8 bright colors */
"#000000", /* black */ "gray50",
"#cd0000", /* red */ "red",
"#00cd00", /* green */ "green",
"#cdcd00", /* yellow */ "yellow",
"#0000cd", /* blue */ "#5c5cff",
"#cd00cd", /* magenta */ "magenta",
"#00cdcd", /* cyan */ "cyan",
"#e5e5e5", /* white */ "white",
/* 8 bright colors */
"#4d4d4d", /* black */
"#ff0000", /* red */
"#00ff00", /* green */
"#ffff00", /* yellow */
"#0000ff", /* blue */
"#ff00ff", /* magenta */
"#00ffff", /* cyan */
"#aabac8", /* white */
[255] = 0, [255] = 0,
/* more colors can be added after 255 to use with DefaultXX */ /* more colors can be added after 255 to use with DefaultXX */
"#ffffff", /* 256 -> cursor */ "#cccccc",
"#ffffff", /* 257 -> rev cursor*/ "#555555",
"#000000", /* 258 -> bg */ "gray90", /* default foreground colour */
"#e5e5e5", /* 259 -> fg */ "black", /* default background colour */
}; };
@ -147,12 +148,11 @@ static const char *colorname[] = {
* Default colors (colorname index) * Default colors (colorname index)
* foreground, background, cursor, reverse cursor * foreground, background, cursor, reverse cursor
*/ */
unsigned int defaultfg = 257; unsigned int defaultfg = 258;
unsigned int defaultbg = 0; unsigned int defaultbg = 259;
unsigned int defaultcs = 256; unsigned int defaultcs = 256;
unsigned int defaultrcs = 257; static unsigned int defaultrcs = 257;
unsigned int background = 0; unsigned int background = 0;
/* /*
* Default shape of cursor * Default shape of cursor
* 2: Block ("") * 2: Block ("")