sites

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

commit 8329c089a5ddd384c49bca87241bb93714fe1d21
parent 004d3ce9f8e3c5d73467f32c1938987ac44475f3
Author: Vilyaem <kenyaz@vilyaem.xyz>
Date:   Sat, 10 Aug 2024 06:06:12 -0400

Add darkpastel colourscheme patch

Diffstat:
Ast.suckless.org/patches/darkpastel/index.md | 24++++++++++++++++++++++++
Ast.suckless.org/patches/darkpastel/screenshot.webp | 0
Ast.suckless.org/patches/darkpastel/st-darkpastel-0.8.5.diff | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 90 insertions(+), 0 deletions(-)

diff --git a/st.suckless.org/patches/darkpastel/index.md b/st.suckless.org/patches/darkpastel/index.md @@ -0,0 +1,24 @@ +darkpastel +========= + +Description +----------- + +'darkpastel' is a comfortable colourscheme I created for programming. + +Example +------- +[![Screenshot](screenshot.webp)](screenshot.webp) + +License +-------- +Public Domain CC0 + +Download +-------- +* [st-darkpastel-0.8.5.diff](st-darkpastel-0.8.5.diff) + +Authors +------- +* Vilyaem Kenyaz - <kenyaz@vilyaem.xyz> + diff --git a/st.suckless.org/patches/darkpastel/screenshot.webp b/st.suckless.org/patches/darkpastel/screenshot.webp Binary files differ. diff --git a/st.suckless.org/patches/darkpastel/st-darkpastel-0.8.5.diff b/st.suckless.org/patches/darkpastel/st-darkpastel-0.8.5.diff @@ -0,0 +1,66 @@ +diff --git a/config.def.h b/config.def.h +index 91ab8ca..a068694 100644 +--- a/config.h ++++ b/config.h +@@ -96,32 +96,24 @@ 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", ++ [0] = "#3f3f3f", /* hard contrast: #1d2021 / soft contrast: #32302f */ ++ [1] = "#705050", /* red */ ++ [2] = "#60b48a", /* green */ ++ [3] = "#dfaf8f", /* yellow */ ++ [4] = "#9ab8d7", /* blue */ ++ [5] = "#dc8cc3", /* magenta */ ++ [6] = "#8cd0d3", /* cyan */ ++ [7] = "#e5e5e5", /* white */ + + /* 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", +- "gray90", /* default foreground colour */ +- "black", /* default background colour */ ++ [8] = "#dca3a3", /* black */ ++ [9] = "#72d5a3", /* red */ ++ [10] = "#f0dfaf", /* green */ ++ [11] = "#94bff3", /* yellow */ ++ [12] = "#ec93d3", /* blue */ ++ [13] = "#93e0e3", /* magenta */ ++ [14] = "#93e0e3", /* cyan */ ++ [15] = "#fffff2", /* white */ + }; + + +@@ -129,9 +121,9 @@ 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; ++unsigned int defaultfg = 15; ++unsigned int defaultbg = 0; ++unsigned int defaultcs = 15; + static unsigned int defaultrcs = 257; + + /*