Table of Contents

Class ModernGrayTheme

Namespace
SharpConsoleUI.Themes
Assembly
SharpConsoleUI.dll

Modern dark theme with grayscale foundation and cyan accents. Inspired by modern developer tools like AgentStudio and ConsoleTop.

public class ModernGrayTheme : ITheme
Inheritance
ModernGrayTheme
Implements
Inherited Members

Constructors

ModernGrayTheme()

Initializes a new instance of the ModernGrayTheme class.

public ModernGrayTheme()

Properties

ActiveBorderForegroundColor

Gets or sets the foreground color for the border of active (focused) windows.

public Color ActiveBorderForegroundColor { get; set; }

Property Value

Color

ActiveTitleForegroundColor

Gets or sets the foreground color for the title text of active (focused) windows.

public Color ActiveTitleForegroundColor { get; set; }

Property Value

Color

BottomBarBackgroundColor

Gets or sets the background color for the bottom status bar of the console window system.

public Color BottomBarBackgroundColor { get; set; }

Property Value

Color

BottomBarForegroundColor

Gets or sets the foreground color for text displayed in the bottom status bar.

public Color BottomBarForegroundColor { get; set; }

Property Value

Color

ButtonBackgroundColor

Gets or sets the background color for buttons in their default (unfocused, unselected) state.

public Color ButtonBackgroundColor { get; set; }

Property Value

Color

ButtonDisabledBackgroundColor

Gets or sets the background color for buttons when they are disabled and cannot be interacted with.

public Color ButtonDisabledBackgroundColor { get; set; }

Property Value

Color

ButtonDisabledForegroundColor

Gets or sets the foreground color for button text when the button is disabled.

public Color ButtonDisabledForegroundColor { get; set; }

Property Value

Color

ButtonFocusedBackgroundColor

Gets or sets the background color for buttons when they have keyboard focus.

public Color ButtonFocusedBackgroundColor { get; set; }

Property Value

Color

ButtonFocusedForegroundColor

Gets or sets the foreground color for button text when the button has keyboard focus.

public Color ButtonFocusedForegroundColor { get; set; }

Property Value

Color

ButtonForegroundColor

Gets or sets the foreground color for button text in the default (unfocused, unselected) state.

public Color ButtonForegroundColor { get; set; }

Property Value

Color

ButtonSelectedBackgroundColor

Gets or sets the background color for buttons when they are selected or pressed.

public Color ButtonSelectedBackgroundColor { get; set; }

Property Value

Color

ButtonSelectedForegroundColor

Gets or sets the foreground color for button text when the button is selected or pressed.

public Color ButtonSelectedForegroundColor { get; set; }

Property Value

Color

Description

Gets the human-readable description of the theme explaining its visual style.

public virtual string Description { get; }

Property Value

string

DesktopBackgroundChar

Gets or sets the character used to fill the desktop background area.

public char DesktopBackgroundChar { get; set; }

Property Value

char

DesktopBackgroundColor

Gets or sets the background color for the desktop area behind all windows.

public Color DesktopBackgroundColor { get; set; }

Property Value

Color

DesktopForegroundColor

Gets or sets the foreground color for the desktop background character pattern.

public Color DesktopForegroundColor { get; set; }

Property Value

Color

DropdownBackgroundColor

Gets or sets the background color for dropdown control lists.

public Color DropdownBackgroundColor { get; set; }

Property Value

Color

DropdownForegroundColor

Gets or sets the foreground color for dropdown control list items.

public Color DropdownForegroundColor { get; set; }

Property Value

Color

DropdownHighlightBackgroundColor

Gets or sets the background color for highlighted/selected dropdown items.

public Color DropdownHighlightBackgroundColor { get; set; }

Property Value

Color

DropdownHighlightForegroundColor

Gets or sets the foreground color for highlighted/selected dropdown items.

public Color DropdownHighlightForegroundColor { get; set; }

Property Value

Color

InactiveBorderForegroundColor

Gets or sets the foreground color for the border of inactive (unfocused) windows.

public Color InactiveBorderForegroundColor { get; set; }

Property Value

Color

InactiveTitleForegroundColor

Gets or sets the foreground color for the title text of inactive (unfocused) windows.

public Color InactiveTitleForegroundColor { get; set; }

Property Value

Color

ListHoverBackgroundColor

Gets or sets the background color for list items when hovered by the mouse.

public Color? ListHoverBackgroundColor { get; set; }

Property Value

Color?

ListHoverForegroundColor

Gets or sets the foreground color for list items when hovered by the mouse.

public Color? ListHoverForegroundColor { get; set; }

Property Value

Color?

ListUnfocusedHighlightBackgroundColor

Gets or sets the background color for list items when highlighted but the control is unfocused.

public Color ListUnfocusedHighlightBackgroundColor { get; set; }

Property Value

Color

ListUnfocusedHighlightForegroundColor

Gets or sets the foreground color for list items when highlighted but the control is unfocused.

public Color ListUnfocusedHighlightForegroundColor { get; set; }

Property Value

Color

MenuBarBackgroundColor

Gets or sets the background color for the menu bar (top-level items). Null means inherit from container.

public Color? MenuBarBackgroundColor { get; set; }

Property Value

Color?

MenuBarForegroundColor

Gets or sets the foreground color for the menu bar (top-level items). Null means inherit from container.

public Color? MenuBarForegroundColor { get; set; }

Property Value

Color?

MenuBarHighlightBackgroundColor

Gets or sets the background color for highlighted menu bar items.

public Color MenuBarHighlightBackgroundColor { get; set; }

Property Value

Color

MenuBarHighlightForegroundColor

Gets or sets the foreground color for highlighted menu bar items.

public Color MenuBarHighlightForegroundColor { get; set; }

Property Value

Color

MenuDropdownBackgroundColor

Gets or sets the background color for menu dropdowns.

public Color MenuDropdownBackgroundColor { get; set; }

Property Value

Color

MenuDropdownForegroundColor

Gets or sets the foreground color for menu dropdown items.

public Color MenuDropdownForegroundColor { get; set; }

Property Value

Color

MenuDropdownHighlightBackgroundColor

Gets or sets the background color for highlighted menu dropdown items.

public Color MenuDropdownHighlightBackgroundColor { get; set; }

Property Value

Color

MenuDropdownHighlightForegroundColor

Gets or sets the foreground color for highlighted menu dropdown items.

public Color MenuDropdownHighlightForegroundColor { get; set; }

Property Value

Color

ModalBackgroundColor

Gets or sets the background color for modal dialog windows.

public Color ModalBackgroundColor { get; set; }

Property Value

Color

ModalBorderForegroundColor

Gets or sets the foreground color for the border of modal dialog windows.

public Color ModalBorderForegroundColor { get; set; }

Property Value

Color

ModalFlashColor

Gets or sets the background color used when flashing modal windows to draw user attention.

public Color ModalFlashColor { get; set; }

Property Value

Color

ModalTitleForegroundColor

Gets or sets the foreground color for the title text of modal dialog windows.

public Color ModalTitleForegroundColor { get; set; }

Property Value

Color

Name

Gets the unique name of the theme used for identification and selection.

public virtual string Name { get; }

Property Value

string

NotificationDangerWindowBackgroundColor

Gets or sets the background color for danger/error notification windows.

public Color NotificationDangerWindowBackgroundColor { get; set; }

Property Value

Color

NotificationInfoWindowBackgroundColor

Gets or sets the background color for informational notification windows.

public Color NotificationInfoWindowBackgroundColor { get; set; }

Property Value

Color

NotificationSuccessWindowBackgroundColor

Gets or sets the background color for success notification windows.

public Color NotificationSuccessWindowBackgroundColor { get; set; }

Property Value

Color

NotificationWarningWindowBackgroundColor

Gets or sets the background color for warning notification windows.

public Color NotificationWarningWindowBackgroundColor { get; set; }

Property Value

Color

NotificationWindowBackgroundColor

Gets or sets the background color for generic notification windows without a specific type.

public Color NotificationWindowBackgroundColor { get; set; }

Property Value

Color

ProgressBarFilledColor

Gets or sets the color for the filled portion of progress bars.

public Color ProgressBarFilledColor { get; set; }

Property Value

Color

ProgressBarPercentageColor

Gets or sets the color for the percentage text display on progress bars.

public Color ProgressBarPercentageColor { get; set; }

Property Value

Color

ProgressBarUnfilledColor

Gets or sets the color for the unfilled portion of progress bars.

public Color ProgressBarUnfilledColor { get; set; }

Property Value

Color

PromptInputBackgroundColor

Gets or sets the background color for prompt input fields in their default state.

public Color PromptInputBackgroundColor { get; set; }

Property Value

Color

PromptInputFocusedBackgroundColor

Gets or sets the background color for prompt input fields when they have keyboard focus.

public Color PromptInputFocusedBackgroundColor { get; set; }

Property Value

Color

PromptInputFocusedForegroundColor

Gets or sets the foreground color for text in prompt input fields when focused.

public Color PromptInputFocusedForegroundColor { get; set; }

Property Value

Color

PromptInputForegroundColor

Gets or sets the foreground color for text in prompt input fields in their default state.

public Color PromptInputForegroundColor { get; set; }

Property Value

Color

SeparatorForegroundColor

Gets or sets the foreground color for separator controls.

public Color? SeparatorForegroundColor { get; set; }

Property Value

Color?

ShowModalShadow

Gets or sets a value indicating whether modal windows should display a drop shadow effect.

public bool ShowModalShadow { get; set; }

Property Value

bool

TableBackgroundColor

Gets or sets the background color for table controls.

public Color TableBackgroundColor { get; set; }

Property Value

Color

TableBorderColor

Gets or sets the border color for table controls. Null means falls back to active window border color.

public Color? TableBorderColor { get; set; }

Property Value

Color?

TableForegroundColor

Gets or sets the foreground color for table controls.

public Color TableForegroundColor { get; set; }

Property Value

Color

TableHeaderBackgroundColor

Gets or sets the background color for table headers.

public Color TableHeaderBackgroundColor { get; set; }

Property Value

Color

TableHeaderForegroundColor

Gets or sets the foreground color for table headers.

public Color TableHeaderForegroundColor { get; set; }

Property Value

Color

TextEditFocusedNotEditing

Gets or sets the background color for text edit controls when focused but not in editing mode.

public Color TextEditFocusedNotEditing { get; set; }

Property Value

Color

ToolbarBackgroundColor

Gets or sets the background color for toolbar controls. Null means transparent (inherit from container).

public Color? ToolbarBackgroundColor { get; set; }

Property Value

Color?

ToolbarForegroundColor

Gets or sets the foreground color for toolbar controls. Null means transparent (inherit from container).

public Color? ToolbarForegroundColor { get; set; }

Property Value

Color?

TopBarBackgroundColor

Gets or sets the background color for the top application bar of the console window system.

public Color TopBarBackgroundColor { get; set; }

Property Value

Color

TopBarForegroundColor

Gets or sets the foreground color for text displayed in the top application bar.

public Color TopBarForegroundColor { get; set; }

Property Value

Color

UseDoubleLineBorderForModal

Gets or sets a value indicating whether modal windows should use double-line border characters instead of single-line borders for visual distinction.

public bool UseDoubleLineBorderForModal { get; set; }

Property Value

bool

WindowBackgroundColor

Gets or sets the default background color for standard window content areas.

public Color WindowBackgroundColor { get; set; }

Property Value

Color

WindowForegroundColor

Gets or sets the default foreground color for text in standard window content areas.

public Color WindowForegroundColor { get; set; }

Property Value

Color