Class TwTimePickerTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the time picker components (TwTimePicker, TwTimePickerBody). Override any property to customize time picker styles globally.
[ExcludeFromCodeCoverage]
public class TwTimePickerTheme
- Inheritance
-
TwTimePickerTheme
- Inherited Members
Constructors
TwTimePickerTheme()
public TwTimePickerTheme()
Properties
ActionButton
Gets or sets the classes for the "Now" and "Done" buttons.
public string ActionButton { get; set; }
Property Value
Actions
Gets or sets the classes for the row holding the "Now" and "Done" buttons.
public string Actions { get; set; }
Property Value
AmPmButtonClass
Gets or sets the classes applied to both the AM and the PM button, whichever is selected.
public required string AmPmButtonClass { get; set; }
Property Value
AmPmOptionActive
Gets or sets the classes added to the selected AM or PM button.
public string AmPmOptionActive { get; set; }
Property Value
AmPmOptionInactive
Gets or sets the classes added to the AM or PM button that is not selected.
public string AmPmOptionInactive { get; set; }
Property Value
AmPmWrapper
Gets or sets the classes for the AM/PM toggle button's wrapper.
public required string AmPmWrapper { get; set; }
Property Value
BodyInner
Gets or sets the classes for the time picker body's inner content wrapper.
public required string BodyInner { get; set; }
Property Value
BodyRoot
Gets or sets the base classes for the time picker body's own outer container.
public required string BodyRoot { get; set; }
Property Value
BodySurface
Gets or sets the padding/typography classes for the popover panel's surface, used by the single TwTimePicker - background/border/rounded/shadow come from the shared TwOverlayTheme.
public required string BodySurface { get; set; }
Property Value
Column
Gets or sets the classes for each hour/minute column (stepper buttons and number input).
public required string Column { get; set; }
Property Value
ColumnLabel
Gets or sets the classes for the short label above each column ("Hour", "Min").
public string ColumnLabel { get; set; }
Property Value
ContentRow
Gets or sets the classes for the row laying out the hour, minute, and AM/PM controls.
public required string ContentRow { get; set; }
Property Value
IconGlyph
Gets or sets the classes for the clock glyph itself.
public required string IconGlyph { get; set; }
Property Value
IconWrapper
Gets or sets the classes for the clock icon's clickable wrapper within the trigger text field.
public required string IconWrapper { get; set; }
Property Value
NativeInputAppearance
Gets or sets the classes suppressing native browser chrome on the trigger field when the device's native time picker is active.
public required string NativeInputAppearance { get; set; }
Property Value
NumberInput
Gets or sets the classes for the hour/minute number inputs (sizing, alignment, font weight, text color). The input sits borderless inside Spinner; its focus ring color is resolved from the shared theme color tokens.
public required string NumberInput { get; set; }
Property Value
NumberWrapper
Gets or sets the classes for the wrapper around each hour/minute number input.
public required string NumberWrapper { get; set; }
Property Value
PanelWrapper
Gets or sets the positioning classes for the popover panel's wrapper, anchoring it beneath the trigger. Background/border/rounded/shadow/sizing are no longer baked in here - they come from the shared TwOverlayTheme via PopoverBuilder, applied to the panel's own surface element (BodySurface for the single picker, TimeRangeSize for TwTimeRangePicker) instead of this wrapper.
public required string PanelWrapper { get; set; }
Property Value
PickerRoot
Gets or sets the base classes for the picker's outer wrapper, positioning the trigger icon, text field, and popover panel.
public required string PickerRoot { get; set; }
Property Value
RangeStageTabInactive
Gets or sets the text color for an inactive Start/End step tab.
public required string RangeStageTabInactive { get; set; }
Property Value
RangeStageTabsContainer
Gets or sets the classes for the Start/End step tab row shown in TwTimeRangePicker's popover.
public required string RangeStageTabsContainer { get; set; }
Property Value
Separator
Gets or sets the classes for the ":" separator between the hour and minute columns.
public required string Separator { get; set; }
Property Value
Spinner
Gets or sets the layout classes for the box around each value and its step buttons. Its border, background and rounding come from InputVariantBuilder, so it follows the same Default, Outlined or Filled variant as every other input.
public string Spinner { get; set; }
Property Value
StageTabActive
Gets or sets the classes for the active Start/End step tab.
public required string StageTabActive { get; set; }
Property Value
StageTabBase
Gets or sets the base classes for a Start/End step tab button.
public required string StageTabBase { get; set; }
Property Value
StageTabHover
Gets or sets the hover classes for an inactive Start/End step tab.
public required string StageTabHover { get; set; }
Property Value
StepButton
Gets or sets the classes for the increment/decrement stepper buttons.
public required string StepButton { get; set; }
Property Value
TextfieldPadding
Gets or sets the padding classes for the trigger text field, leaving room for the clock icon.
public required string TextfieldPadding { get; set; }