Binaryify / OneDark-Pro

Atom's iconic One Dark theme for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme
MIT License
1.52k stars 289 forks source link

React components highlighted in a wrong way #182

Closed IAmStrong closed 6 years ago

IAmStrong commented 6 years ago

Before update the components were highlighted with the yellow color. Now the components highlighted just like other tags!

It is very confusing.

image image

IAmStrong commented 6 years ago

Now I can't distinguish between the usual tags and the Components.

Binaryify commented 6 years ago

now it just more look like atom's highlight, and you can custom it on setting.json image https://binaryify.github.io/OneDark-Pro/#/?id=user-definable-syntax-highlighting-colors

bendersej commented 6 years ago

Add these lines to your editor config to override this change.

"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "name": "js/ts support.class.component",
                "scope": "support.class.component",
                "settings": {
                    "foreground": "#e5c07b"
                }
            }
        ],
    },