sites

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

commit a4bc5e7893ac91b88b616cc4d24ffec2d01d11d4
parent c21af736b5f0d0f4b38dfe7d587520d69a98e506
Author: Paschalis Bizopoulos <paschalis.bizopoulos@protonmail.com>
Date:   Wed,  6 Mar 2019 23:58:21 +0200

[st][solarized] port light version to 8.2

Diffstat:
Mst.suckless.org/patches/solarized/index.md | 2++
Ast.suckless.org/patches/solarized/st-solarized-light-20190306-ed68fe7.diff | 71+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/solarized/index.md b/st.suckless.org/patches/solarized/index.md @@ -41,6 +41,7 @@ or the dark color scheme: * [st-solarized-light-0.6.diff](st-solarized-light-0.6.diff) * [st-solarized-light-0.7.diff](st-solarized-light-0.7.diff) * [st-solarized-light-20170623-b331da5.diff](st-solarized-light-20170623-b331da5.diff) +* [st-solarized-light-20190306-ed68fe7.diff](st-solarized-light-20190306-ed68fe7.diff) *Dark*: @@ -66,3 +67,4 @@ Authors * Matthew Parnell - <matt@parnmatt.co.uk> (0.7 port) * Linh Nguyen - <linhvng.2212@gmail.com> (0.8.1 port for no\_bold\_colors and swap versions) * Varun Iyer - <vi.mail@protonmail.ch> (20190129 port for swap version) +* Paschalis Bizopoulos - <paschalis.bizopoulos@protonmail.com> (20190306 port for light version) diff --git a/st.suckless.org/patches/solarized/st-solarized-light-20190306-ed68fe7.diff b/st.suckless.org/patches/solarized/st-solarized-light-20190306-ed68fe7.diff @@ -0,0 +1,71 @@ +diff --git a/config.def.h b/config.def.h +index 0e01717..8f9a4f8 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -84,31 +84,23 @@ unsigned int tabspaces = 8; + + /* Terminal colors (16 first used in escape sequence) */ + static const char *colorname[] = { +- /* 8 normal colors */ +- "black", +- "red3", +- "green3", +- "yellow3", +- "blue2", +- "magenta3", +- "cyan3", +- "gray90", +- +- /* 8 bright colors */ +- "gray50", +- "red", +- "green", +- "yellow", +- "#5c5cff", +- "magenta", +- "cyan", +- "white", +- +- [255] = 0, +- +- /* more colors can be added after 255 to use with DefaultXX */ +- "#cccccc", +- "#555555", ++ /* solarized light */ ++ "#eee8d5", /* 0: black */ ++ "#dc322f", /* 1: red */ ++ "#859900", /* 2: green */ ++ "#b58900", /* 3: yellow */ ++ "#268bd2", /* 4: blue */ ++ "#d33682", /* 5: magenta */ ++ "#2aa198", /* 6: cyan */ ++ "#073642", /* 7: white */ ++ "#fdf6e3", /* 8: brblack */ ++ "#cb4b16", /* 9: brred */ ++ "#93a1a1", /* 10: brgreen */ ++ "#839496", /* 11: bryellow */ ++ "#657b83", /* 12: brblue */ ++ "#6c71c4", /* 13: brmagenta*/ ++ "#586e75", /* 14: brcyan */ ++ "#002b36", /* 15: brwhite */ + }; + + +@@ -116,10 +108,10 @@ static const char *colorname[] = { + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +-unsigned int defaultfg = 7; +-unsigned int defaultbg = 0; +-static unsigned int defaultcs = 256; +-static unsigned int defaultrcs = 257; ++unsigned int defaultfg = 12; ++unsigned int defaultbg = 8; ++static unsigned int defaultcs = 14; ++static unsigned int defaultrcs = 15; + + /* + * Default shape of cursor +-- +2.21.0 +