Skip to content

SplitButtonTheme

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

Theme elements specific to 's secondary-affordance region — the divider plus dropdown arrow that appears when secondary actions exist.

csharp
public static class SplitButtonTheme

Inheritance

ObjectSplitButtonTheme

Fields

ArrowBackgroundColor

Resting background tint for the divider + arrow region. Defaults to a half-shade darker than so the dropdown affordance reads as a distinct sub-region of the chip.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> ArrowBackgroundColor

ArrowForegroundColor

Foreground colour for the divider + arrow text in the resting state. Defaults to so it inherits the global text colour, matching the resting primary label treatment.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> ArrowForegroundColor

FocusedArrowBackgroundColor

Background tint for the divider + arrow region when focused. Defaults to a slightly dimmed white so the secondary affordance is still distinguishable from the brighter primary chip while staying inside the high-contrast focused palette.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedArrowBackgroundColor

FocusedArrowForegroundColor

Foreground colour for the divider + arrow text when focused.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedArrowForegroundColor

HoveredArrowBackgroundColor

Background tint for the divider + arrow region when hovered. Half-shade darker than .

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredArrowBackgroundColor

HoveredArrowForegroundColor

Foreground colour for the divider + arrow text when hovered.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredArrowForegroundColor

Remarks

SplitButton inherits its primary-region (label + chip padding) styling from ; this class adds a dedicated colour pair for the divider/arrow cells so the dropdown affordance reads as distinct from the primary action.

All defaults are a half-shade darker (resting/hovered) or slightly dimmed (focused) compared with their counterparts. Setting any colour to makes the arrow region inherit the matching primary colour, producing a uniform chip without a visible secondary tint.

Released under the MIT License.