diff options
| author | Federico Igne <git@federicoigne.com> | 2020-11-26 09:18:58 +0000 |
|---|---|---|
| committer | Federico Igne <git@federicoigne.com> | 2020-11-26 09:18:58 +0000 |
| commit | d5aa41c7beec721f242402c9e8981d84df842ece (patch) | |
| tree | 9a9a0103b755c8c919def6fdbb0ddae6d53cf681 | |
| parent | 9716351471852846b1898fb2b308489af66437c0 (diff) | |
| download | st-d5aa41c7beec721f242402c9e8981d84df842ece.tar.gz st-d5aa41c7beec721f242402c9e8981d84df842ece.zip | |
Tweak Gruvbox colorscheme and add additional colors
| -rw-r--r-- | config.def.h | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/config.def.h b/config.def.h index 6526758..de93aa4 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -103,18 +103,18 @@ unsigned int tabspaces = 8; | |||
| 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 | [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ | 106 | [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ |
| 107 | [1] = "#cc241d", /* red */ | 107 | [1] = "#cc241d", /* red */ |
| 108 | [2] = "#98971a", /* green */ | 108 | [2] = "#98971a", /* green */ |
| 109 | [3] = "#d79921", /* yellow */ | 109 | [3] = "#d79921", /* yellow */ |
| 110 | [4] = "#458588", /* blue */ | 110 | [4] = "#458588", /* blue */ |
| 111 | [5] = "#b16286", /* magenta */ | 111 | [5] = "#b16286", /* magenta */ |
| 112 | [6] = "#689d6a", /* cyan */ | 112 | [6] = "#689d6a", /* cyan */ |
| 113 | [7] = "#a89984", /* white */ | 113 | [7] = "#a89984", /* white */ |
| 114 | 114 | ||
| 115 | /* 8 bright colors */ | 115 | /* 8 bright colors */ |
| 116 | [8] = "#928374", /* black */ | 116 | [8] = "#928374", /* black */ |
| 117 | [9] = "#fb4934", /* red */ | 117 | [9] = "#fb4934", /* red */ |
| 118 | [10] = "#b8bb26", /* green */ | 118 | [10] = "#b8bb26", /* green */ |
| 119 | [11] = "#fabd2f", /* yellow */ | 119 | [11] = "#fabd2f", /* yellow */ |
| 120 | [12] = "#83a598", /* blue */ | 120 | [12] = "#83a598", /* blue */ |
| @@ -122,17 +122,25 @@ static const char *colorname[] = { | |||
| 122 | [14] = "#8ec07c", /* cyan */ | 122 | [14] = "#8ec07c", /* cyan */ |
| 123 | [15] = "#ebdbb2", /* white */ | 123 | [15] = "#ebdbb2", /* white */ |
| 124 | 124 | ||
| 125 | /* additional colors */ | ||
| 126 | [16] = "#dc9656", | ||
| 127 | [17] = "#a16946", | ||
| 128 | [18] = "#282828", | ||
| 129 | [19] = "#383838", | ||
| 130 | [20] = "#b8b8b8", | ||
| 131 | [21] = "#e8e8e8", | ||
| 132 | |||
| 133 | [255] = 0, | 125 | [255] = 0, |
| 134 | 126 | ||
| 135 | /* more colors can be added after 255 to use with DefaultXX */ | 127 | /* more colors can be added after 255 to use with DefaultXX */ |
| 128 | [256] = "#1d2021", /* bg0_h */ | ||
| 129 | [257] = "#282828", /* bg0 */ | ||
| 130 | [258] = "#3c3836", /* bg1 */ | ||
| 131 | [259] = "#504945", /* bg2 */ | ||
| 132 | [260] = "#665c54", /* bg3 */ | ||
| 133 | [261] = "#7c6f64", /* bg4 */ | ||
| 134 | [262] = "#928374", /* gray */ | ||
| 135 | [263] = "#d65d0e", /* orange */ | ||
| 136 | |||
| 137 | [264] = "#32302f", /* bg0_s */ | ||
| 138 | [265] = "#a89984", /* fg4 */ | ||
| 139 | [266] = "#bdae93", /* fg3 */ | ||
| 140 | [267] = "#d5c4a1", /* fg2 */ | ||
| 141 | [268] = "#ebdbb2", /* fg1 */ | ||
| 142 | [269] = "#fbf1c7", /* fg0 */ | ||
| 143 | [270] = "#fe8019", /* orange */ | ||
| 136 | }; | 144 | }; |
| 137 | 145 | ||
| 138 | 146 | ||
| @@ -143,7 +151,7 @@ static const char *colorname[] = { | |||
| 143 | unsigned int defaultfg = 15; | 151 | unsigned int defaultfg = 15; |
| 144 | unsigned int defaultbg = 0; | 152 | unsigned int defaultbg = 0; |
| 145 | static unsigned int defaultcs = 15; | 153 | static unsigned int defaultcs = 15; |
| 146 | static unsigned int defaultrcs = 257; | 154 | static unsigned int defaultrcs = 263; |
| 147 | 155 | ||
| 148 | /* | 156 | /* |
| 149 | * Default shape of cursor | 157 | * Default shape of cursor |
