themes/solarizedlight.ps1
Set-OMPConsoleColor -ErrorForegroundColor 'Red' ` -WarningForegroundColor 'Yellow' ` -DebugForegroundColor 'Green' ` -VerboseForegroundColor 'Blue' ` -ProgressForegroundColor 'Gray' ` -ErrorBackgroundColor 'Gray' ` -WarningBackgroundColor 'Gray' ` -DebugBackgroundColor 'Gray' ` -VerboseBackgroundColor 'Gray' ` -ProgressBackgroundColor 'Cyan' # Check for PSReadline if (Get-Module -ListAvailable -Name "PSReadline") { $options = Get-PSReadlineOption # Foreground $options.CommandForegroundColor = 'Yellow' $options.ContinuationPromptForegroundColor = 'DarkYellow' $options.DefaultTokenForegroundColor = 'DarkYellow' $options.EmphasisForegroundColor = 'Cyan' $options.ErrorForegroundColor = 'Red' $options.KeywordForegroundColor = 'Green' $options.MemberForegroundColor = 'DarkGreen' $options.NumberForegroundColor = 'DarkGreen' $options.OperatorForegroundColor = 'DarkCyan' $options.ParameterForegroundColor = 'DarkCyan' $options.StringForegroundColor = 'Blue' $options.TypeForegroundColor = 'DarkBlue' $options.VariableForegroundColor = 'Green' # Background $options.CommandBackgroundColor = 'White' $options.ContinuationPromptBackgroundColor = 'White' $options.DefaultTokenBackgroundColor = 'White' $options.EmphasisBackgroundColor = 'White' $options.ErrorBackgroundColor = 'White' $options.KeywordBackgroundColor = 'White' $options.MemberBackgroundColor = 'White' $options.NumberBackgroundColor = 'White' $options.OperatorBackgroundColor = 'White' $options.ParameterBackgroundColor = 'White' $options.StringBackgroundColor = 'White' $options.TypeBackgroundColor = 'White' $options.VariableBackgroundColor = 'White' } |