Table of Contents

Class TwBadgeTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the badge component (TwBadge). Override any property to customize badge styles globally.

[ExcludeFromCodeCoverage]
public class TwBadgeTheme
Inheritance
TwBadgeTheme
Inherited Members

Constructors

TwBadgeTheme()

public TwBadgeTheme()

Properties

Badge

Gets or sets the base classes applied to the count or label element.

public required string Badge { get; set; }

Property Value

string

BottomEnd

Gets or sets the positioning classes for the bottom-end corner.

public required string BottomEnd { get; set; }

Property Value

string

BottomStart

Gets or sets the positioning classes for the bottom-start corner.

public required string BottomStart { get; set; }

Property Value

string

Colors

Gets or sets the background and text classes for each Color, shown behind the count, label or dot.

public required TwBlazorPalette Colors { get; set; }

Property Value

TwBlazorPalette

Dot

Gets or sets the base classes applied to the dot element.

public required string Dot { get; set; }

Property Value

string

TopEnd

Gets or sets the positioning classes for the top-end corner.

public required string TopEnd { get; set; }

Property Value

string

TopStart

Gets or sets the positioning classes for the top-start corner.

public required string TopStart { get; set; }

Property Value

string

Wrapper

Gets or sets the base classes applied to every badge's wrapper: its positioning and layout.

public required string Wrapper { get; set; }

Property Value

string