Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

conduit migrate-theme

Convert VS Code themes to Conduit’s native TOML format.

Usage

conduit migrate-theme INPUT [OPTIONS]

Arguments

ArgumentDescription
INPUTPath to VS Code theme JSON file

Options

OptionDescription
--output PATHOutput path (default: ~/.conduit/themes/<name>.toml)
--paletteExtract common colors into a palette section

Examples

# Convert a VS Code theme
conduit migrate-theme ~/.vscode/extensions/theme-dracula/theme.json

# Specify output location
conduit migrate-theme theme.json --output ~/my-theme.toml

# Extract color palette
conduit migrate-theme theme.json --palette

Output Format

The generated TOML file can be used directly:

[theme]
path = "~/.conduit/themes/my-theme.toml"

Supported Themes

Most VS Code color themes are supported. The migration extracts:

  • Editor colors
  • Syntax highlighting
  • UI element colors