Editor class based on current syntax?


#1

I’m trying to port a TextMate theme which has different editor colours depending on what kind of file is being edited (i.e. Ruby, ERB, CSS).

However, I don’t see any way that I can scope colours in a theme in Atom based on the currently-active syntax. It’d be create to add a class to one of the top level elements (.editor?) that would allow scoping in this way, if it’s not already present?


#2

Would it be terrible to add a bump on this thread?