How do I assign classes to syntax for different styling?


#1

Hey guys! Excited about creating my own Syntax theme in Atom. One thing I really want to do is add some better styling for JSON (and JSONT). Currently all JSON is a light grey and I’d like to do something more. One thing I’m stuck on is how I can create classes for specific JSONT syntax ( for example, {.section} and {.end} ) so that I can add some variables to my stylesheets. Any ideas?

Thanks!


#2

Have you started with the Creating a Theme document?