Fix doom-(darken|lighten) functions

This commit is contained in:
Henrik Lissner 2016-05-23 20:19:16 -04:00
parent 5abb6735a5
commit 739f4ef919

View file

@ -79,10 +79,10 @@ temporary buffers."
(doom-name-to-rgb color2))))
(defun doom-darken (color alpha)
(doom-blend color "#000000" alpha))
(doom-blend color "#000000" (- 1 alpha)))
(defun doom-lighten (color alpha)
(doom-blend color "#FFFFFF" alpha))
(doom-blend color "#FFFFFF" (- 1 alpha)))
;;