From 9716351471852846b1898fb2b308489af66437c0 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Wed, 25 Nov 2020 19:33:35 +0000 Subject: Add Gruvbox Dark color scheme This is part of the process to remove Base16 colors from these config files. --- config.def.h | 60 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 0053c06..6526758 100644 --- a/config.def.h +++ b/config.def.h @@ -102,31 +102,37 @@ 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", - - [255] = 0, - - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", + /* 8 normal colors */ + [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ + [1] = "#cc241d", /* red */ + [2] = "#98971a", /* green */ + [3] = "#d79921", /* yellow */ + [4] = "#458588", /* blue */ + [5] = "#b16286", /* magenta */ + [6] = "#689d6a", /* cyan */ + [7] = "#a89984", /* white */ + + /* 8 bright colors */ + [8] = "#928374", /* black */ + [9] = "#fb4934", /* red */ + [10] = "#b8bb26", /* green */ + [11] = "#fabd2f", /* yellow */ + [12] = "#83a598", /* blue */ + [13] = "#d3869b", /* magenta */ + [14] = "#8ec07c", /* cyan */ + [15] = "#ebdbb2", /* white */ + + /* additional colors */ + [16] = "#dc9656", + [17] = "#a16946", + [18] = "#282828", + [19] = "#383838", + [20] = "#b8b8b8", + [21] = "#e8e8e8", + + [255] = 0, + + /* more colors can be added after 255 to use with DefaultXX */ }; @@ -134,9 +140,9 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 7; +unsigned int defaultfg = 15; unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; +static unsigned int defaultcs = 15; static unsigned int defaultrcs = 257; /* -- cgit v1.2.3