mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 03:53:15 +00:00
* [PS-1707] Changed the callout color to a Theme Color * [PS-1707] Changed color defaults to defined colors * [PS-1707] Added an effect to change the switch hint color to a theme color * [PS-1707] Removed HintColorSwitchEffect and added the content to the CustomSwitchRenderer to affect all switches and update on theme change
17 lines
495 B
C#
17 lines
495 B
C#
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class ExtendedSlider : Slider
|
|
{
|
|
public static readonly BindableProperty ThumbBorderColorProperty = BindableProperty.Create(
|
|
nameof(ThumbBorderColor), typeof(Color), typeof(ExtendedSlider), Color.FromHex("b5b5b5"));
|
|
|
|
public Color ThumbBorderColor
|
|
{
|
|
get => (Color)GetValue(ThumbBorderColorProperty);
|
|
set => SetValue(ThumbBorderColorProperty, value);
|
|
}
|
|
}
|
|
}
|