how to change cursor color in vscode code example

Example 1: visual studio code cursor color

VScode: in settings or Press 'control+,' search for 'theme cursor' then go to settings.json 
add this : "workbench.colorCustomizations": {
    "editorCursor.foreground": "#ffff00",
    "terminalCursor.foreground": "#ffff00"
}

Example 2: how to chage cursor color in vs code

"workbench.colorCustomizations": {
    "editorCursor.foreground": "#ffff00",
    "terminalCursor.foreground": "#ffff00"
}

Example 3: How to change color VSCode

Install Material Theme by Mattia Astorino —>  use "Set Color Theme"

Example 4: visual studio code add white theme

Selecting the Color Theme#
Open the Color Theme picker with File > Preferences > Color Theme. (Code > Preferences > Color Theme on macOS).
You can also use the keyboard shortcut Ctrl+K Ctrl+T to display the picker.
Use the cursor keys to preview the colors of the theme.
Select the theme you want and press Enter.