-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[themes-megapack] Add ewal-spacemacs-themes
to themes-megapack
la…
#12330
Conversation
5617020
to
b09ef77
Compare
@jjzmajic Can you add a short example for loading the new theme? Currently I am trying dotspacemacs-themes '(spacemacs-dark spacemacs-light leuven ewal-spacemacs-themes) but this does not work with your PR. |
Unfortunately, due to problems that will soon adressed upstream (nashamri/spacemacs-theme#144), colours in spacemacs-theme are computed at library load time/macro expansion time, so this package must always be loaded first. On Spacemacs, this is unfortunately still impossible without user intervention. I did however make the changes (which, as discussed, have already been informally approved by the maintainer) locally and the package ran butter-smooth. I'm ok with this PR sitting untill that is patched upstream. I made it early because I was not sure I was going to have enough time this summer. |
Unassigned this to give someone else the chance to check this occasionally. Can only be merged when upstream fix has been merged. |
Upstream merged the @jjzmajic please check fix the conflicts in your branch, I will check again later. For the records the following new themes should be available:
|
Almost forgot about this, the upstream change doesn't matter, Spacemacs keeps a local repo of spacemacs-theme as a fallback |
I posted a comment that this PR is waiting for the upstream fix, in the spacemacs-theme gitter channel: https://github.com/nashamri/spacemacs-theme The author is travelling at the moment. nashamri/spacemacs-theme#149 (comment) |
I have updated the local version of However emacs does not longer stop to load when the new themes have been loaded so this is a step forward. @jjzmajic care to have another look? On develop you now have the latest version of spacemacs-themes available. |
Amazing. I'll take a look today. Moved away from Spacemacs, but as far as I'm concerned it's still an amazing project I wanna contribute to. Emacs is the dark side, Spacemacs is the cookies. |
…yer. Currently, the theme also modifies `spacemacs-dark` if also loaded in `dotspacemacs-themes`. A [fix](nashamri/spacemacs-theme#144) for this is on it's way upstream to `spacemacs-theme`, but the maintainer already gave their [blessing](nashamri/spacemacs-theme#139).
b09ef77
to
3b1fd71
Compare
All I actually did was modify the README. It worked out of the box for me, I just had to add |
Thanks for having another look, yeah now it looks much better. Leuven however formats it correctly. I will try to find out why, but when you have a hint I'd be happy for :). |
Now I now whats going on, your theme changes You should consider applying the changes directly in your theme, these customised variables are normally defined globally in the user-config and are not meant to be changed by non user-config code i.e. emacs will not be able to reverse the changes automatically. Anyway for spacemacs I have tweaked the way themes are cycled to restore this variable manually to the value it had after running the user-config. This solves the problem. Thank you for contributing to spacemacs 💜. I have cherry-picked your changes to develop. |
I have a feeling this commit is responsible for the following error I am getting, which is stopping Spacemacs from loading
Only appeared after I updated on develop. |
@pangdaxing23 I think it was fixed in the next commit: Because I'm not seeing that error and I updated Spacemacs after that commit. Update:I spoke to soon, when I change from the default themes (
Then I also see the error. There's an open issue about it: |
The broken commit has been reverted. Update Spacemacs. |
Dang. I let bound the custom colors now, and I don't see the issue. Completely get it if this isn't worth the extra hassle... |
There's no hassle, when a bug is discovered then we'll fix it. 😄
And it's set in the |
Figured I'd keep the |
…yer.
Currently, the theme also modifies
spacemacs-dark
if also loaded indotspacemacs-themes
. Afix for this is on it's
way upstream to
spacemacs-theme
, but the maintainer already gave theirblessing.