Skip to content

Instantly share code, notes, and snippets.

@dima-iholkin
Last active February 14, 2023 10:16
Show Gist options
  • Save dima-iholkin/24eedb1ec32c22e1893b5beb3a1bedae to your computer and use it in GitHub Desktop.
Save dima-iholkin/24eedb1ec32c22e1893b5beb3a1bedae to your computer and use it in GitHub Desktop.
PowerShell profile for a light theme DEPRECATED
# Deprecated.
# Settings:
# (Red, Green, Blue)
# Screen Background: 242, 242, 242
# Screen Text: 12, 12, 12
# Screen Background: 204, 204, 204
# Screen Text: 58, 150, 221
# Font: Cascadia Code PL
# Font Size: 18
function Set-ConsoleColor {
# $host.ui.rawui.BackgroundColor = "White";
# $host.ui.rawui.ForegroundColor = "Black";
$Host.PrivateData.ErrorForegroundColor = "Red";
# $Host.PrivateData.ErrorBackgroundColor = "White";
$Host.PrivateData.WarningForegroundColor = "DarkYellow";
# $Host.PrivateData.WarningBackgroundColor = "White";
$Host.PrivateData.DebugForegroundColor = "DarkGray";
# $Host.PrivateData.DebugBackgroundColor = "White";
$Host.PrivateData.VerboseForegroundColor = "DarkGray";
# $Host.PrivateData.VerboseBackgroundColor = "White";
$Host.PrivateData.ProgressForegroundColor = "DarkCyan";
# $Host.PrivateData.ProgressBackgroundColor = "Gray";
$Host.PrivateData.ProgressBackgroundColor = "White";
Set-PSReadLineOption -Colors @{
Command = "Cyan"
Member = "Black"
Number = "DarkRed"
String = "DarkRed"
Variable = "DarkBlue"
Keyword = "Cyan"
Emphasis = "Green"
Comment = "DarkGreen"
Parameter = "Black"
Operator = "Black"
Type = "DarkGray"
# DefaultToken = "Black"
ContinuationPrompt = "Black"
};
}
Set-ConsoleColor;
Import-Module PowerLine;
Set-PowerLinePrompt -Colors "#A0A0A0","#C0C0C0" -PowerLineFont;
@dima-iholkin
Copy link
Author

Deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment