Table of Contents

TTMSFNCMemoThemeColors Class

Defines the complete set of color tokens used to style the code editor control, following the VS Code editor color theme schema; assign values to override individual theme colors.

API unit family: TMSFNCMemoCustomTheme Inherits from: TPersistent

Syntax

TTMSFNCMemoThemeColors = class(TPersistent)

Properties

Name Description
BadgeBackground Background color of badge indicators (notification counters).
BadgeForeground Foreground color of badge indicators (notification counters).
ButtonBackground Background color of button controls.
ButtonForeground Foreground color of button controls.
ContrastActiveBorder Active border color used in high-contrast mode for focused elements.
ContrastBorder Border color used in high-contrast mode for additional contrast.
DescriptionForeground Color used for description and secondary text in the UI.
DiffEditorInsertedTextBackground Background color of inserted text ranges in the diff editor.
DiffEditorInsertedTextBorder Border color around inserted text ranges in the diff editor.
DiffEditorRemovedTextBackground Background color of removed text ranges in the diff editor.
DiffEditorRemovedTextBorder Border color around removed text ranges in the diff editor.
DropdownBackground Background color of dropdown widgets.
DropdownBorder Border color of dropdown widgets.
DropdownForeground Foreground (text and icon) color inside dropdown widgets.
EditorBackground Background color of the code editor surface.
EditorBracketMatchBackground Background color of the box drawn to highlight a matching bracket.
EditorBracketMatchBorder Border color drawn around matching bracket pairs.
EditorCodeLensForeground Foreground color of code lens annotations displayed above references and implementations.
EditorCursorForeground Color of the text cursor (caret) in the editor.
EditorErrorBorder Border color drawn around error squiggle regions.
EditorErrorForeground Foreground color of error squiggles drawn under syntax or semantic errors.
EditorFindMatchBackground Background color of the current find match in the editor.
EditorFindMatchHighlightBackground Background color of other find matches in the editor (all occurrences except the current one).
EditorFindRangeHighlightBackground Background color of the region the search is restricted to when using a find range.
EditorForeground Default foreground (text) color of the code editor.
EditorGutterBackground Background color of the editor gutter (the left margin that shows line numbers, breakpoints, and fold controls).
EditorHoverHighlightBackground Background color highlighted around the word at the cursor position to indicate it is hovered.
EditorHoverWidgetBackground Background color of the hover information widget shown near the cursor.
EditorHoverWidgetBorder Border color of the hover information widget.
EditorInactiveSelectionBackground Background color of selected text in the editor when it does not have keyboard focus.
EditorIndentGuideBackground Background color of indent guide lines that show the indentation structure of the code.
EditorInlayHintBackground Background color of inline hints shown by the editor.
EditorInlayHintForeground Foreground color of inline hints (parameter names and type information) shown by the editor.
EditorLineHighlightBackground Background color of the line containing the text cursor.
EditorLineHighlightBorder Border color drawn around the line containing the text cursor.
EditorLineNumberActiveForeground Color of the line number in the gutter for the line that contains the cursor.
EditorLineNumberForeground Color of line numbers in the editor gutter.
EditorLinkActiveForeground Color of active hyperlinks in the editor when clicked or activated.
EditorMarkerNavigationBackground Background color of the marker navigation popup header area.
EditorMarkerNavigationErrorBackground Background color of the marker navigation popup when showing an error.
EditorMarkerNavigationWarningBackground Background color of the marker navigation popup when showing a warning.
EditorOverviewRulerBorder Border color of the overview ruler (the minimap-like strip on the right edge of the editor).
EditorOverviewRulerCommonContentForeground Color used in the overview ruler to mark the position of common-ancestor merge-conflict content.
EditorOverviewRulerCurrentContentForeground Color used in the overview ruler to mark the position of the current merge-conflict base content.
EditorOverviewRulerIncomingContentForeground Color used in the overview ruler to mark the position of incoming merge-conflict content.
EditorRangeHighlightBackground Background color of highlighted code ranges such as those produced by a "find all references" operation.
EditorRulerForeground Color of the vertical ruler line shown at the configured column limit.
EditorSelectionBackground Background color of selected text in the editor when it has keyboard focus.
EditorSelectionForeground Foreground color of selected text in the editor; leave as gcNull to keep the token color.
EditorSelectionHighlightBackground Background color of regions that contain the same text as the current selection.
EditorSuggestWidgetBackground Background color of the suggest (autocomplete) widget.
EditorSuggestWidgetBorder Border color of the suggest widget.
EditorSuggestWidgetForeground Foreground color of items in the suggest widget.
EditorSuggestWidgetHighlightForeground Color used to highlight the matched characters inside the selected suggest widget item.
EditorSuggestWidgetSelectedBackground Background color of the selected (highlighted) item in the suggest widget.
EditorWarningBorder Border color drawn around warning squiggle regions.
EditorWarningForeground Foreground color of warning squiggles drawn under code that has warnings.
EditorWhitespaceForeground Color used to visualise whitespace characters (spaces, tabs) when rendering whitespace is enabled.
EditorWidgetBackground Background color of overlaid editor widgets such as find/replace and parameter hints.
EditorWidgetBorder Border color of overlaid editor widgets.
EditorWordHighlightBackground Background color applied to occurrences of the word under the cursor (standard match).
EditorWordHighlightStrongBackground Background color applied to definition occurrences of the word under the cursor (strong match).
ErrorForeground Color used for error messages and error-state foreground text.
FocusBorder Border color for focused UI elements.
Foreground The default foreground color applied to UI text and icons.
HoverBackground Background color of UI elements when hovered.
InputBackground Background color of input controls such as text boxes and search fields.
InputBorder Border color of input controls.
InputForeground Foreground (text) color inside input controls.
InputOptionActiveBorder Border color of an active option toggle inside an input control.
InputPlaceholderForeground Color of placeholder text shown when an input control is empty.
InputValidationErrorBackground Background color of the error validation state indicator inside an input control.
InputValidationErrorBorder Border color of the error validation state indicator inside an input control.
InputValidationInfoBackground Background color of the information validation state indicator inside an input control.
InputValidationInfoBorder Border color of the information validation state indicator inside an input control.
InputValidationWarningBackground Background color of the warning validation state indicator inside an input control.
InputValidationWarningBorder Border color of the warning validation state indicator inside an input control.
ListActiveSelectionBackground Background color of the active (focused) selection in list controls.
ListActiveSelectionForeground Foreground color of the active (focused) selection in list controls.
ListDropBackground Background color of the drop target indicator in list controls during drag-and-drop operations.
ListFocusBackground Background color of the focused item in list controls.
ListFocusForeground Foreground color of the focused item in list controls.
ListHighlightForeground Foreground color used to highlight matching characters in list search results.
ListHoverBackground Background color of hovered list items.
ListHoverForeground Foreground color of hovered list items.
ListInactiveSelectionBackground Background color of the inactive (unfocused) selection in list controls.
ListInactiveSelectionForeground Foreground color of the inactive (unfocused) selection in list controls.
PeekViewBorder Border color of the peek view overlay panel.
PeekViewEditorBackground Background color of the code editor pane embedded inside the peek view.
PeekViewEditorGutterBackground Background color of the gutter in the embedded peek view editor.
PeekViewEditorMatchHighlightBackground Background color of matched-text highlights in the embedded peek view editor.
PeekViewResultBackground Background color of the result list pane inside the peek view.
PeekViewResultFileForeground Foreground color of file name entries in the peek view result list.
PeekViewResultLineForeground Foreground color of individual result lines in the peek view result list.
PeekViewResultMatchHighlightBackground Background color of matched-text highlights in the peek view result list.
PeekViewResultSelectionBackground Background color of the selected result entry in the peek view result list.
PeekViewResultSelectionForeground Foreground color of the selected result entry in the peek view result list.
PeekViewTitleBackground Background color of the title area in the peek view overlay.
PeekViewTitleDescriptionForeground Foreground color of the description text (line and column info) in the peek view title bar.
PeekViewTitleLabelForeground Foreground color of the label (filename) in the peek view title bar.
PickerGroupBorder Border color of group separators in picker controls.
PickerGroupForeground Foreground color of group headers in picker controls.
ProgressBarBackground Background color of progress bar controls.
ScrollbackSliderActiveBackground Background color of the scrollbar slider when actively being dragged.
ScrollbackSliderHoverBackground Background color of the scrollbar slider when hovered.
ScrollbarShadow Color of the shadow cast by the scrollbar slider.
ScrollbarSliderBackground Background color of the scrollbar slider in its default (idle) state.
SelectionBackground Background color of selected text across the UI when the editor does not have focus.
TextBlockQuoteBackground Background color of block-quoted text sections.
TextBlockQuoteBorder Left border color of block-quoted text sections.
TextBlockQuoteForeground Foreground color of block-quoted text sections.
TextCodeBlockBackground Background color of inline code blocks within text.
TextLinkActiveForeground Foreground color of hyperlinks when hovered or active.
TextLinkForeground Foreground color of hyperlinks in text content.
TextPreFormat Background color of preformatted text (monospace code) segments.
TextSeparatorForeground Color of separator lines between text sections.
WidgetShadow Shadow color cast by floating widgets and overlays.

Methods

Name Description
AsJSProperty Serialises all non-null theme color values as a JSON property string for use in the Monaco editor theme definition object.