Table of Contents

Class TwBubbleTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the chat bubble (TwBubble). Override any property to customize bubble styles globally.

[ExcludeFromCodeCoverage]
public class TwBubbleTheme
Inheritance
TwBubbleTheme
Inherited Members

Constructors

TwBubbleTheme()

public TwBubbleTheme()

Properties

EndTail

Gets or sets the classes that square off the bottom end corner and place the Tip there, for a bubble at the end edge.

public required string EndTail { get; set; }

Property Value

string

Filled

Gets or sets the fill and text classes of a Filled bubble for each Color.

public required TwBlazorPalette Filled { get; set; }

Property Value

TwBlazorPalette

Neutral

Gets or sets the fill and text classes of a Soft bubble with no color.

public required string Neutral { get; set; }

Property Value

string

NeutralOutlined

Gets or sets the border and text classes of a Outlined bubble with no color.

public required string NeutralOutlined { get; set; }

Property Value

string

Outlined

Gets or sets the border and text classes of a Outlined bubble for each Color.

public required TwBlazorPalette Outlined { get; set; }

Property Value

TwBlazorPalette

ReactionCount

Gets or sets the classes for the count on a reaction.

public required string ReactionCount { get; set; }

Property Value

string

ReactionEmoji

Gets or sets the classes for the emoji on a reaction.

public required string ReactionEmoji { get; set; }

Property Value

string

Reactions

Gets or sets the classes for the row of reactions under the bubble.

public required string Reactions { get; set; }

Property Value

string

Soft

Gets or sets the fill and text classes of a Soft bubble for each Color.

public required TwBlazorPalette Soft { get; set; }

Property Value

TwBlazorPalette

StartTail

Gets or sets the classes that square off the bottom start corner and place the Tip there, for a bubble at the start edge.

public required string StartTail { get; set; }

Property Value

string

Surface

Gets or sets the classes for the bubble itself: its padding, text size and wrapping.

public required string Surface { get; set; }

Property Value

string

Tip

Gets or sets the classes that draw the tail at the bottom corner of the bubble on the side facing the sender's avatar, angled down and outwards. It takes the bubble's fill and border, so it matches every variant.

public required string Tip { get; set; }

Property Value

string