# Sandbox.UI.ScriptControl.ThemeDefinition

Immutable colors for a ScriptControl. Create a theme or copy one with a with expression,
then assign it to ScriptControl.Theme. Unspecified colors use the default dark palette.

- Kind: class
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Constructors

- [`ThemeDefinition`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/.ctor)

## Properties

- [`ActiveLineNumber`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/ActiveLineNumber): The current line number.
- [`ActiveParameter`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/ActiveParameter): The active parameter in signature help.
- [`Background`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Background): Editor background.
- [`Caret`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Caret): Text insertion caret.
- [`Comment`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Comment): Comments.
- [`CompletionHoverBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/CompletionHoverBackground): Completion row background under the mouse.
- [`CompletionSelectedBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/CompletionSelectedBackground): Selected completion row background.
- [`CompletionSelectedForeground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/CompletionSelectedForeground): Selected completion row text.
- [`ControlFlow`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/ControlFlow): Control-flow keywords.
- [`CurrentLine`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/CurrentLine): Current line background.
- [`Default`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Default): The shared default dark palette.
- [`Error`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Error): Error squiggles.
- [`Foreground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Foreground): Default code text and punctuation.
- [`GutterBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/GutterBackground): Line-number gutter background.
- [`Identifier`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Identifier): Identifiers without a more specific symbol kind.
- [`Keyword`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Keyword): Language keywords.
- [`LineNumber`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/LineNumber): Line numbers outside the current line.
- [`Member`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Member): Member names.
- [`MutedForeground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/MutedForeground): Completion footer and signature counter text.
- [`Number`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Number): Numeric literals.
- [`PopupBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/PopupBackground): Completion, hover and signature popup backgrounds.
- [`PopupBorder`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/PopupBorder): Popup borders and separators.
- [`PopupDescription`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/PopupDescription): Hover and completion descriptions.
- [`PopupShadow`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/PopupShadow): Popup drop shadow, including its opacity.
- [`PopupTitle`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/PopupTitle): Hover and completion detail titles.
- [`Selection`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Selection): Text selection background.
- [`SignatureForeground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/SignatureForeground): Signature text outside the active parameter.
- [`StatusBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/StatusBackground): Status bar background when there is no error.
- [`StatusErrorBackground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/StatusErrorBackground): Status bar background when an error is shown.
- [`StatusForeground`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/StatusForeground): Status bar text.
- [`String`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/String): String and character literals.
- [`SymbolIcon`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/SymbolIcon): Completion icons other than types and keywords.
- [`Type`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Type): Type names and type completion icons.
- [`Warning`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/Warning): Warning squiggles.

## Methods

- [`<Clone>$`](/api/Sandbox.UI.ScriptControl.ThemeDefinition/<Clone>$)
