st/patches/0003-Apply-colorscheme.patch

62 lines
1.4 KiB
Diff

From 01802617dab7370542755f7e38453be57e7516c8 Mon Sep 17 00:00:00 2001
From: Shourai <10200748+Shourai@users.noreply.github.com>
Date: Sat, 18 Jul 2020 12:48:48 +0200
Subject: [PATCH 3/5] Apply colorscheme
---
config.def.h | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/config.def.h b/config.def.h
index 984158d..1e55784 100644
--- a/config.def.h
+++ b/config.def.h
@@ -106,25 +106,25 @@ float alpha = 0.70;
/* 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",
+ /* 8 normal colors */
+ [0] = "#002b36", /* black */
+ [1] = "#dc322f", /* red */
+ [2] = "#859900", /* green */
+ [3] = "#b58900", /* yellow */
+ [4] = "#268bd2", /* blue */
+ [5] = "#6c71c4", /* magenta */
+ [6] = "#2aa198", /* cyan */
+ [7] = "#93a1a1", /* white */
+
+ /* 8 bright colors */
+ [8] = "#657b83", /* black */
+ [9] = "#dc322f", /* red */
+ [10] = "#859900", /* green */
+ [11] = "#b58900", /* yellow */
+ [12] = "#268bd2", /* blue */
+ [13] = "#6c71c4", /* magenta */
+ [14] = "#2aa198", /* cyan */
+ [15] = "#fdf6e3", /* white */
[255] = 0,
--
2.27.0