Skip to content

ButtonTheme ​

Namespace: Hex1b.Theming

Assembly: Hex1b.dll

Theme elements for Button widgets.

csharp
public static class ButtonTheme

Inheritance ​

Object → ButtonTheme

Fields ​

BackgroundColor ​

Resting chip background. Defaults to a slightly brighter grey than the input-field family (TextBox / ToggleSwitch unselected use rgb(40,40,40)) so buttons read as sitting visually above input surfaces. Set to to disable the chip background.

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> BackgroundColor

FocusedBackgroundColor ​

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedBackgroundColor

FocusedForegroundColor ​

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> FocusedForegroundColor

ForegroundColor ​

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> ForegroundColor

HoveredBackgroundColor ​

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredBackgroundColor

HoveredForegroundColor ​

Returns: Hex1bThemeElement<Hex1bColor>

csharp
public static readonly Hex1bThemeElement<Hex1bColor> HoveredForegroundColor

Released under the MIT License.