Get-SpectreColors
Description
This function returns the current default color configuration for Spectre Console. These colors are used throughout the module as defaults for various commands. The colors can be changed using Set-SpectreColors.
Examples
Example 1
This example demonstrates how to retrieve the current default colors for Spectre Console.
Get-SpectreColors | Format-SpectreTableExample 2
This example demonstrates how to retrieve the default colors after changing them with Set-SpectreColors.
Set-SpectreColors -AccentColor "Turquoise2" -DefaultValueColor "Grey85"Get-SpectreColors | Format-SpectreTableSet-SpectreColors -AccentColor "Blue" -DefaultValueColor "Grey"Syntax
Get-SpectreColors [<CommonParameters>]