From 8d2ca4b1a2821b931b4a4d69d733fdc248fc773e Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 9 Dec 2023 19:50:39 +0100 Subject: [PATCH] Fix default warning color (fixes #390) --- doc/configuration/options.rst | 2 +- doc/man/zathurarc.5.rst | 2 +- zathura/config.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/configuration/options.rst b/doc/configuration/options.rst index efa2298..bc78cbf 100644 --- a/doc/configuration/options.rst +++ b/doc/configuration/options.rst @@ -154,7 +154,7 @@ General settings Defines the background color when displaying additional information for signatures with warnings. :type: String - :default: rgba(100%,%84,0%,0.9) + :default: rgba(100%,84%,0%,0.9) .. describe:: scroll-wrap diff --git a/doc/man/zathurarc.5.rst b/doc/man/zathurarc.5.rst index 142d457..f559807 100644 --- a/doc/man/zathurarc.5.rst +++ b/doc/man/zathurarc.5.rst @@ -915,7 +915,7 @@ zathura signatures with warnings. * Value type: String - * Default value: rgba(100%,%84,0%,0.9) + * Default value: rgba(100%,84%,0%,0.9) *show-directories* Defines if the directories should be displayed in completion. diff --git a/zathura/config.c b/zathura/config.c index 69a7188..751e119 100644 --- a/zathura/config.c +++ b/zathura/config.c @@ -295,7 +295,7 @@ void config_load_default(zathura_t* zathura) { girara_setting_set(gsession, "signature-success-color", "rgba(18%,80%,33%,0.9)"); girara_setting_add(gsession, "signature-warning-color", NULL, STRING, false, _("Color used to highlight signatures with warnings"), cb_color_change, NULL); - girara_setting_set(gsession, "signature-warning-color", "rgba(100%,%84,0%,0.9)"); + girara_setting_set(gsession, "signature-warning-color", "rgba(100%,84%,0%,0.9)"); girara_setting_add(gsession, "signature-error-color", NULL, STRING, false, _("Color used to highlight invalid signatures"), cb_color_change, NULL); girara_setting_set(gsession, "signature-error-color", "rgba(92%,11%,14%,0.9)");