Class TwSpinnerTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the spinner component (TwSpinner). Override any property to customize spinner styles globally.
[ExcludeFromCodeCoverage]
public class TwSpinnerTheme
- Inheritance
-
TwSpinnerTheme
- Inherited Members
Constructors
TwSpinnerTheme()
public TwSpinnerTheme()
Properties
Base
Gets or sets the base classes (shape and animation) applied to the spinning indicator itself.
public required string Base { get; set; }
Property Value
Colors
Gets or sets the color palette applied to spinners.
public required TwBlazorPalette Colors { get; set; }
Property Value
DarkTrack
Gets or sets the track classes used with Dark - a near-black arc needs a dim ring of its own (rather than Track's neutral gray) to stay visible, since Dark is meant for placing on a light surface.
public required string DarkTrack { get; set; }
Property Value
Label
Gets or sets the classes for the visible label text shown when ShowLabel is true.
public required string Label { get; set; }
Property Value
Large
Gets or sets the size and border-width classes for Large.
public required string Large { get; set; }
Property Value
LightTrack
Gets or sets the track classes used with Light - a white arc needs a dim ring of its own (rather than Track's neutral gray) to stay visible, since Light is meant for placing on a dark surface.
public required string LightTrack { get; set; }
Property Value
Medium
Gets or sets the size and border-width classes for Medium.
public required string Medium { get; set; }
Property Value
Small
Gets or sets the size and border-width classes for Small.
public required string Small { get; set; }
Property Value
Track
Gets or sets the classes for the dimmed ring that sits behind the colored spinning arc, used for every Color except Light and Dark (see LightTrack/DarkTrack), whose arc colors are too close to this neutral gray to read against it.
public required string Track { get; set; }
Property Value
Wrapper
Gets or sets the classes for the wrapper that hosts the spinning indicator and its optional visible label.
public required string Wrapper { get; set; }