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

    Include the frame-background-mode in the theme macro
---
 modus-themes.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index e259165aa5..e01fa959e6 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7328,7 +7328,10 @@ are symbols of variables which define palettes 
commensurate with
                         colors))
          (ignore c ,@colors) ; Silence unused variable warnings
          (custom-theme-set-faces ',name ,@modus-themes-faces)
-         (custom-theme-set-variables ',name ,@modus-themes-custom-variables)
+         (custom-theme-set-variables
+          ',name
+          ,@(append modus-themes-custom-variables
+                    (list `'(frame-background-mode ',background-mode))))
          ,@(unless theme-exists-p
              (list `(provide-theme ',name)))))))
 

Reply via email to