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>.
This commit is contained in:
Protesilaos Stavrou 2025-10-23 11:53:41 +03:00
parent a8325500bc
commit b741887a87
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -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