MentorTheme enum
The MentorTheme enum of Novior.MentorAgent.Abstractions.Models: Visual theme of the MentorAgent widget.
On this page
Visual theme of the MentorAgent widget.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public enum MentorTheme
dotnet add package Novior.MentorAgent.AbstractionsValues
Section titled “Values”| Value | Number | Description |
|---|---|---|
Default | 0 | Dark translucent glass with a blue accent: the baseline in MentorAgent.css, a navy panel at 55% opacity over a blur. On a light page it shows as dark grey with the page behind it; there, use MentorTheme.Minimal. |
Dark | 1 | Dark and nearly opaque: a near-black panel at 85%, darker than MentorTheme.Default. For apps that are already dark, where the default glass looks washed out. |
Minimal | 2 | Light: a white panel, thin borders and a soft shadow. The theme for a light page. |
Custom | 3 | No theme overrides: the widget renders like MentorTheme.Default, from the baseline values in MentorAgent.css, and the host's own stylesheet changes what it overrides. PrimaryColor, if set, is still applied. Nothing has to be set by hand. |
Auto | 4 | Follows the visitor's system setting (prefers-color-scheme): MentorTheme.Minimal when it asks for light, which is also what a browser reports when the system states no preference, and MentorTheme.Default when it asks for dark. It follows the system, not your page: on a page that is always light, a visitor whose system is dark sees the dark widget. |
