Fix doom-(darken|lighten) functions
This commit is contained in:
parent
5abb6735a5
commit
739f4ef919
1 changed files with 2 additions and 2 deletions
4
doom.el
4
doom.el
|
@ -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)))
|
||||
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue