чување 7b18f70c661564245a9657f59123d03d312b04b2
родитељ 8b00c7c489861fc29aadb0c754220fc9866f35e1
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Wed, 19 Jun 2024 00:13:23 +0200
patch/bw-theme.patch: New patch; update existing patches
Diffstat:
измењених датотека: 3, додавања: 86(+), брисања: 34(-)
diff --git a/patch/bw-theme.patch b/patch/bw-theme.patch
@@ -0,0 +1,64 @@
+From 390d036fea15dd362f23f98afe4193ac4715a8ae Mon Sep 17 00:00:00 2001
+From: Страхиња Радић <contact@strahinja.org>
+Date: Tue Jun 18 22:01:06 2024 UTC
+Subject: [PATCH] Set black and white theme
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+---
+ config.def.h | 15+ 15-
+ 1 file changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/config.def.h b/config.def.h
+index 8b00c7c48..390d036fe 100644
+--- a/config.def.h
++++ b/config.def.h
+@@ -22,29 +22,29 @@ const char* backup_suffix = "~";
+ #define DLG_FG TB_BLACK
+ #define DLG_BG TB_WHITE
+ #define ERROR_FG TB_WHITE | TB_BOLD
+-#define ERROR_BG TB_RED
++#define ERROR_BG TB_BLACK
+ #define ACTION_FG TB_BLACK
+ #define ACTION_BG TB_WHITE
+ #define INPUT_FG TB_BLACK
+ #define INPUT_BG TB_WHITE
+ #define INPUT_EDIT_FG TB_WHITE
+ #define INPUT_EDIT_BG TB_BLACK
+-#define PROMPT_FG TB_YELLOW | TB_BOLD
+-#define PROMPT_BG TB_MAGENTA
+-#define SEARCH_FG TB_WHITE | TB_BOLD
+-#define SEARCH_BG TB_GREEN
+-#define SEL_FG TB_BLACK
+-#define SEL_BG TB_WHITE
++#define PROMPT_FG TB_BLACK
++#define PROMPT_BG TB_WHITE
++#define SEARCH_FG TB_BLACK | TB_BOLD
++#define SEARCH_BG TB_WHITE
++#define SEL_FG TB_REVERSE
++#define SEL_BG TB_REVERSE
+ #define SHADOW_FG TB_BLACK
+ #define SHADOW_BG TB_BLACK | TB_BOLD
+-#define STATUS_1_FG TB_WHITE | TB_BOLD
+-#define STATUS_1_BG TB_BLUE
+-#define STATUS_2_FG TB_YELLOW | TB_BOLD
+-#define STATUS_2_BG TB_BLUE
+-#define STATUS_3_FG TB_WHITE | TB_BOLD
+-#define STATUS_3_BG TB_BLUE
+-#define STATUS_4_FG TB_WHITE
+-#define STATUS_4_BG TB_BLUE
++#define STATUS_1_FG TB_BLACK | TB_BOLD
++#define STATUS_1_BG TB_WHITE
++#define STATUS_2_FG TB_BLACK | TB_BOLD
++#define STATUS_2_BG TB_WHITE
++#define STATUS_3_FG TB_BLACK | TB_BOLD
++#define STATUS_3_BG TB_WHITE
++#define STATUS_4_FG TB_BLACK
++#define STATUS_4_BG TB_WHITE
+ #define TEXT_FG TB_WHITE
+ #define TEXT_BG TB_DEFAULT
+ #define TITLE_FG TB_BLACK
+--
+2.44.1
+
diff --git a/patch/dark-theme.patch b/patch/dark-theme.patch
@@ -1,23 +1,21 @@
-From e061c83106289d1d9e7bf87f01ba68c3a6374672 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0=20=D0=A0?=
- =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=9B?= <contact@strahinja.org>
-Date: Tue, 7 Mar 2023 12:35:39 +0100
+From fe208185b38ad6cc978a0356b1763567dea1eb81 Mon Sep 17 00:00:00 2001
+From: Страхиња Радић <contact@strahinja.org>
+Date: Tue Jun 18 22:03:38 2024 UTC
Subject: [PATCH] Set dark theme
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Signed-off-by: Страхиња Радић <contact@strahinja.org>
---
- config.def.h | 60 ++++++++++++++++++++++++++--------------------------
- sled.c | 2 ++
+ config.def.h | 30+ 30-
+ sled.c | 2+ 0-
2 files changed, 32 insertions(+), 30 deletions(-)
diff --git a/config.def.h b/config.def.h
-index eb7c26b..e849469 100644
+index 8b00c7c48..fe208185b 100644
--- a/config.def.h
+++ b/config.def.h
-@@ -17,36 +17,36 @@
+@@ -19,36 +19,36 @@
const char* backup_suffix = "~";
#endif /* SLED_C_GLOBALS */
@@ -83,12 +81,8 @@ index eb7c26b..e849469 100644
+#define TITLE_BG 0xef
#ifdef SLED_C_GLOBALS
- int cancel_close(struct DrawState* state);
-diff --git a/sled.c b/sled.c
-index 9641a96..ed6ab98 100644
---- a/sled.c
-+++ b/sled.c
-@@ -2120,12 +2120,14 @@ file_error:
+ /* clang-format off */
+@@ -2818,12 +2818,14 @@ general_error:
init_termbox:
tb_init();
@@ -103,6 +97,6 @@ index 9641a96..ed6ab98 100644
tb_clear();
if (state.recalculate_size)
---
-2.38.4
+--
+2.44.1
diff --git a/patch/light-theme.patch b/patch/light-theme.patch
@@ -1,23 +1,21 @@
-From 78c0f78f31ccf11a3bb53cccb3d693f0d2b1a9d8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D0=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0=20=D0=A0?=
- =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=9B?= <contact@strahinja.org>
-Date: Tue, 7 Mar 2023 12:33:34 +0100
+From bd2543373d0a83fb5faf8633739363256af375a4 Mon Sep 17 00:00:00 2001
+From: Страхиња Радић <contact@strahinja.org>
+Date: Tue Jun 18 22:11:48 2024 UTC
Subject: [PATCH] Set light theme
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Signed-off-by: Страхиња Радић <contact@strahinja.org>
---
- config.def.h | 60 ++++++++++++++++++++++++++--------------------------
- sled.c | 2 ++
+ config.def.h | 30+ 30-
+ sled.c | 2+ 0-
2 files changed, 32 insertions(+), 30 deletions(-)
diff --git a/config.def.h b/config.def.h
-index eb7c26b..602ad9b 100644
+index 8b00c7c48..bd2543373 100644
--- a/config.def.h
+++ b/config.def.h
-@@ -17,36 +17,36 @@
+@@ -19,36 +19,36 @@
const char* backup_suffix = "~";
#endif /* SLED_C_GLOBALS */
@@ -83,12 +81,8 @@ index eb7c26b..602ad9b 100644
+#define TITLE_BG 0x2d
#ifdef SLED_C_GLOBALS
- int cancel_close(struct DrawState* state);
-diff --git a/sled.c b/sled.c
-index 9641a96..ed6ab98 100644
---- a/sled.c
-+++ b/sled.c
-@@ -2120,12 +2120,14 @@ file_error:
+ /* clang-format off */
+@@ -2818,12 +2818,14 @@ general_error:
init_termbox:
tb_init();
@@ -103,6 +97,6 @@ index 9641a96..ed6ab98 100644
tb_clear();
if (state.recalculate_size)
---
-2.38.4
+--
+2.44.1