branch: externals/modus-themes
commit b741887a87dc2f5a07ab162f6f1bdd17cc11f2a8
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Make sure palette preview shows the mapping's value
    
    Thanks to shimeike for reporting the problem in issue 163:
    <https://github.com/protesilaos/modus-themes/issues/163>.
---
 modus-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index b437924373..1de7750f2e 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -4140,7 +4140,7 @@ PALETTE is the value of a variable like 
`modus-operandi-palette'."
                     (name-string (format "%s" name))
                     (value-string (format "%s" value))
                     (value-string-padded (format "%-30s" value-string))
-                    (color (modus-themes-get-color-value name mappings 
theme))) ; resolve a semantic mapping
+                    (color (modus-themes-get-color-value name :with-overrides 
theme))) ; resolve a semantic mapping
          (list
           entry
           (vector

Reply via email to