simurai/duotone-syntax

Javascript Support

NelsonBrandao opened this issue · 4 comments

Hi,

I love this theme, but i think the JS language support is a bit lacking. For objects the colors are all the same.

JS Example

We could do something similar to SCSS with different color for the keys, and maybe differentiate between bool, integer and string

CSS Example

What do you guys think?

Yeah, that's a good idea. Left a bit toned down and then right stronger.

Hmm.. @NelsonBrandao I just tried your example, and it seems already close to how SCSS does it:

screen shot 2016-04-17 at 5 38 15 pm

Do you use a different JS language package?

Hmm, yup you are right. This only happens with Babel ES6 Javascript

What's language package you use? Maybe we can add better support in this theme. Or maybe that package needs to be changed.