branch: externals/modus-themes
commit 6dcd3690371fbaa7291b15187f4427cdfa6ada72
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use a higher luminance value for modus-themes-generate-gradient
---
 modus-themes.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modus-themes.el b/modus-themes.el
index 302d6c92e1..1bd11d86f9 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7608,6 +7608,7 @@ inclusive."
 (defun modus-themes-generate-gradient (color percent)
   "Adjust value of COLOR by PERCENT."
   (pcase-let* ((`(,r ,g ,b) (color-name-to-rgb color))
+               (color-luminance-dark-limit 0.5)
                (gradient (funcall (if (color-dark-p (list r g b))
                                       #'color-lighten-name
                                     #'color-darken-name)

Reply via email to