sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

st-solarized-dark-20170623-b331da5.diff (1573B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 877afab..d65c7c2 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -84,31 +84,23 @@ static unsigned int tabspaces = 8;
      6  
      7  /* Terminal colors (16 first used in escape sequence) */
      8  const char *colorname[] = {
      9 -	/* 8 normal colors */
     10 -	"black",
     11 -	"red3",
     12 -	"green3",
     13 -	"yellow3",
     14 -	"blue2",
     15 -	"magenta3",
     16 -	"cyan3",
     17 -	"gray90",
     18 -
     19 -	/* 8 bright colors */
     20 -	"gray50",
     21 -	"red",
     22 -	"green",
     23 -	"yellow",
     24 -	"#5c5cff",
     25 -	"magenta",
     26 -	"cyan",
     27 -	"white",
     28 -
     29 -	[255] = 0,
     30 -
     31 -	/* more colors can be added after 255 to use with DefaultXX */
     32 -	"#cccccc",
     33 -	"#555555",
     34 +	/* solarized dark */
     35 +	"#073642",  /*  0: black    */
     36 +	"#dc322f",  /*  1: red      */
     37 +	"#859900",  /*  2: green    */
     38 +	"#b58900",  /*  3: yellow   */
     39 +	"#268bd2",  /*  4: blue     */
     40 +	"#d33682",  /*  5: magenta  */
     41 +	"#2aa198",  /*  6: cyan     */
     42 +	"#eee8d5",  /*  7: white    */
     43 +	"#002b36",  /*  8: brblack  */
     44 +	"#cb4b16",  /*  9: brred    */
     45 +	"#586e75",  /* 10: brgreen  */
     46 +	"#657b83",  /* 11: bryellow */
     47 +	"#839496",  /* 12: brblue   */
     48 +	"#6c71c4",  /* 13: brmagenta*/
     49 +	"#93a1a1",  /* 14: brcyan   */
     50 +	"#fdf6e3",  /* 15: brwhite  */
     51  };
     52  
     53  
     54 @@ -116,10 +108,10 @@ const char *colorname[] = {
     55   * Default colors (colorname index)
     56   * foreground, background, cursor, reverse cursor
     57   */
     58 -unsigned int defaultfg = 7;
     59 -unsigned int defaultbg = 0;
     60 -unsigned int defaultcs = 256;
     61 -unsigned int defaultrcs = 257;
     62 +unsigned int defaultfg = 12;
     63 +unsigned int defaultbg = 8;
     64 +unsigned int defaultcs = 14;
     65 +unsigned int defaultrcs = 15;
     66  
     67  /*
     68   * Default shape of cursor