-
Notifications
You must be signed in to change notification settings - Fork 76
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
Emacs doesn't update colors with updated theme until I restart Emacs #79
Comments
I'm not entirely sure why it doesn't seem to work, but I ran into this a while back when making tweaks. If you change the colors passed in and call base16-theme-define, I'd expect the theme to be updated, but I'm not sure what happens when you redefine faces in a theme. It's not a very high priority for me, but if you figure it out, I'd be happy to accept a PR that changes how this works if that would make it easier to make theme tweaks in the future. |
Probably after configuring properties of a theme, it should be re-enabled with An example:
|
You could try calling example: (disable-theme 'deeper-blue)
(load-theme 'ym-base16-theme t) |
I am working on a script which automatically generates a base16 theme from a source image's color palette.
Development is going well except for the fact that I have to close and reopen Emacs in order to see my theme's changes.
I have tried the following:
eval-buffer
on the theme's .el filecustomize-themes
, switching to a different theme, then switching back to my themeload-theme
There's probably something I'm not understanding about how Emacs themes work. Is there a step I'm missing or a function I need to call?
The goal is to have my theme automatically update when my desktop wallpaper changes. That won't be possible if I have to close and reopen Emacs to see the theme change.
The text was updated successfully, but these errors were encountered: