[wiki] [sites] [st][solarized] port light version to 8.2 || Paschalis Bizopoulos

From: <git_AT_suckless.org>
Date: Wed, 06 Mar 2019 23:03:55 +0100

commit a4bc5e7893ac91b88b616cc4d24ffec2d01d11d4
Author: Paschalis Bizopoulos <paschalis.bizopoulos_AT_protonmail.com>
Date: Wed Mar 6 23:58:21 2019 +0200

    [st][solarized] port light version to 8.2

diff --git a/st.suckless.org/patches/solarized/index.md b/st.suckless.org/patches/solarized/index.md
index 5118323f..e2c31c31 100644
--- a/st.suckless.org/patches/solarized/index.md
+++ b/st.suckless.org/patches/solarized/index.md
_AT_@ -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*:
 
_AT_@ -66,3 +67,4 @@ Authors
 * Matthew Parnell - <matt_AT_parnmatt.co.uk> (0.7 port)
 * Linh Nguyen - <linhvng.2212_AT_gmail.com> (0.8.1 port for no\_bold\_colors and swap versions)
 * Varun Iyer - <vi.mail_AT_protonmail.ch> (20190129 port for swap version)
+* Paschalis Bizopoulos - <paschalis.bizopoulos_AT_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
new file mode 100644
index 00000000..72c35d6a
--- /dev/null
+++ b/st.suckless.org/patches/solarized/st-solarized-light-20190306-ed68fe7.diff
_AT_@ -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
+_AT_@ -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 */
+ };
+
+
+_AT_@ -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
+
Received on Wed Mar 06 2019 - 23:03:55 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 06 2019 - 23:12:28 CET