Skip to content

Instantly share code, notes, and snippets.

@JustinGrote
Created July 30, 2019 22:13
Show Gist options
  • Save JustinGrote/752abe97a55f6b9fe430d1af7ee77fac to your computer and use it in GitHub Desktop.
Save JustinGrote/752abe97a55f6b9fe430d1af7ee77fac to your computer and use it in GitHub Desktop.
VSCode Dark+ Powershell Profile
#VSCode Specific Theming
if ($env:TERM_PROGRAM -eq 'VSCode') {
if ($psedition -eq 'core') {
$ansiesc = "`e"
} else {
$ansiesc = [char]0x1b
}
Set-PSReadlineOption -Colors @{
Command = "$($ansiesc)[93m"
Comment = "$($ansiesc)[32m"
ContinuationPrompt = "$($ansiesc)[37m"
Default = "$($ansiesc)[37m"
Emphasis = "$($ansiesc)[96m"
Error = "$($ansiesc)[31m"
Keyword = "$($ansiesc)[35m"
Member = "$($ansiesc)[96m"
Number = "$($ansiesc)[35m"
Operator = "$($ansiesc)[37m"
Parameter = "$($ansiesc)[37m"
Selection = "$($ansiesc)[37;46m"
String = "$($ansiesc)[33m"
Type = "$($ansiesc)[34m"
Variable = "$($ansiesc)[96m"
}
#Verbose Text should be distinguishable, some hosts set this to yellow
$host.PrivateData.ErrorForegroundColor = 'Red'
$host.PrivateData.VerboseForegroundColor = 'Cyan'
$host.PrivateData.WarningForegroundColor = 'Yellow'
$host.PrivateData.DebugForegroundColor = 'Magenta'
$host.PrivateData.ProgressForegroundColor = 'Yellow'
$host.PrivateData.ProgressForegroundColor = 'DarkCyan'
}
"workbench.colorCustomizations": {
"terminal.foreground": "#D4D4D4",
"terminal.background": "#1E1E1E",
"terminal.ansiBlack": "#000000",
"terminal.ansiBlue": "#2472c8",
"terminal.ansiCyan": "#11a8cd",
"terminal.ansiGreen": "#6a9955",
"terminal.ansiMagenta": "#C586C0",
"terminal.ansiRed": "#cd3131",
"terminal.ansiWhite": "#e5e5e5",
"terminal.ansiYellow": "#CE9178",
"terminal.ansiBrightBlack": "#666666",
"terminal.ansiBrightBlue": "#569cd6",
"terminal.ansiBrightCyan": "#9cdcfe",
"terminal.ansiBrightGreen": "#b5cea8",
"terminal.ansiBrightMagenta": "#daadd6",
"terminal.ansiBrightRed": "#f14c4c",
"terminal.ansiBrightWhite": "#e5e5e5",
"terminal.ansiBrightYellow": "#DCDCAA"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment