Make internal tweak to modus-themes-theme macro

This commit is contained in:
Protesilaos Stavrou 2023-01-31 11:42:08 +02:00
parent 9a89ce136b
commit 4346ab5ed5
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -3906,7 +3906,7 @@ corresponding entries."
(let ((sym (gensym))
(colors (mapcar #'car (symbol-value palette))))
`(let* ((c '((class color) (min-colors 256)))
(,sym (append ,overrides modus-themes-common-palette-overrides ,palette))
(,sym (modus-themes--palette-value ',name ',overrides))
,@(mapcar (lambda (color)
(list color
`(modus-themes--retrieve-palette-value ',color ,sym)))