Interfaces
ConsoleTheme
Color theme for the on-screen terminal. Supports the standard ANSI 16-color palette plus foreground, background, and cursor colors.
Properties
| Property | Type | Description |
|---|---|---|
background? | string | The default background color. |
black? | string | ANSI black (eg. \x1b[30m). |
blue? | string | ANSI blue (eg. \x1b[34m). |
brightBlack? | string | ANSI bright black (eg. \x1b[1;30m). |
brightBlue? | string | ANSI bright blue (eg. \x1b[1;34m). |
brightCyan? | string | ANSI bright cyan (eg. \x1b[1;36m). |
brightGreen? | string | ANSI bright green (eg. \x1b[1;32m). |
brightMagenta? | string | ANSI bright magenta (eg. \x1b[1;35m). |
brightRed? | string | ANSI bright red (eg. \x1b[1;31m). |
brightWhite? | string | ANSI bright white (eg. \x1b[1;37m). |
brightYellow? | string | ANSI bright yellow (eg. \x1b[1;33m). |
cursor? | string | The cursor color. |
cursorAccent? | string | The accent color of the cursor (fg color for a block cursor). |
cyan? | string | ANSI cyan (eg. \x1b[36m). |
extendedAnsi? | string[] | ANSI extended colors (16-255). |
foreground? | string | The default foreground color. |
green? | string | ANSI green (eg. \x1b[32m). |
magenta? | string | ANSI magenta (eg. \x1b[35m). |
red? | string | ANSI red (eg. \x1b[31m). |
selection? | string | The selection background color (can be transparent). |
white? | string | ANSI white (eg. \x1b[37m). |
yellow? | string | ANSI yellow (eg. \x1b[33m). |