ITheme
The interface for custom themes.
Type: Interface
Namespace: ReCaptcha.Desktop.WinUI.UI.Themes.Interfaces
Assembly: ReCaptcha.Desktop.WinUI
public interface ITheme
Properties
Background
The main backhround color.
Type: Brush
Modifier: none
Border
The main border color.
Type: Brush
Modifier: none
Foreground
The main foreground color.
Type: Brush
Modifier: none
ForegroundSecondary
The secondary foreground color.
Type: Brush
Modifier: none
Error
The error message color.
Type: Brush
Modifier: none
CheckBoxBackground
The checkbox background color.
Type: Brush
Modifier: none
CheckBoxBackgroundHover
The checkbox background color when hovered.
Type: Brush
Modifier: none
CheckBoxBackgroundPressed
The checkbox background color when pressed.
Type: Brush
Modifier: none
CheckBoxBorder
The checkbox border color.
Type: Brush
Modifier: none
CheckBoxBorderHover
The checkbox border color when hovered.
Type: Brush
Modifier: none
CheckBoxBorderPressed
The checkbox border color when pressed.
Type: Brush
Modifier: none
CheckBoxSpinner
The checkbox loading spinner color.
Type: Brush
Modifier: none
CheckBoxCheckmark
The checkbox checkmark color.
Type: Brush
Modifier: none
Methods
Light
Creates a new light theme.
Returns: A new light theme.
public static ITheme Light()
Dark
Creates a new dark theme.
Returns: A new dark theme.
public static ITheme Dark()