# Class Theme
Namespace: [Markdown2Pdf.Options](Markdown2Pdf.Options)
Assembly: Markdown2Pdf.dll
The theme to use for styling the document.
```csharp
public abstract class Theme
```
#### Inheritance
[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Theme](Markdown2Pdf.Options.Theme)
#### Derived
[CustomTheme](Markdown2Pdf.Options.CustomTheme)
#### Inherited Members
[object.Equals\(object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)),
[object.Equals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)),
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring)
## Properties
### Github
Githubs markdown theme.
```csharp
public static Theme Github { get; }
```
#### Property Value
[Theme](Markdown2Pdf.Options.Theme)
#### Remarks
If the option `String)` is being used,
the npm-package github-markdown-css needs to be installed in the corresponding location.
### Latex
Latex like document styling.
```csharp
public static Theme Latex { get; }
```
#### Property Value
[Theme](Markdown2Pdf.Options.Theme)
#### Remarks
If the option `String)` is being used,
the npm-package latex.css needs to be installed in the corresponding location.
### None
Don't apply any theme to the document.
```csharp
public static Theme None { get; }
```
#### Property Value
[Theme](Markdown2Pdf.Options.Theme)
## Methods
### Custom\(string\)
Define your own theme.
```csharp
public static Theme Custom(string cssPath)
```
#### Parameters
`cssPath` [string](https://learn.microsoft.com/dotnet/api/system.string)
Path to the css containing the styles.
#### Returns
[Theme](Markdown2Pdf.Options.Theme)
The generated PredefinedTheme