Skip to content

VS Code

SilkCircuit for Visual Studio Code, all five variants in one extension.

Install from the Marketplace

  1. Extensions, Ctrl+Shift+X or Cmd+Shift+X.
  2. Search for SilkCircuit and install it.
  3. Ctrl+K Ctrl+T, then pick a variant.

Install from source

bash
git clone https://github.com/hyperb1iss/silkcircuit.git
cd silkcircuit/extras/vscode

npm install -g @vscode/vsce

# The theme has no runtime dependencies, and without this flag vsce fails
# looking for a lockfile.
vsce package --no-dependencies
code --install-extension silkcircuit-theme-*.vsix

The installer copies the extension directory straight into ~/.vscode/extensions/, which skips the packaging step: ./install.sh. The extension is one package carrying all five themes, so --variant does not narrow it; pick a theme in the editor.

Available themes

ThemeTypeDescription
SilkCircuit NeonDarkThe original electric experience
SilkCircuit VibrantDarkPure saturation, darker canvas
SilkCircuit SoftDarkGentler, for long sessions
SilkCircuit GlowDarkNear-black with pure neon
SilkCircuit DawnLightBright rooms, same accents

Color tokens

Syntax elementScopeColor
KeywordskeywordPurple
Functionsentity.name.functionCyan
StringsstringPink soft
Numbersconstant.numericCoral
Booleansconstant.languageCoral
Typesentity.name.typeYellow
CommentscommentPurple muted

Override any of them per theme in settings.json:

json
{
  "editor.tokenColorCustomizations": {
    "[SilkCircuit Neon]": {
      "textMateRules": [
        {
          "scope": "comment",
          "settings": { "foreground": "#6272a4", "fontStyle": "italic" }
        }
      ]
    }
  }
}

Contributing

The theme JSON is generated from lua/silkcircuit/variants.lua, so a color change belongs in the palette or in lua/silkcircuit/extra/vscode.lua, then make build. Editing the JSON directly gets overwritten on the next build. Package with make vscode-package.

Files

The extension manifest, icon, LICENSE, and README are hand-maintained in extras/vscode/. The themes underneath are generated.

VariantFile
neonextras/vscode/themes/silkcircuit-neon.json
vibrantextras/vscode/themes/silkcircuit-vibrant.json
softextras/vscode/themes/silkcircuit-soft.json
glowextras/vscode/themes/silkcircuit-glow.json
dawnextras/vscode/themes/silkcircuit-dawn.json