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
Filled
public required TwBlazorPalette Filled { get; set; }
Property Value
Neutral
Gets or sets the fill and text classes of a Soft bubble with no color.
public required string Neutral { get; set; }
Property Value
NeutralOutlined
Gets or sets the border and text classes of a Outlined bubble with no color.
public required string NeutralOutlined { get; set; }
Property Value
Outlined
public required TwBlazorPalette Outlined { get; set; }
Property Value
ReactionCount
Gets or sets the classes for the count on a reaction.
public required string ReactionCount { get; set; }
Property Value
ReactionEmoji
Gets or sets the classes for the emoji on a reaction.
public required string ReactionEmoji { get; set; }
Property Value
Reactions
Gets or sets the classes for the row of reactions under the bubble.
public required string Reactions { get; set; }
Property Value
Soft
public required TwBlazorPalette Soft { get; set; }
Property Value
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
Surface
Gets or sets the classes for the bubble itself: its padding, text size and wrapping.
public required string Surface { get; set; }
Property Value
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; }