Table of Contents

Class TwEmptyTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the empty state component (TwEmpty). Override any property to customize empty state styles globally.

[ExcludeFromCodeCoverage]
public class TwEmptyTheme
Inheritance
TwEmptyTheme
Inherited Members

Constructors

TwEmptyTheme()

public TwEmptyTheme()

Properties

Actions

Gets or sets the classes applied to the row of actions.

public required string Actions { get; set; }

Property Value

string

Base

Gets or sets the base classes applied to every empty state's root: its layout and alignment.

public required string Base { get; set; }

Property Value

string

Content

Gets or sets the classes applied to the element that holds the child content, below the description.

public required string Content { get; set; }

Property Value

string

Description

Gets or sets the base classes applied to the description.

public required string Description { get; set; }

Property Value

string

DescriptionLarge

Gets or sets the text size of the description in a large empty state.

public required string DescriptionLarge { get; set; }

Property Value

string

DescriptionMedium

Gets or sets the text size of the description in a medium empty state.

public required string DescriptionMedium { get; set; }

Property Value

string

DescriptionSmall

Gets or sets the text size of the description in a small empty state.

public required string DescriptionSmall { get; set; }

Property Value

string

Filled

Gets or sets the classes added when the empty state is filled: a subtle background behind it.

public required string Filled { get; set; }

Property Value

string

Header

Gets or sets the classes applied to the element that groups the title and description.

public required string Header { get; set; }

Property Value

string

Large

Gets or sets the padding and spacing of a large empty state.

public required string Large { get; set; }

Property Value

string

Media

Gets or sets the classes applied to the element that holds the icon, avatar or custom media.

public required string Media { get; set; }

Property Value

string

Medium

Gets or sets the padding and spacing of a medium empty state, the default size.

public required string Medium { get; set; }

Property Value

string

Outlined

Gets or sets the classes added when the empty state is outlined: a dashed border around it.

public required string Outlined { get; set; }

Property Value

string

PlainIcon

Gets or sets the icon colour of a plain icon (shown without a tile) when no Color is set.

public required string PlainIcon { get; set; }

Property Value

string

PlainIconLarge

Gets or sets the size of a plain icon in a large empty state.

public required string PlainIconLarge { get; set; }

Property Value

string

PlainIconMedium

Gets or sets the size of a plain icon in a medium empty state.

public required string PlainIconMedium { get; set; }

Property Value

string

PlainIconSmall

Gets or sets the size of a plain icon in a small empty state.

public required string PlainIconSmall { get; set; }

Property Value

string

Small

Gets or sets the padding and spacing of a small empty state.

public required string Small { get; set; }

Property Value

string

Tile

Gets or sets the base classes of the tile behind the icon when the media variant is a tile.

public required string Tile { get; set; }

Property Value

string

TileColors

Gets or sets the tile's background and icon colour for each Color.

public required TwBlazorPalette TileColors { get; set; }

Property Value

TwBlazorPalette

TileLarge

Gets or sets the size of the tile in a large empty state.

public required string TileLarge { get; set; }

Property Value

string

TileMedium

Gets or sets the size of the tile in a medium empty state.

public required string TileMedium { get; set; }

Property Value

string

TileNeutral

Gets or sets the tile's background and icon colour when no Color is set.

public required string TileNeutral { get; set; }

Property Value

string

TileSmall

Gets or sets the size of the tile in a small empty state.

public required string TileSmall { get; set; }

Property Value

string

Title

Gets or sets the base classes applied to the title.

public required string Title { get; set; }

Property Value

string

TitleLarge

Gets or sets the text size of the title in a large empty state.

public required string TitleLarge { get; set; }

Property Value

string

TitleMedium

Gets or sets the text size of the title in a medium empty state.

public required string TitleMedium { get; set; }

Property Value

string

TitleSmall

Gets or sets the text size of the title in a small empty state.

public required string TitleSmall { get; set; }

Property Value

string