[SOLVED] Import theme with new location


#1

So, I initially used Atom to create a new syntax theme. The folder was stored in ~/code/syntax-theme.

I ended up changing the location of the theme though, as it was better for my workflow. However, now that I’ve moved it, I have no idea how to import the new location as a theme. I want to make ~/code/atom_themes/syntax-theme/ the new theme’s location–how do I “import” a syntax theme?

Any help is appreciated.


#2

This is what the apm link command is for. You can put any package (whether theme or not) anywhere in your file system and then execute apm link from inside the package source directory. It will create a symlink for it to your ~/.atom/packages directory, where it will get loaded from the next time you launch Atom.


#3

I was unaware of this command. Thank you!