Set default bg range to decimal - monochwome-theme - Regress your Emacs to one-color world.⌠DIR Log DIR Files DIR Refs DIR README --- DIR commit 5d965ac4ab9e7149378dd056fe384f3805747d33 DIR parent 8dbf81ff29970c6682b99fd6432b230b6c972380 HTML Author: Scarlett McAllister <no+reply@roygbyte.com> Date: Fri, 29 Sep 2023 21:05:02 -0300 Set default bg range to decimal This fixes issue where bg colors are not generated correctly. Needs to be decimal because this value is multiplied by 100. Diffstat: M monochwome-theme.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/monochwome-theme.el b/monochwome-theme.el @@ -18,7 +18,7 @@ This value should be a midtone value. Named colors like 'red', 'blue', 'green', "How much darker the background color will be from the seed, in percent" :type 'number) -(defcustom monochwome-bg-range 30 +(defcustom monochwome-bg-range 0.7 "How much darker the darkest background color is from the lightest background color." :type 'number) @@ -225,7 +225,7 @@ Also bind `class' to ((class color) (min-colors 89))." :background ,monochwome-bg-2 :box (:line-width -1 :style released-button) :extend t)))) - `(highlight ((t (:background ,monochwome-bg+1)))) + `(highlight ((t (:background ,monochwome-bg+3)))) `(success ((t (:foreground ,monochwome-tone-3 :weight bold)))) `(warning ((t (:foreground ,monochwome-tone-6 :weight bold)))) `(tooltip ((t (:foreground ,monochwome-tone-0 :background ,monochwome-bg+1)))) @@ -1054,7 +1054,7 @@ Also bind `class' to ((class color) (min-colors 89))." ;;;;; magit ;;;;;; headings and diffs ;; Please read (info "(magit)Theming Faces") before changing this. - `(magit-section-highlight ((t (:background ,monochwome-bg+1 :weight bold)))) + `(magit-section-highlight ((t (:background ,monochwome-bg-1 :weight bold)))) `(magit-section-heading ((t (:foreground ,monochwome-tone-2 :weight bold)))) `(magit-section-heading-selection ((t (:foreground ,monochwome-tone-6 :weight bold)))) `(magit-diff-file-heading ((t (:weight bold))))