duotone-syntax
duotone-syntax copied to clipboard
Javascript Support
Hi,
I love this theme, but i think the JS language support is a bit lacking. For objects the colors are all the same.
We could do something similar to SCSS with different color for the keys, and maybe differentiate between bool
, integer
and string
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:
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.