Adding functionality to themes with CoffeeScript?


#1

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.


#2

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.


#3

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