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

Make selected theme permanent #7041

Closed
tobimensch opened this issue Sep 6, 2016 · 5 comments
Closed

Make selected theme permanent #7041

tobimensch opened this issue Sep 6, 2016 · 5 comments

Comments

@tobimensch
Copy link

tobimensch commented Sep 6, 2016

Currently I can install and select a theme easily.

But everytime I reload emacs the theme and the settings are gone. (I need to reinstall the package in order to see the theme in the list of themes again). I tried to put the (load theme *) line in my .spacemacs config, but to no avail.

I think it should behave like in other modern IDE/editors, so when I install and select a theme that theme should be the new default/permanent setting, until the user changes it again.

The configuration should be updated accordingly.

@NJBS
Copy link
Contributor

NJBS commented Sep 6, 2016

You'll need to modify the value of dotspacemacs-themes in your .spacemacs file such that the theme you want to use is the first value in the list:

   ;; List of themes, the first of the list is loaded when spacemacs starts.
   ;; Press <SPC> T n to cycle to the next theme in the list (works great
   ;; with 2 themes variants, one dark and one light)
   dotspacemacs-themes '(spacemacs-dark
                         spacemacs-light
                         solarized-light
                         solarized-dark
                         leuven
                         monokai
                         zenburn)

https://github.com/syl20bnr/spacemacs/blob/master/core/templates/.spacemacs.template#L95-L104

@tobimensch
Copy link
Author

ok, that works. Thank you. My point is just that something like that should be handled automatically.

@yilihong
Copy link

that will be a cool feature to have.

I change theme from time to time too.

@jsmestad
Copy link

I'd like to see this as well. Makes sharing configurations a bit easier when everyone has a complete theme list and picking one persists that across sessions. Right now we have to maintain a fork just to put our preferred theme first.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@lebensterben lebensterben moved this from Answered, waiting to To close in Forum Feb 4, 2022
@lebensterben lebensterben removed stale marked as a stale issue/pr (usually by a bot) Feature request labels Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Forum
  
To close
Development

No branches or pull requests

6 participants