Problem
When using emacsclient with emacs --daemon as the server, automatic theme exporting stops working. The wrong background color is extracted. Here's an example of what happens when theme-magic-export-theme-mode is active and the theme is changed to zenburn:

To the top right, wal has a preview of the current colors. Color0 (the background color) is not the only color affected, but it is the most dramatic.
Manual theme exporting still works.
Possible Cause
What seems to be happening is the default face isn't setting its background color until after theme-magic's advice is processed, but this only happens to emacsclients. (I don't currently know what would cause that.)
This may be related to the server running as a terminal-based Emacs. I don't know how that architecture works.
Problem
When using
emacsclientwithemacs --daemonas the server, automatic theme exporting stops working. The wrong background color is extracted. Here's an example of what happens whentheme-magic-export-theme-modeis active and the theme is changed tozenburn:To the top right, wal has a preview of the current colors. Color0 (the background color) is not the only color affected, but it is the most dramatic.
Manual theme exporting still works.
Possible Cause
What seems to be happening is the default face isn't setting its background color until after theme-magic's advice is processed, but this only happens to emacsclients. (I don't currently know what would cause that.)
This may be related to the server running as a terminal-based Emacs. I don't know how that architecture works.