Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ThemeToCssNew to Visual Studio Code? Get it now.
ThemeToCss

ThemeToCss

Stephane Cuillerdier

|
7 installs
| (0) | Free
Extract Current Theme as CSS VSCode Vars
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Theme To CSS

This extension allows you to extract your current VSCode theme's colors settings into a .css file using --vscode-* variables.

Usage

  • Open the command palette.
  • Run Extract Current Theme as CSS VSCode Vars.
  • Save the file where you want.

Example Output

/* Css vars of theme : Visual Studio Dark */
:root {
	--vscode-actionBar-toggledBackground:  #383a49;
	--vscode-activityBarBadge-background:  #007acc;
	--vscode-checkbox-border:  #6b6b6b;
	--vscode-editor-background:  #1e1e1e;
	--vscode-editor-foreground:  #d4d4d4;
	--vscode-editor-inactiveSelectionBackground:  #3a3d41;
	--vscode-editor-selectionHighlightBackground:  #add6ff26;
  ...
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft