branch: externals/modus-themes
commit 7f5e40060af981ddae5c7f65af5029a47150c588
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Also cover the identifier mapping in modus-themes-generate-palette
---
modus-themes.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modus-themes.el b/modus-themes.el
index 2896b271d4..8c601cfd89 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7669,6 +7669,8 @@ rest come from CORE-PALETTE."
(funcall push-derived-value-fn (intern (format "bg-%s-subtle" name))
(modus-themes-generate-gradient value (if bg-main-dark-p -50 50)))
(funcall push-derived-value-fn (intern (format "bg-%s-nuanced" name))
(modus-themes-generate-gradient value (if bg-main-dark-p -70 70))))
;; Mappings
+ (funcall push-mapping-fn 'identifier (if prefers-cool-p 'green-faint
'magenta-faint))
+
(funcall push-mapping-fn 'bg-completion (if prefers-cool-p
'bg-cyan-subtle 'bg-yellow-subtle))
(funcall push-mapping-fn 'bg-hover (if prefers-cool-p 'bg-green-intense
'bg-magenta-intense))
(funcall push-mapping-fn 'bg-hover-secondary (if prefers-cool-p
'bg-green-subtle 'bg-magenta-subtle))