kevinsawicki / monokai

Monokai Atom Syntax theme
241 stars 133 forks source link

Styles for variables (at least in JS) #18

Open dominicbarnes opened 10 years ago

dominicbarnes commented 10 years ago

I was wondering why keywords like this weren't being highlighted in my JS files, turns out there are no styles included here for that. Any chance we could add that? (it would be helpful at least for JS)

I've added this to my ~/.atom/styles.less in the meantime. (I'm more than willing to PR)

.variable.js {
    color: #fd971f;
}

I've chosen the orange color from the monokai palette. (but I'm fine with whatever makes those variables stand out!)

LaurentTreguier commented 9 years ago

Variables in JS are colored since #23 was merged, and in python too (#56). But I'm curious about why only these languages have colors instead of all languages like in most others themes. Is there a specific reason for that ?