Last active
September 12, 2025 17:04
-
-
Save olegsych/922dfd83d52adcbbe4add617d0183472 to your computer and use it in GitHub Desktop.
Light color scheme for Windows Terminal, PowerShell and Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " VIM configuration | |
| " Save to $env:USERHOME\_vimrc | |
| hi Visual ctermbg=LightBlue " Visual selection background |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make PowerShell mimic Visual Studio Light theme | |
| # https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-light-theme | |
| # https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#text-formatting | |
| $options = Get-PSReadLineOption | |
| $options.CommandColor = "`e[33m" # Foreground Yellow - VS User Methods | |
| $options.CommentColor = "`e[32m" # Foreground Green - VS Comment | |
| $options.ContinuationPromptColor = "`e[39m" # Foreground Default | |
| $options.DefaultTokenColor = "`e[39m" # Foreground Default | |
| $options.EmphasisColor = "`e[96m" # Bright Foreground Cyan | |
| $options.ErrorColor = "`e[91m" # Bright Foreground Red - VS Error | |
| $options.KeywordColor = "`e[94m" # Bright Foreground Blue - VS Keyword | |
| $options.MemberColor = "`e[39m" # Foreground Default - VS User Properties | |
| $options.NumberColor = "`e[39m" # Foreground Default - VS Number | |
| $options.OperatorColor = "`e[39m" # Foreground Default - VS Operator | |
| $options.ParameterColor = "`e[34m" # Foreground Blue - VS User Parameters | |
| $options.SelectionColor = "`e[39;104m" # Foreground Default; Background Bright Blue - VS Selected Text | |
| $options.StringColor = "`e[31m" # Foreground Red - VS String | |
| $options.TypeColor = "`e[36m" # Foreground Cyan - VS User Types | |
| $options.VariableColor = "`e[39m" # Foreground Default | |
| $Host.PrivateData.VerboseForegroundColor = [ConsoleColor]::DarkGray # Distinguish from Warning | |
| $PSStyle.Formatting.FormatAccent = "`e[32m" | |
| $PSStyle.Formatting.TableHeader = "`e[32m" | |
| $PSStyle.Formatting.ErrorAccent = "`e[36m" | |
| $PSStyle.Formatting.Error = "`e[31m" | |
| $PSStyle.Formatting.Warning = "`e[33m" | |
| $PSStyle.Formatting.Verbose = "`e[33m" | |
| $PSStyle.Formatting.Debug = "`e[33m" | |
| $PSStyle.Progress.Style = "`e[33m" | |
| $PSStyle.FileInfo.Directory = "`e[36m" | |
| $PSStyle.FileInfo.SymbolicLink = "`e[39m" | |
| $PSStyle.FileInfo.Executable = "`e[31m" | |
| if (-not $env:DevEnvDir) { | |
| pushd | |
| & "${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" | |
| popd | |
| } | |
| Import-Module posh-git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // My additions to default settings of Windows Terminal 1.2.2381.0 | |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "profiles": { | |
| "defaults": { | |
| "colorScheme": "Oleg's", | |
| "selectionBackground": "#61AFEF", | |
| "cursorColor": "#383A42", | |
| "font": { | |
| "face": "Consolas", | |
| "size": 11 | |
| } | |
| } | |
| }, | |
| "schemes": [ | |
| { | |
| "name": "Oleg's", | |
| "foreground": "#383A42", | |
| "background": "#FAFAFA", | |
| "black": "#383A42", | |
| "red": "#E45649", | |
| "green": "#50A14F", | |
| "yellow": "#C18301", | |
| "blue": "#0184BC", | |
| "purple": "#A626A4", | |
| "cyan": "#0997B3", | |
| "white": "#FAFAFA", | |
| "brightBlack": "#4F525D", | |
| "brightRed": "#DF6C75", | |
| "brightGreen": "#98C379", | |
| "brightYellow": "#E4C07A", | |
| "brightBlue": "#61AFEF", | |
| "brightPurple": "#C577DD", | |
| "brightCyan": "#56B5C1", | |
| "brightWhite": "#808080" // Used by Git, PowerShell as foreground color, default #FFFFFF is not visible | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make PowerShell mimic Visual Studio Light theme | |
| # https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-light-theme | |
| # https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#text-formatting | |
| $options = Get-PSReadLineOption | |
| $options.CommandColor = "$([char]0x1b)[33m" # Foreground Yellow - VS User Methods | |
| $options.CommentColor = "$([char]0x1b)[32m" # Foreground Green - VS Comment | |
| $options.ContinuationPromptColor = "$([char]0x1b)[39m" # Foreground Default | |
| $options.DefaultTokenColor = "$([char]0x1b)[39m" # Foreground Default | |
| $options.EmphasisColor = "$([char]0x1b)[96m" # Bright Foreground Cyan | |
| $options.ErrorColor = "$([char]0x1b)[91m" # Bright Foreground Red - VS Error | |
| $options.KeywordColor = "$([char]0x1b)[94m" # Bright Foreground Blue - VS Keyword | |
| $options.MemberColor = "$([char]0x1b)[39m" # Foreground Default - VS User Properties | |
| $options.NumberColor = "$([char]0x1b)[39m" # Foreground Default - VS Number | |
| $options.OperatorColor = "$([char]0x1b)[39m" # Foreground Default - VS Operator | |
| $options.ParameterColor = "$([char]0x1b)[34m" # Foreground Blue - VS User Parameters | |
| $options.SelectionColor = "$([char]0x1b)[39;104m" # Foreground Default; Background Bright Blue - VS Selected Text | |
| $options.StringColor = "$([char]0x1b)[31m" # Foreground Red - VS String | |
| $options.TypeColor = "$([char]0x1b)[36m" # Foreground Cyan - VS User Types | |
| $options.VariableColor = "$([char]0x1b)[39m" # Foreground Default | |
| $Host.PrivateData.VerboseForegroundColor = [ConsoleColor]::DarkGray # Distinguish from Warning | |
| if (-not $env:DevEnvDir) { | |
| pushd | |
| & "${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Launch-VsDevShell.ps1" | |
| popd | |
| } | |
| Import-Module posh-git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment