st-onedark-0.9.3.diff - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       st-onedark-0.9.3.diff (1665B)
       ---
            1 diff --git a/config.def.h b/config.def.h
            2 index 2cd740a..992514a 100644
            3 --- a/config.def.h
            4 +++ b/config.def.h
            5 @@ -96,32 +96,25 @@ 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] = "#1e2127",                                 /* black */
           18 +[1] = "#e06c75",                                /* red */
           19 +[2] = "#98c379",                                /* green */
           20 +[3] = "#d19a66",                                /* yellow */
           21 +[4] = "#61afef",                                /* blue */
           22 +[5] = "#c678dd",                                /* magenta */
           23 +[6] = "#56b6c2",                                /* cyan */
           24 +[7] = "#abb2bf",                                /* 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] = "#5c6370",                                /* black */
           44 +[9] = "#e06c75",                                /* red */
           45 +[10] = "#98c379",                                /* green */
           46 +[11] = "#d19a66",                                /* yellow */
           47 +[12] = "#61afef",                                /* blue */
           48 +[13] = "#c678dd",                                /* magenta */
           49 +[14] = "#56b6c2",                                /* cyan */
           50 +[15] = "#ffffff",                                /* white */
           51 +
           52  };
           53  
           54  
           55 @@ -129,10 +122,10 @@ static const char *colorname[] = {
           56   * Default colors (colorname index)
           57   * foreground, background, cursor, reverse cursor
           58   */
           59 -unsigned int defaultfg = 258;
           60 -unsigned int defaultbg = 259;
           61 -unsigned int defaultcs = 256;
           62 -static unsigned int defaultrcs = 257;
           63 +unsigned int defaultfg = 7;
           64 +unsigned int defaultbg = 0;
           65 +unsigned int defaultcs = 8;
           66 +static unsigned int defaultrcs = 15;
           67  
           68  /*
           69   * Default shape of cursor