API Reference
Class
ThemeColors
Optional color overrides for HTML rendering. Values are CSS color strings (e.g., #RRGGBB). Leave null to keep defaults from the selected HtmlStyle.
Inheritance
- Object
- ThemeColors
Constructors
public ThemeColors() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String AccentLight { get; set; } #Accent color for light mode. Used for links, active TOC items, and accented borders. Example: "#0969da".
public String AccentDark { get; set; } #Accent color for dark mode. Used for links, active TOC items, and accented borders. Example: "#2f81f7".
public String HeadingLight { get; set; } #Heading color (h1..h6) in light mode.
public String HeadingDark { get; set; } #Heading color (h1..h6) in dark mode.
public String TocBgLight { get; set; } #Background color of the TOC panel in light mode.
public String TocBgDark { get; set; } #Background color of the TOC panel in dark mode.
public String TocBorderLight { get; set; } #Border color of the TOC in light mode.
public String TocBorderDark { get; set; } #Border color of the TOC in dark mode.
public String ActiveLinkLight { get; set; } #Active TOC link color in light mode (overrides AccentLight when set).
public String ActiveLinkDark { get; set; } #Active TOC link color in dark mode (overrides AccentDark when set).