michaelgmcd / vscode-language-babel

VSCode syntax highlighting for today's JavaScript
https://marketplace.visualstudio.com/items?itemName=mgmcdermott.vscode-language-babel
MIT License
131 stars 17 forks source link

[Question] Turn strings in JSX White #22

Closed timlogemann closed 6 years ago

timlogemann commented 6 years ago

I'm used to having strings in elements like <p>Hello world</p> in white. Your extension changes them to the same blue color as my brackets.

I don't expect you to change it, because it's probably a personal preference for you to have them in blue. However I would like to know where I can change this in the extension so that I can fork it and modify it to suit my personal preferences. I don't want to switch to say, Sublime Babel, as I've found this extension better understands when to input the right comments and I really like the different colors for components.

Some images to explain what I mean: screen shot 2018-03-23 at 11 14 54

screen shot 2018-03-23 at 11 15 14

michaelgmcd commented 6 years ago

This is based entirely on your chosen theme. I'm currently using "Ayu Mirage" and my JSX strings are white. You can see what the TM scope is by using the command palette (CMD+P) and selecting "Developer: Inspect TM Scopes" with your cursor on the text (see below) screen shot 2018-03-23 at 11 17 44 am Please see https://github.com/gandm/language-babel/issues/1 if you want to manually override your color theme.

michaelgmcd commented 6 years ago

Please re-open this if this doesn't work.