Table of Contents

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

string

Danger

Gets or sets the danger (red) color for both light and dark modes.

public string Danger { get; set; }

Property Value

string

Dark

Gets or sets the dark (black) color for both light and dark modes.

public string Dark { get; set; }

Property Value

string

Info

Gets or sets the info (purple) color for both light and dark modes.

public string Info { get; set; }

Property Value

string

Light

Gets or sets the light (white) color for both light and dark modes.

public string Light { get; set; }

Property Value

string

Primary

Gets or sets the primary (blue) color for both light and dark modes.

public string Primary { get; set; }

Property Value

string

Success

Gets or sets the success (green) color for both light and dark modes.

public string Success { get; set; }

Property Value

string

Warning

Gets or sets the warning (yellow) color for both light and dark modes.

public string Warning { get; set; }

Property Value

string