Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After emacs -nw, themes gets messed up on GUI Emacs #408

Open
rieje opened this issue Nov 30, 2020 · 2 comments
Open

After emacs -nw, themes gets messed up on GUI Emacs #408

rieje opened this issue Nov 30, 2020 · 2 comments

Comments

@rieje
Copy link

rieje commented Nov 30, 2020

When I load solarized-light theme in Emacs on the terminal (emacs -nw), it writes to custom.el:

(custom-set-variables
 '(custom-safe-themes
   '("c433c87bd4b64b8ba9890e8ed64597ea0f8eb0396f4c9a9e01bd20a04d15d358"  
"bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" default)))
(custom-set-faces
 '(default ((((class color) (min-colors 89)) (:foreground "#657b83" :background "#fdf6e3")))))

Then when I launch GUI Emacs loading another theme, it messes colors of any themes on GUI Emacs.

Removing custom.el fixes GUI Emacs's theme colors.

To be clear, solarized-light theme works in Emacs on the terminal, but I can't use both Emacs on the terminal and GUI Emacs without removing custom.el.

I tried doom-solarized-light and it doesn't have this issue.

@hjudt
Copy link

hjudt commented Apr 1, 2021

Same here. The "default" entry gets added to custom.el and even messes up switching between solarized-dark and solarized-light. I can reproduce this with both dark and light versions of the theme.

@hjudt
Copy link

hjudt commented Apr 1, 2021

Commenting out the line containing default

`(default ((,class (:foreground ,base0 :background ,base03))))

in solarized-faces.el seems to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants