Adding functionality to themes with CoffeeScript?


Right, simple question. I’ve just started developing themes and I’ve been wondering if you can link a CoffeeScript file for menus and functions such as buttons for scrolling the tree view.

The menus functionality could be great for combining two or more versions of a specific theme into one — dark and light theme for example.


The base16-syntax package has some commands and such built into it, so yes. Themes are packages like anything else and can include all kinds of functionality.


Ah, I was under the assumption that Atom only loads index.less for theme packages. Thanks for the link!