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

From: <git_AT_suckless.org>
Date: Sun, 23 Jan 2022 20:16:15 +0100

commit 65f736d20558cd558d2d2b553c23553cdabca46e
Author: Paschalis Bizopoulos <pbizopoulos_AT_protonmail.com>
Date: Sun Jan 23 21:15:37 2022 +0200

    [st][solarized] port light version to 0.8.5

diff --git a/st.suckless.org/patches/solarized/index.md b/st.suckless.org/patches/solarized/index.md
index f5d07e74..00b99a59 100644
--- a/st.suckless.org/patches/solarized/index.md
+++ b/st.suckless.org/patches/solarized/index.md
_AT_@ -42,6 +42,7 @@ or the dark color scheme:
 * [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)
+* [st-solarized-light-20220123-2c5edf2.diff](st-solarized-light-20220123-2c5edf2.diff)
 
 *Dark*:
 
_AT_@ -69,5 +70,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 (20190306 port for light version)
 * Joachim B├╝chel - <jo_AT_audijo.de> (0.8.3 port for swap version)
diff --git a/st.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff b/st.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff
new file mode 100644
index 00000000..6e4c7973
--- /dev/null
+++ b/st.suckless.org/patches/solarized/st-solarized-light-20220123-2c5edf2.diff
_AT_@ -0,0 +1,63 @@
+diff --git a/config.def.h b/config.def.h
+index 91ab8ca..6943f7c 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -95,26 +95,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",
+-
++ /* 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 */
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+_AT_@ -129,10 +126,10 @@ static const char *colorname[] = {
+ * Default colors (colorname index)
+ * foreground, background, cursor, reverse cursor
+ */
+-unsigned int defaultfg = 258;
+-unsigned int defaultbg = 259;
+-unsigned int defaultcs = 256;
+-static unsigned int defaultrcs = 257;
++unsigned int defaultfg = 12;
++unsigned int defaultbg = 8;
++unsigned int defaultcs = 14;
++static unsigned int defaultrcs = 15;
+
+ /*
+ * Default shape of cursor
Received on Sun Jan 23 2022 - 20:16:15 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 23 2022 - 20:24:43 CET