Skip to content
| Marketplace
Sign in
Visual Studio Code>Themes>One Dark CodeNew to Visual Studio Code? Get it now.
One Dark Code

One Dark Code

LucasOe

|
225 installs
| (0) | Free
Atom's iconic One Dark theme for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

One Dark Code

One Dark Code is a version of Atom's iconic One Dark theme for Visual Studio Code.

Editor Screenshot

Markdown Preview

This theme adds its own markdown preview styling.

Markdown Screenshot


Notes

To override this (or any other) theme in your personal config file, please follow the guide in the color theme documentation. This is handy for small tweaks to the theme without having to fork and maintain your own theme.

Bracket Pair Colorization

To disable bracket pair colorization add "editor.bracketPairColorization.enabled": false to your settings.json.

Borders

To add borders around the sidebar and titlebar, use the following settings:

{
  "workbench.colorCustomizations": {
    "[One Dark Code]":{
      "activityBar.border": "#2c313c",
      "sideBar.border": "#2c313c",
      "sideBarSectionHeader.border": "#2c313c",
      "tab.border": "#2c313c",
      "titleBar.border": "#2c313c",
    }
  }
}

Alternative Syntax Highlighting

By default variables are highlighted red. If you think there is too much red, you can swap the color of variables and properties, or adjust the colors yourself:

{
  "editor.tokenColorCustomizations": {
    "[One Dark Code]": {
      "textMateRules": [
        {
          "scope": "variable",
          "settings": {
            "foreground": "#abb2bf"
          }
        },
        {
          "scope": ["variable.other.property", "variable.other.object.property"],
          "settings": {
            "foreground": "#e06c75"
          }
        }
      ]
    }
  },
  "editor.semanticTokenColorCustomizations": {
    "[One Dark Code]": {
      "rules": {
        "variable": "#abb2bf",
        "parameter": "#abb2bf",
        "selfKeyword": "#abb2bf",
        "property": "#e06c75"
      }
    }
  }
}

CHANGELOG

CHANGELOG.MD

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft