sites

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

st-darkpastel-0.8.5.diff (1632B)


      1 diff --git a/config.def.h b/config.def.h
      2 index 91ab8ca..a068694 100644
      3 --- a/config.h
      4 +++ b/config.h
      5 @@ -96,32 +96,24 @@ unsigned int tabspaces = 8;
      6  /* Terminal colors (16 first used in escape sequence) */
      7  static const char *colorname[] = {
      8  	/* 8 normal colors */
      9 -	"black",
     10 -	"red3",
     11 -	"green3",
     12 -	"yellow3",
     13 -	"blue2",
     14 -	"magenta3",
     15 -	"cyan3",
     16 -	"gray90",
     17 +	[0] = "#3f3f3f", /* hard contrast: #1d2021 / soft contrast: #32302f */
     18 +	[1] = "#705050", /* red     */
     19 +	[2] = "#60b48a", /* green   */
     20 +	[3] = "#dfaf8f", /* yellow  */
     21 +	[4] = "#9ab8d7", /* blue    */
     22 +	[5] = "#dc8cc3", /* magenta */
     23 +	[6] = "#8cd0d3", /* cyan    */
     24 +	[7] = "#e5e5e5", /* white   */
     25  
     26  	/* 8 bright colors */
     27 -	"gray50",
     28 -	"red",
     29 -	"green",
     30 -	"yellow",
     31 -	"#5c5cff",
     32 -	"magenta",
     33 -	"cyan",
     34 -	"white",
     35 -
     36 -	[255] = 0,
     37 -
     38 -	/* more colors can be added after 255 to use with DefaultXX */
     39 -	"#cccccc",
     40 -	"#555555",
     41 -	"gray90", /* default foreground colour */
     42 -	"black", /* default background colour */
     43 +	[8]  = "#dca3a3", /* black   */
     44 +	[9]  = "#72d5a3", /* red     */
     45 +	[10] = "#f0dfaf", /* green   */
     46 +	[11] = "#94bff3", /* yellow  */
     47 +	[12] = "#ec93d3", /* blue    */
     48 +	[13] = "#93e0e3", /* magenta */
     49 +	[14] = "#93e0e3", /* cyan    */
     50 +	[15] = "#fffff2", /* white   */
     51  };
     52  
     53  
     54 @@ -129,9 +121,9 @@ static const char *colorname[] = {
     55   * Default colors (colorname index)
     56   * foreground, background, cursor, reverse cursor
     57   */
     58 -unsigned int defaultfg = 258;
     59 -unsigned int defaultbg = 259;
     60 -unsigned int defaultcs = 256;
     61 +unsigned int defaultfg = 15;
     62 +unsigned int defaultbg = 0;
     63 +unsigned int defaultcs = 15;
     64  static unsigned int defaultrcs = 257;
     65  
     66  /*