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
Extension Methods

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

BarGraphBackgroundColor

Gets the background color for bar graph controls. Null means transparent.

public Color? BarGraphBackgroundColor { 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

CheckboxBackgroundColor

Gets the background color for checkboxes in their default state. Null means transparent.

public Color? CheckboxBackgroundColor { get; set; }

Property Value

Color?

CheckboxDisabledBackgroundColor

Gets the background color for checkboxes when they are disabled. Null means transparent.

public Color? CheckboxDisabledBackgroundColor { get; set; }

Property Value

Color?

CheckboxFocusedBackgroundColor

Gets the background color for checkboxes when they have keyboard focus. Null means transparent.

public Color? CheckboxFocusedBackgroundColor { get; set; }

Property Value

Color?

DatePickerBackgroundColor

Gets the background color for the date picker control.

public Color? DatePickerBackgroundColor { get; set; }

Property Value

Color?

DatePickerCalendarHeaderColor

Gets the color for the calendar popup header text.

public Color? DatePickerCalendarHeaderColor { get; set; }

Property Value

Color?

DatePickerCalendarSelectedColor

Gets the highlight color for the selected date in the calendar popup.

public Color? DatePickerCalendarSelectedColor { get; set; }

Property Value

Color?

DatePickerCalendarTodayColor

Gets the highlight color for today's date in the calendar popup.

public Color? DatePickerCalendarTodayColor { get; set; }

Property Value

Color?

DatePickerDisabledForegroundColor

Gets the foreground color for disabled date segments.

public Color? DatePickerDisabledForegroundColor { get; set; }

Property Value

Color?

DatePickerFocusedBackgroundColor

Gets the background color for the date picker when focused.

public Color? DatePickerFocusedBackgroundColor { get; set; }

Property Value

Color?

DatePickerFocusedForegroundColor

Gets the foreground color for the date picker when focused.

public Color? DatePickerFocusedForegroundColor { get; set; }

Property Value

Color?

DatePickerForegroundColor

Gets the foreground (text) color for the date picker control.

public Color? DatePickerForegroundColor { get; set; }

Property Value

Color?

DatePickerSegmentBackgroundColor

Gets the background color for the active date segment.

public Color? DatePickerSegmentBackgroundColor { get; set; }

Property Value

Color?

DatePickerSegmentForegroundColor

Gets the foreground color for the active date segment.

public Color? DatePickerSegmentForegroundColor { 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

LineGraphBackgroundColor

Gets the background color for line graph controls. Null means transparent.

public Color? LineGraphBackgroundColor { get; set; }

Property Value

Color?

ListBackgroundColor

Gets the background color for list controls. Null means transparent.

public Color? ListBackgroundColor { 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

SliderFilledTrackColor

Gets the color for the filled track portion of slider controls. Null means use default (Cyan1).

public Color? SliderFilledTrackColor { get; set; }

Property Value

Color?

SliderFocusedThumbColor

Gets the color for the slider thumb indicator when focused. Null means use default (Yellow).

public Color? SliderFocusedThumbColor { get; set; }

Property Value

Color?

SliderThumbColor

Gets the color for the slider thumb indicator. Null means use default (White classic, Grey93 modern).

public Color? SliderThumbColor { get; set; }

Property Value

Color?

SliderTrackColor

Gets the color for the unfilled track portion of slider controls. Null means use default (Grey35 classic, Grey23 modern).

public Color? SliderTrackColor { get; set; }

Property Value

Color?

SparklineBackgroundColor

Gets the background color for sparkline controls. Null means transparent.

public Color? SparklineBackgroundColor { get; set; }

Property Value

Color?

StartMenuHeaderBackgroundColor

Gets the background color for the Start menu header area. Null means derive from dropdown colors.

public Color? StartMenuHeaderBackgroundColor { get; set; }

Property Value

Color?

StartMenuHeaderForegroundColor

Gets the foreground color for the Start menu header area. Null means derive from dropdown colors.

public Color? StartMenuHeaderForegroundColor { get; set; }

Property Value

Color?

StartMenuInfoStripForegroundColor

Gets the foreground color for the Start menu info strip. Null means derive from dropdown colors.

public Color? StartMenuInfoStripForegroundColor { get; set; }

Property Value

Color?

StartMenuSectionHeaderBackgroundColor

Gets the background color for Start menu section headers. Null means derive from dropdown colors.

public Color? StartMenuSectionHeaderBackgroundColor { get; set; }

Property Value

Color?

StatusBarBackgroundColor

Gets the background color for status bar controls. Null means inherit from container.

public Color? StatusBarBackgroundColor { get; set; }

Property Value

Color?

StatusBarForegroundColor

Gets the foreground color for status bar controls. Null means inherit from container.

public Color? StatusBarForegroundColor { get; set; }

Property Value

Color?

StatusBarShortcutForegroundColor

Gets the foreground color for shortcut key hints in status bar controls. Null means use Cyan1.

public Color? StatusBarShortcutForegroundColor { get; set; }

Property Value

Color?

TabContentBackgroundColor

Gets or sets the background color for the TabControl content area.

public Color? TabContentBackgroundColor { get; set; }

Property Value

Color?

TabContentBorderColor

Gets or sets the border color for the TabControl content area.

public Color? TabContentBorderColor { get; set; }

Property Value

Color?

TabHeaderActiveBackgroundColor

Gets or sets the background color for the active (selected) tab header.

public Color TabHeaderActiveBackgroundColor { get; set; }

Property Value

Color

TabHeaderActiveForegroundColor

Gets or sets the foreground color for the active (selected) tab header.

public Color TabHeaderActiveForegroundColor { get; set; }

Property Value

Color

TabHeaderBackgroundColor

Gets or sets the background color for inactive tab headers.

public Color TabHeaderBackgroundColor { get; set; }

Property Value

Color

TabHeaderDisabledBackgroundColor

Gets or sets the background color for disabled tab headers.

public Color TabHeaderDisabledBackgroundColor { get; set; }

Property Value

Color

TabHeaderDisabledForegroundColor

Gets or sets the foreground color for disabled tab headers.

public Color TabHeaderDisabledForegroundColor { get; set; }

Property Value

Color

TabHeaderForegroundColor

Gets or sets the foreground color for inactive tab headers.

public Color TabHeaderForegroundColor { get; set; }

Property Value

Color

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

TableHoverBackgroundColor

Gets or sets the background color for hovered rows in the table.

public Color TableHoverBackgroundColor { get; set; }

Property Value

Color

TableHoverForegroundColor

Gets or sets the foreground color for hovered rows in the table.

public Color TableHoverForegroundColor { get; set; }

Property Value

Color

TableScrollbarThumbColor

Gets or sets the color for the table scrollbar thumb.

public Color TableScrollbarThumbColor { get; set; }

Property Value

Color

TableScrollbarTrackColor

Gets or sets the color for the table scrollbar track.

public Color TableScrollbarTrackColor { get; set; }

Property Value

Color

TableSelectionBackgroundColor

Gets or sets the background color for selected rows in the table when focused.

public Color TableSelectionBackgroundColor { get; set; }

Property Value

Color

TableSelectionForegroundColor

Gets or sets the foreground color for selected rows in the table when focused.

public Color TableSelectionForegroundColor { get; set; }

Property Value

Color

TableUnfocusedSelectionBackgroundColor

Gets or sets the background color for selected rows in the table when unfocused.

public Color TableUnfocusedSelectionBackgroundColor { get; set; }

Property Value

Color

TableUnfocusedSelectionForegroundColor

Gets or sets the foreground color for selected rows in the table when unfocused.

public Color TableUnfocusedSelectionForegroundColor { 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

TimePickerBackgroundColor

Gets the background color for the time picker control.

public Color? TimePickerBackgroundColor { get; set; }

Property Value

Color?

TimePickerDisabledForegroundColor

Gets the foreground color for disabled time segments.

public Color? TimePickerDisabledForegroundColor { get; set; }

Property Value

Color?

TimePickerFocusedBackgroundColor

Gets the background color for the time picker when focused.

public Color? TimePickerFocusedBackgroundColor { get; set; }

Property Value

Color?

TimePickerFocusedForegroundColor

Gets the foreground color for the time picker when focused.

public Color? TimePickerFocusedForegroundColor { get; set; }

Property Value

Color?

TimePickerForegroundColor

Gets the foreground (text) color for the time picker control.

public Color? TimePickerForegroundColor { get; set; }

Property Value

Color?

TimePickerSegmentBackgroundColor

Gets the background color for the active time segment.

public Color? TimePickerSegmentBackgroundColor { get; set; }

Property Value

Color?

TimePickerSegmentForegroundColor

Gets the foreground color for the active time segment.

public Color? TimePickerSegmentForegroundColor { 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

TreeBackgroundColor

Gets the background color for tree controls. Null means transparent.

public Color? TreeBackgroundColor { get; set; }

Property Value

Color?

TreeSelectionBackgroundColor

Gets the background color for selected tree nodes when focused. Null means transparent.

public Color? TreeSelectionBackgroundColor { get; set; }

Property Value

Color?

TreeUnfocusedSelectionBackgroundColor

Gets the background color for selected tree nodes when unfocused. Null means transparent.

public Color? TreeUnfocusedSelectionBackgroundColor { 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