sites

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

st-solarized-light-0.5.diff (1582B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 58b470e..ec39cca 100644
      3 --- a/config.def.h
      4 +++ b/config.def.h
      5 @@ -51,30 +51,23 @@ static unsigned int tabspaces = 8;
      6  
      7  /* Terminal colors (16 first used in escape sequence) */
      8  static 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 +	/* solarized light */
     34 +	"#eee8d5",  /*  0: black    */
     35 +	"#dc322f",  /*  1: red      */
     36 +	"#859900",  /*  2: green    */
     37 +	"#b58900",  /*  3: yellow   */
     38 +	"#268bd2",  /*  4: blue     */
     39 +	"#d33682",  /*  5: magenta  */
     40 +	"#2aa198",  /*  6: cyan     */
     41 +	"#073642",  /*  7: white    */
     42 +	"#fdf6e3",  /*  8: brblack  */
     43 +	"#cb4b16",  /*  9: brred    */
     44 +	"#93a1a1",  /* 10: brgreen  */
     45 +	"#839496",  /* 11: bryellow */
     46 +	"#657b83",  /* 12: brblue   */
     47 +	"#6c71c4",  /* 13: brmagenta*/
     48 +	"#586e75",  /* 14: brcyan   */
     49 +	"#002b36",  /* 15: brwhite  */
     50  };
     51  
     52  
     53 @@ -82,9 +75,9 @@ static const char *colorname[] = {
     54   * Default colors (colorname index)
     55   * foreground, background, cursor
     56   */
     57 -static unsigned int defaultfg = 7;
     58 -static unsigned int defaultbg = 0;
     59 -static unsigned int defaultcs = 256;
     60 +static unsigned int defaultfg = 12;
     61 +static unsigned int defaultbg = 8;
     62 +static unsigned int defaultcs = 14;
     63  
     64  /*
     65   * Colors used, when the specific fg == defaultfg. So in reverse mode this