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

    Change modus-themes--list-colors-tabulated to use our own function for a 
readable foreground (commit 2c225b6)
---
 modus-themes.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modus-themes.el b/modus-themes.el
index 2dfbc735d4..c5eed3bb43 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -4249,8 +4249,8 @@ PALETTE is the value of a variable like 
`modus-operandi-palette'."
            (propertize value-string 'face `( :foreground ,color))
            (propertize value-string-padded 'face `( :background ,color
                                                     :foreground ,(if (string= 
color "unspecified")
-                                                                     
(readable-foreground-color (modus-themes-get-color-value 'bg-main nil theme))
-                                                                   
(readable-foreground-color color))))))))
+                                                                     
(modus-themes-get-readable-foreground (modus-themes-get-color-value 'bg-main 
nil theme))
+                                                                   
(modus-themes-get-readable-foreground color))))))))
      palette)))
 
 (defvar modus-themes-current-preview nil)

Reply via email to