diff options
| author | Federico Igne <git@federicoigne.com> | 2020-11-25 19:33:35 +0000 |
|---|---|---|
| committer | Federico Igne <git@federicoigne.com> | 2020-11-25 19:33:35 +0000 |
| commit | 9716351471852846b1898fb2b308489af66437c0 (patch) | |
| tree | 846bc4e5ba0e73fabcd2c2053de394b7ea889e58 | |
| parent | 61bbaa1818da6e5f4f2b06695c2ff68d0300b09c (diff) | |
| download | st-9716351471852846b1898fb2b308489af66437c0.tar.gz st-9716351471852846b1898fb2b308489af66437c0.zip | |
Add Gruvbox Dark color scheme
This is part of the process to remove Base16 colors from these config
files.
| -rw-r--r-- | config.def.h | 60 |
1 files changed, 33 insertions, 27 deletions
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; | |||
| 102 | 102 | ||
| 103 | /* Terminal colors (16 first used in escape sequence) */ | 103 | /* Terminal colors (16 first used in escape sequence) */ |
| 104 | static const char *colorname[] = { | 104 | static const char *colorname[] = { |
| 105 | /* 8 normal colors */ | 105 | /* 8 normal colors */ |
| 106 | "black", | 106 | [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ |
| 107 | "red3", | 107 | [1] = "#cc241d", /* red */ |
| 108 | "green3", | 108 | [2] = "#98971a", /* green */ |
| 109 | "yellow3", | 109 | [3] = "#d79921", /* yellow */ |
| 110 | "blue2", | 110 | [4] = "#458588", /* blue */ |
| 111 | "magenta3", | 111 | [5] = "#b16286", /* magenta */ |
| 112 | "cyan3", | 112 | [6] = "#689d6a", /* cyan */ |
| 113 | "gray90", | 113 | [7] = "#a89984", /* white */ |
| 114 | 114 | ||
| 115 | /* 8 bright colors */ | 115 | /* 8 bright colors */ |
| 116 | "gray50", | 116 | [8] = "#928374", /* black */ |
| 117 | "red", | 117 | [9] = "#fb4934", /* red */ |
| 118 | "green", | 118 | [10] = "#b8bb26", /* green */ |
| 119 | "yellow", | 119 | [11] = "#fabd2f", /* yellow */ |
| 120 | "#5c5cff", | 120 | [12] = "#83a598", /* blue */ |
| 121 | "magenta", | 121 | [13] = "#d3869b", /* magenta */ |
| 122 | "cyan", | 122 | [14] = "#8ec07c", /* cyan */ |
| 123 | "white", | 123 | [15] = "#ebdbb2", /* white */ |
| 124 | 124 | ||
| 125 | [255] = 0, | 125 | /* additional colors */ |
| 126 | 126 | [16] = "#dc9656", | |
| 127 | /* more colors can be added after 255 to use with DefaultXX */ | 127 | [17] = "#a16946", |
| 128 | "#cccccc", | 128 | [18] = "#282828", |
| 129 | "#555555", | 129 | [19] = "#383838", |
| 130 | [20] = "#b8b8b8", | ||
| 131 | [21] = "#e8e8e8", | ||
| 132 | |||
| 133 | [255] = 0, | ||
| 134 | |||
| 135 | /* more colors can be added after 255 to use with DefaultXX */ | ||
| 130 | }; | 136 | }; |
| 131 | 137 | ||
| 132 | 138 | ||
| @@ -134,9 +140,9 @@ static const char *colorname[] = { | |||
| 134 | * Default colors (colorname index) | 140 | * Default colors (colorname index) |
| 135 | * foreground, background, cursor, reverse cursor | 141 | * foreground, background, cursor, reverse cursor |
| 136 | */ | 142 | */ |
| 137 | unsigned int defaultfg = 7; | 143 | unsigned int defaultfg = 15; |
| 138 | unsigned int defaultbg = 0; | 144 | unsigned int defaultbg = 0; |
| 139 | static unsigned int defaultcs = 256; | 145 | static unsigned int defaultcs = 15; |
| 140 | static unsigned int defaultrcs = 257; | 146 | static unsigned int defaultrcs = 257; |
| 141 | 147 | ||
| 142 | /* | 148 | /* |
