vscode change linenumber color

Version 1.12 introduced new workbench theming options (they were experimental in 1.11).

There is a setting for the color of line numbers:

"workbench.colorCustomizations": {
  "editorLineNumber.foreground": "#999999"
}

Some themes also define current line number:

"workbench.colorCustomizations": {
  "editorLineNumber.activeForeground": "#555555"
}

See the Theme Color Reference.


There doesn't appear to be an option to tweak individual colors from a color theme in VSCode (yet?), but there are many color themes to choose from (built-in and 3rd-party), and they do post instructions on how to design your own color theme:

https://code.visualstudio.com/Docs/customization/themes


@jerclarke If you want to change the background color of the sidebar containing the row numbers, use:

    "workbench.colorCustomizations": {
        "editorGutter.background" : "#393a39"
    }