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