Command
New-ImageConsoleStoryPalette
Creates a reusable terminal color palette for ImagePlayground console stories and tabs.
Syntax
New-ImageConsoleStoryPalette [-Accent <String>] [-Background <String>] [-Border <String>] [-Cursor <String>] [-Error <String>] [-FontFamily <String>] [-HeaderBackground <String>] [-Muted <String>] [-PageBackground <String>] [-Preset <String>] [-Success <String>] [-Text <String>] [-Warning <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Start from a built-in palette and override only the colors that belong to the demo. Window chrome and shell dialect remain separate choices.
Examples
Create a branded Ubuntu-derived palette
$palette = New-ImageConsoleStoryPalette -Preset Ubuntu -Background '#24071B' -Accent '#FF6A2B'Returns a ChartForgeX TerminalTheme that can be supplied through the Palette parameter.
Parameters
- -Accent String
- Prompt and command accent color in hexadecimal notation.
- -Background String
- Terminal content color in hexadecimal notation.
- -Border String
- Frame and divider color in hexadecimal notation.
- -Cursor String
- Cursor color in hexadecimal notation.
- -Error String
- Error text color in hexadecimal notation.
- -FontFamily String
- CSS font-family stack shared by every tab in the story.
- -HeaderBackground String
- Title-bar color in hexadecimal notation.
- -Muted String
- Muted text color in hexadecimal notation.
- -PageBackground String
- Outer page color in hexadecimal notation.
- -Preset String
- Built-in palette used as the customization baseline. Light and Dark use the canonical ChartForgeX tokens; shell-specific presets remain available.
- Possible values:
Dark,PowerShell,WindowsPowerShell,Ubuntu,Campbell,Classic,Light - -Success String
- Success text color in hexadecimal notation.
- -Text String
- Normal text color in hexadecimal notation.
- -Warning String
- Warning text color in hexadecimal notation.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.