Table of Contents

Method SetTheme

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

SetTheme(ThemeName)

Switches the active theme used for colorization. Clears the grammar cache since theme changes may affect tokenization colors.

public void SetTheme(ThemeName theme)

Parameters

theme ThemeName

The new VS Code theme to use.