Class TwBlazorPalette
- Namespace
- TwBlazor.Configuration.Color
- Assembly
- TwBlazor.dll
A palette of colors for a single semantic role (e.g. primary, success), covering both light and dark modes.
[ExcludeFromCodeCoverage]
public class TwBlazorPalette
- Inheritance
-
TwBlazorPalette
- Inherited Members
Constructors
TwBlazorPalette()
public TwBlazorPalette()
Properties
Accent
Gets or sets the accent (brand) color for both light and dark modes.
public string Accent { get; set; }
Property Value
Danger
Gets or sets the danger (red) color for both light and dark modes.
public string Danger { get; set; }
Property Value
Dark
Gets or sets the dark (black) color for both light and dark modes.
public string Dark { get; set; }
Property Value
Info
Gets or sets the info (purple) color for both light and dark modes.
public string Info { get; set; }
Property Value
Light
Gets or sets the light (white) color for both light and dark modes.
public string Light { get; set; }
Property Value
Primary
Gets or sets the primary (blue) color for both light and dark modes.
public string Primary { get; set; }
Property Value
Success
Gets or sets the success (green) color for both light and dark modes.
public string Success { get; set; }
Property Value
Warning
Gets or sets the warning (yellow) color for both light and dark modes.
public string Warning { get; set; }