Fork me on GitHub
#spacemacs
<
2018-02-21
>
twashing04:02:59

Hey @ag I tried that out. But it didn’t work.

ag04:02:11

here's what I do: 1) add path to dir with the theme.el to add-to-list 'custom-theme-load-path 2) add theme into dotspacemacs-themes 3) and symlink the theme.el to ~/.emacs.d

twashing04:02:27

Happy to pair on in at some point. As far as I can tell though, the dotspacemacs-additional-packages github fetcher seems broken.

dotspacemacs-additional-packages
   '(hcl-mode
     (firebelly :location (recipe :fetcher github :repo "startling/firebelly")))

ag04:02:47

oh, in your case I believe you need to add it as firebelly-theme

ag04:02:01

(firebelly-theme :location ,,,, etc

ag04:02:53

I thought you're trying to load custom local theme

twashing05:02:57

Nope. No dice.

Warnings:
- An error occurred while applying the theme "firebelly", fallback on theme
  "spacemacs-dark". Error was: (error Package 'firebelly-theme-' is unavailable)      
- Please check the value of "dotspacemacs-themes" in your dotfile or open an issue
  so we can add support for the theme "firebelly".      
- tern binary not found

twashing05:02:22

For this…

dotspacemacs-additional-packages
   '(hcl-mode
     (firebelly-theme :location (recipe :fetcher github :repo "startling/firebelly")))

ag05:02:58

does it fetch the it at all?

twashing05:02:40

Emacs’ messages window doesn’t say what failed. Just that message,

ag05:02:18

lemme try something here

twashing05:02:13

Oops, I lied. In the messages pane, Emacs gives these messages:

...
(Spacemacs) --> installing package: firebelly-theme@dotfile... [1/1]
Fetcher: github
Source: startling/firebelly

Cloning  to /Users/timothyw/.emacs.d/.cache/quelpa/build/firebelly-theme/
Saving file /Users/timothyw/.emacs.d/.cache/quelpa/packages/firebelly-theme-20140410.155.el...
Wrote /Users/timothyw/.emacs.d/.cache/quelpa/packages/firebelly-theme-20140410.155.el
Making version-control local to firebelly-theme-autoloads.el while let-bound!
Generating autoloads for firebelly-theme.el...done
Saving file /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155/firebelly-theme-autoloads.el...
Wrote /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155/firebelly-theme-autoloads.el
Checking /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155... [3 times]
Compiling /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155/firebelly-theme.el...done
Wrote /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155/firebelly-theme.elc
Checking /Users/timothyw/.emacs.d/elpa/firebelly-theme-20140410.155...
Done (Total of 1 file compiled, 2 skipped)
...

twashing05:02:02

And that’s when I changed to:

dotspacemacs-additional-packages
   '(hcl-mode
     (firebelly-theme :location (recipe :fetcher github :repo "startling/firebelly")))

ag05:02:11

so it did download it

ag05:02:53

now I think you just need to load it load-theme 'firebelly

ag05:02:13

and then add it to dotspacemacs-themes

ag05:02:33

so you can switch between light and dark

ag05:02:44

that's what usually people do

twashing05:02:08

I just blew away elpa/ and .cache/

ag05:02:06

yeah, I do that sometimes... xargs rm -rf <.gitignore

twashing05:02:07

load-theme 'firebelly is something I that I expected that config in init.el to handle… But let’s see

ag05:02:34

yeah, custom themes are pain

twashing05:02:05

Yeaaah 😪

ag05:02:17

the other day TX got really pissed at someone, they've decided to change bunch of colors in his favorite theme

ag05:02:34

he spent half a day trying to restore original colors

ag05:02:13

you still in the city or you moved down south?

ag05:02:25

there's Emacs meetup on Thursday

ag05:02:31

in the city

twashing05:02:39

Ah ok. I’m down in San Jose, atm.

twashing05:02:36

Looks like that worked, btw. So thanks! I owe you a beer.

ag05:02:14

no problem! glad I was able to help. usually that's not the case

twashing05:02:32

Well I know the inner workings of Spacemacs a bit better now. Theme name has to match the theme symbol at runtime (which both can be different than the file name)…

twashing05:02:59

I’m gonna try to make it.

ag05:02:17

yeah, it's small but cozy 😉 guys been struggling to find a venue. I tried to talk to our guys - my management well... wasn't very enthusiastic about it

ag05:02:25

last time it was really good. John Wigley was in the city, he showed some mindblowing stuff in org