SyntaxTheme
ClassRepresents a mapping between ColorCode scopes and Spectre.Console styles.
Namespace:
RazorConsole.Core.Rendering.SyntaxAssembly:
RazorConsole.CoreDefinition
public class SyntaxThemeConstructors
1| Name | Type | Description |
|---|---|---|
SyntaxTheme(string, Style, IReadOnlyDictionary<string, Style>?)() | Constructor | — |
Properties
2Methods
2| Name | Type | Description |
|---|---|---|
CreateDefault() | SyntaxTheme | Creates the default syntax theme. |
GetStyle(string?)() | Style | Gets the style for the specified ColorCode scope name. |