Skip to main content
Coding Theme

scmGraph.historyItemBaseRefColor

scm graph history item base ref color. History item base reference color.

Group: Source Control Graph colors

Where scm graph history item base ref color paints

This sample moves from #252526 to #1a5276, then back.

scm graph history item base ref color
MfetchUser.ts

Value in popular themes

The color each of these themes assigns to scmGraph.historyItemBaseRefColor. Not set means the theme leaves the workbench default in place.

scmGraph.historyItemBaseRefColor in popular VS Code themes
ThemeValue
Dracula ThemeNot set
Tokyo Night#9d7cd8
GitHub DarkNot set
Catppuccin Mocha#fab387
One Dark ProNot set
NordNot set
Gruvbox Dark MediumNot set
Night OwlNot set
Ayu DarkNot set
Rosé PineNot set

How to change scm graph history item base ref color color in Visual Studio Code

macOS

  1. Open settings.json. Press Shift+Command+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
  2. Set this color id. Add scm graph history item base ref color under workbench.colorCustomizations. History item base reference color. Use a hex color such as #1a5276.
  3. Save the file. Press Command+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.

Windows

Linux uses the same shortcuts.

  1. Open settings.json. Press Shift+Ctrl+P to open the Command Palette, then run Preferences: Open User Settings (JSON).
  2. Set this color id. Add scm graph history item base ref color under workbench.colorCustomizations. History item base reference color. Use a hex color such as #1a5276.
  3. Save the file. Press Ctrl+S to save settings.json. Visual Studio Code applies the override on top of the active color theme. Remove the entry to use the theme color again.
{
  "workbench.colorCustomizations": {
    "scmGraph.historyItemBaseRefColor": "#1a5276"
  }
}

Other Source Control Graph colors