Last active
May 20, 2018 13:34
-
-
Save AndrewVos/09ee9e7179a2efbd7b174e6ee4fb5f98 to your computer and use it in GitHub Desktop.
Color scheme for ST taken from https://www.reddit.com/r/unixporn/comments/7kc6fv/openbox_some_eye_candy/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.def.h b/config.def.h | |
index 82b1b09..8d46e57 100644 | |
--- a/config.def.h | |
+++ b/config.def.h | |
@@ -84,43 +84,49 @@ 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", | |
- /* 8 bright colors */ | |
- "gray50", | |
- "red", | |
- "green", | |
- "yellow", | |
- "#5c5cff", | |
- "magenta", | |
- "cyan", | |
- "white", | |
+ /* 8 normal colors */ | |
+ [0] = "#737a8a", /* black */ | |
+ [1] = "#ef6b7b", /* red */ | |
+ [2] = "#a1d569", /* green */ | |
+ [3] = "#f59335", /* yellow */ | |
+ [4] = "#4ec2e8", /* blue */ | |
+ [5] = "#fec7cd", /* magenta */ | |
+ [6] = "#95c1c0", /* cyan */ | |
+ [7] = "#dde1e8", /* white */ | |
- [255] = 0, | |
+ /* 8 bright colors */ | |
+ [8] = "#636a7a", /* black */ | |
+ [9] = "#e76373", /* red */ | |
+ [10] = "#99cd61", /* green */ | |
+ [11] = "#ed8b2d", /* yellow */ | |
+ [12] = "#46bae0", /* blue */ | |
+ [13] = "#f6bfc5", /* magenta */ | |
+ [14] = "#8db9b8", /* cyan */ | |
+ [15] = "#d5d9e0", /* white */ | |
- /* more colors can be added after 255 to use with DefaultXX */ | |
- "#cccccc", | |
- "#555555", | |
+ /* special colors */ | |
+ [256] = "#ffffff", /* background */ | |
+ [257] = "#474c57", /* foreground */ | |
}; | |
- | |
/* | |
* Default colors (colorname index) | |
- * foreground, background, cursor, reverse cursor | |
+ * foreground, background, cursor | |
*/ | |
-unsigned int defaultfg = 7; | |
-unsigned int defaultbg = 0; | |
-static unsigned int defaultcs = 256; | |
+unsigned int defaultfg = 257; | |
+unsigned int defaultbg = 256; | |
+static unsigned int defaultcs = 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. | |
+ */ | |
+static unsigned int defaultitalic = 7; | |
+static unsigned int defaultunderline = 7; | |
+ | |
/* | |
* Default shape of cursor | |
* 2: Block ("█") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment