Skip to content

Commit

Permalink
Changed to selenized
Browse files Browse the repository at this point in the history
  • Loading branch information
bentitmus committed Oct 1, 2020
1 parent c3b6870 commit 12ed248
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 2;

#include "solarized-light-theme.h"
#include "selenized-light-theme.h"

/*
* Default shape of cursor
Expand Down
35 changes: 35 additions & 0 deletions selenized-light-theme.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* selenized-light-theme.h
*/

static const char *colorname[] = {
/* terminal - selenized */
"#ece3cc", /* black - bg_1 */
"#d2212d", /* red - red */
"#489100", /* green - green */
"#ad8900", /* yellow - yellow */
"#0072d4", /* blue - blue */
"#ca4898", /* magenta - magenta */
"#009c8f", /* cyan - cyan */
"#909995", /* white - dim_0 */
"#d5cdb6", /* bright black - bg_2 */
"#cc1729", /* bright red - br_red */
"#428b00", /* bright green - br_green */
"#a78300", /* bright yellow - br_yellow */
"#006dce", /* bright blue - br_blue */
"#c44392", /* bright magenta - br_magenta */
"#00978a", /* bright cyan - br_cyan */
"#3a4d53", /* bright white - fg_1 */
"#fbf3db", /* - bg_0 */
"#53676d", /* - fg_0 */
"#c25d1e", /* - orange */
"#8762c6", /* - violet */
"#bc5819", /* - br_orange */
"#825dc0", /* - br_violet */
};

unsigned int defaultfg = 17;
unsigned int defaultbg = 16;
static unsigned int defaultcs = 17;
static unsigned int defaultrcs = 16;

2 changes: 1 addition & 1 deletion x.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ xloadcolor(int i, const char *name, Color *ncolor)
XRenderColor color = { .alpha = 0xffff };

if (!name) {
if (BETWEEN(i, 16, 255)) { /* 256 color */
if (BETWEEN(i, 22, 255)) { /* 256 color */
if (i < 6*6*6+16) { /* same colors as xterm */
color.red = sixd_to_16bit( ((i-16)/36)%6 );
color.green = sixd_to_16bit( ((i-16)/6) %6 );
Expand Down

0 comments on commit 12ed248

Please sign in to comment.