Skip to content

Instantly share code, notes, and snippets.

@AndrewVos
Last active March 17, 2018 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewVos/e3fcdcf4b1fb839cdf2ea175db0bdbbf to your computer and use it in GitHub Desktop.
Save AndrewVos/e3fcdcf4b1fb839cdf2ea175db0bdbbf to your computer and use it in GitHub Desktop.
diff --git a/config.def.h b/config.def.h
index 82b1b09..db3781f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -85,30 +85,28 @@ unsigned int tabspaces = 8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
- "black",
- "red3",
- "green3",
- "yellow3",
- "blue2",
- "magenta3",
- "cyan3",
- "gray90",
+ "#1b202a", /* black */
+ "#b15e7c", /* red */
+ "#709d6c", /* green */
+ "#b5a262", /* yellow */
+ "#608cc3", /* blue */
+ "#8f72bf", /* magenta */
+ "#56adb7", /* cyan */
+ "#9aa7bd", /* white */
/* 8 bright colors */
- "gray50",
- "red",
- "green",
- "yellow",
- "#5c5cff",
- "magenta",
- "cyan",
- "white",
+ "#323c4d", /* black */
+ "#b15e7c", /* red */
+ "#709d6c", /* green */
+ "#b5a262", /* yellow */
+ "#608cc3", /* blue */
+ "#8f72bf", /* magenta */
+ "#56adb7", /* cyan */
+ "#9aa7bd", /* white */
- [255] = 0,
-
- /* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
+ /* special colors */
+ [256] = "#1b202a", /* background */
+ [257] = "#9aa7bd", /* foreground */
};
@@ -116,9 +114,10 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 7;
-unsigned int defaultbg = 0;
-static unsigned int defaultcs = 256;
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+unsigned int defaultcs = 257;
+
static unsigned int defaultrcs = 257;
/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment