sites

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

st-sunset-tangerine-20240628-dae63ed.diff (1729B)


      1 From dae63ed789adebdcd5136d05e0b9ef46fd73aec3 Mon Sep 17 00:00:00 2001
      2 From: elbachir-one <bachiralfa@gmail.com>
      3 Date: Fri, 28 Jun 2024 01:05:17 +0100
      4 Subject: [PATCH] Tangerine color scheme (Sunset)
      5 
      6 ---
      7  config.def.h | 58 +++++++++++++++++++++++-----------------------------
      8  1 file changed, 26 insertions(+), 32 deletions(-)
      9 
     10 diff --git a/config.def.h b/config.def.h
     11 index 2cd740a..e54a36c 100644
     12 --- a/config.def.h
     13 +++ b/config.def.h
     14 @@ -95,44 +95,38 @@ unsigned int tabspaces = 8;
     15  
     16  /* Terminal colors (16 first used in escape sequence) */
     17  static const char *colorname[] = {
     18 -	/* 8 normal colors */
     19 -	"black",
     20 -	"red3",
     21 -	"green3",
     22 -	"yellow3",
     23 -	"blue2",
     24 -	"magenta3",
     25 -	"cyan3",
     26 -	"gray90",
     27 -
     28 -	/* 8 bright colors */
     29 -	"gray50",
     30 -	"red",
     31 -	"green",
     32 -	"yellow",
     33 -	"#5c5cff",
     34 -	"magenta",
     35 -	"cyan",
     36 -	"white",
     37 -
     38 -	[255] = 0,
     39 -
     40 -	/* more colors can be added after 255 to use with DefaultXX */
     41 -	"#cccccc",
     42 -	"#555555",
     43 -	"gray90", /* default foreground colour */
     44 -	"black", /* default background colour */
     45 +    "#ff5733",
     46 +    "#ffda33",
     47 +    "#33ff57",
     48 +    "#338aff",
     49 +    "#ff33f5",
     50 +    "#33e6ff",
     51 +    "#ff5733",
     52 +    "#ff8533",
     53 +    "#ffcf33",
     54 +    "#33ff6b",
     55 +    "#33a6ff",
     56 +    "#ff33b5",
     57 +    "#33f7ff",
     58 +    "#ff5733",
     59 +    "#ffa833",
     60 +    "#ffd933",
     61 +
     62 +    [255] = 0,
     63 +
     64 +    "#ffda33",
     65 +    "#ff5733",
     66 +    "#000000",
     67 +    "#ffffff",
     68  };
     69 -
     70 -
     71  /*
     72   * Default colors (colorname index)
     73   * foreground, background, cursor, reverse cursor
     74   */
     75 -unsigned int defaultfg = 258;
     76 -unsigned int defaultbg = 259;
     77 +unsigned int defaultfg = 259;
     78 +unsigned int defaultbg = 258;
     79  unsigned int defaultcs = 256;
     80 -static unsigned int defaultrcs = 257;
     81 +unsigned int defaultrcs = 257;
     82  
     83  /*
     84   * Default shape of cursor
     85 -- 
     86 2.45.2
     87