commit ae350267272486a31bacdf33c586e6af2956a4be
parent 28291642153e78bb7b8cf86362d324b32024732b
Author: Markus Hanetzok <m.hanetzok@sotronix.de>
Date: Tue, 10 Jun 2025 13:49:06 +0200
update colors
Diffstat:
M | config.def.h | | | 70 | ++++++++++++++++++++++++++++++++++------------------------------------ |
1 file changed, 34 insertions(+), 36 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -98,48 +98,46 @@ float alpha = 0.8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
- /* 8 normal colors */
- [0] = "#000000", /* black */
- [1] = "#ff5555", /* red */
- [2] = "#50fa7b", /* green */
- [3] = "#f1fa8c", /* yellow */
- [4] = "#bd93f9", /* blue */
- [5] = "#ff79c6", /* magenta */
- [6] = "#8be9fd", /* cyan */
- [7] = "#bbbbbb", /* white */
-
- /* 8 bright colors */
- [8] = "#44475a", /* black */
- [9] = "#ff5555", /* red */
- [10] = "#50fa7b", /* green */
- [11] = "#f1fa8c", /* yellow */
- [12] = "#bd93f9", /* blue */
- [13] = "#ff79c6", /* magenta */
- [14] = "#8be9fd", /* cyan */
- [15] = "#ffffff", /* white */
-
- /* special colors */
- [256] = "#282a36", /* background */
- [257] = "#f8f8f2", /* foreground */
+ /* 8 normal colors */
+ [0] = "#123e7c",
+ [1] = "#ff0000",
+ [2] = "#d300c4",
+ [3] = "#f57800",
+ [4] = "#123e7c",
+ [5] = "#711c91",
+ [6] = "#0abdc6",
+ [7] = "#d7d7d5",
+
+ /* 8 bright colors */
+ [8] = "#1c61c2",
+ [9] = "#ff0000",
+ [10] = "#d300c4",
+ [11] = "#f57800",
+ [12] = "#00ff00",
+ [13] = "#711c91",
+ [14] = "#0abdc6",
+ [15] = "#d7d7d5",
+
+ [255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
- "#cccccc",
- "#555555",
- "gray90", /* default foreground colour */
- "black", /* default background colour */
+ [256] = "#0abdc6", // foreground
+ [257] = "#000b1e", // background
+ [258] = "#ffffff", // cursor
};
+
+
+ /*
+ * Default colors (colorname index)
+ * foreground, background, cursor, reverse cursor
+ */
+unsigned int defaultfg = 256;
+unsigned int defaultbg = 257;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 258;
/*
- * Default colors (colorname index)
- * foreground, background, cursor
- */
-unsigned int defaultfg = 257;
-unsigned int defaultbg = 256;
-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.