Mohamed3nan / jetbrains-darcula-theme

🎨A theme extension for Visual Studio Code based on Darcula theme from Jetbrains IDEs with some improvements.

Home Page:https://marketplace.visualstudio.com/items?itemName=Anan.jetbrains-darcula-theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colors of HTML tag content in JSX

brneor opened this issue · comments

The color of content of HTML tags differ between .html files and .js files when using JSX

HTML:
image

JSX:
image

I solved this by adding this block of code in my settings.json:

"editor.tokenColorCustomizations": {
  "[JetBrains Darcula Theme]": {
    "textMateRules": [
      {
        "scope": ["meta.jsx.children"],
        "settings": {
          "foreground": "#A9B7C6"
        }
      }
    ]
  }
},

I think it would be nice to have this by default in the theme. I didn't want to make a PR yet because I don't know if you have some standard in your theme file, but if you point me a direction I'll gladly do it. :)

commented

Thanks,
fixed and it will be included in the next update.
image