# HtmlDocumentationExporter.WriteThemeSwitcher

Kind: Method  
Namespace: `Sisk.Documenting.Html`  
Assembly: `Sisk.Documenting.Html.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.Html.HtmlDocumentationExporter.WriteThemeSwitcher.html

## WriteThemeSwitcher() {#Sisk_Documenting_Html_HtmlDocumentationExporter_WriteThemeSwitcher}

Writes the color theme switcher, which lets the reader choose between the system, light and dark themes.

```csharp
protected virtual HtmlElement? WriteThemeSwitcher()
```

### Returns

 HtmlElement?

The HTML element representing the theme switcher.
