mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
Fix modus-themes-generate-palette old assumption about the six accent colours
This was fine when I originally implemented it, but then I changed some other parts and forgot to update this one...
This commit is contained in:
parent
ffdee3a436
commit
1ee7c20971
|
|
@ -7678,10 +7678,9 @@ rest come from CORE-PALETTE."
|
|||
(let* ((bg-main (car bg-main))
|
||||
(bg-main-dark-p (color-dark-p (color-name-to-rgb bg-main)))
|
||||
(fg-main (car fg-main))
|
||||
(six-colors (seq-remove
|
||||
(lambda (name)
|
||||
(or (eq (car name) 'bg-main)
|
||||
(eq (car name) 'fg-main)))
|
||||
(six-colors (seq-filter
|
||||
(lambda (color)
|
||||
(memq (car color) '(red green yellow blue magenta cyan)))
|
||||
base-colors))
|
||||
(prefers-cool-p (cond
|
||||
(cool-or-warm-preference (eq cool-or-warm-preference 'cool))
|
||||
|
|
|
|||
Loading…
Reference in a new issue