简体   繁体   中英

Changing color theme of certain things in vscode ( react )

I have recently started to learn React.js and I have a Lil problem here, trying to edit some colors in ayu theme. The thing is I want a separate color for ' state ' and ' variables ' of const. Are there any specific scopes for those?

I have sth like this but it changes every variable in the code - should I add sth to this to make it work?:

{ "name": "Variable", "scope": ["variable"], "settings": { "foreground": "#fff" }

I want to change the colors of the marked ones only

settings---> color theme --> select your theme

there are multiple themes which you can download in extensions , possibly help you diffrentiate.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM