Set-SpectreColors
Description
This function sets the accent color and default value color for Spectre Console. The accent color is used for highlighting important information, while the default value color is used for displaying default values.
Examples
Example 1
This example demonstrates how to set the accent color and default value color for Spectre Console.
Parameters
AccentColor
The accent color to set. Must be a valid Spectre Console color name. Defaults to “Blue”.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Color] | false | 1 | false |
DefaultValueColor
The default value color to set. Must be a valid Spectre Console color name. Defaults to “Grey”.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Color] | false | 2 | false |
DefaultTableHeaderColor
The default table header color to set. Must be a valid Spectre Console color name. Defaults to “Default” which will be the standard console foreground color.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Color] | false | 3 | false |
DefaultTableTextColor
The default table text color to set. Must be a valid Spectre Console color name. Defaults to “Default” which will be the standard console foreground color.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Color] | false | 4 | false |