|
|
@ -319,18 +319,18 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
<Style TargetType="Slider">
|
|
|
|
<Style TargetType="Slider">
|
|
|
|
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
|
|
|
<Setter Property="MinimumTrackColor" Value="White" />
|
|
|
|
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" />
|
|
|
|
<Setter Property="MaximumTrackColor" Value="Grey" />
|
|
|
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
|
|
|
<Setter Property="ThumbColor" Value="White" />
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
|
|
|
<Setter Property="MinimumTrackColor" Value="Red"/>
|
|
|
|
<Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
|
|
|
<Setter Property="MaximumTrackColor" Value="Red"/>
|
|
|
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}"/>
|
|
|
|
<Setter Property="ThumbColor" Value="Red"/>
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroup>
|
|
|
@ -343,27 +343,19 @@
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
<Style TargetType="Switch">
|
|
|
|
<Style TargetType="Switch">
|
|
|
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
|
|
|
|
|
|
|
<Setter Property="ThumbColor" Value="{StaticResource White}" />
|
|
|
|
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<Setter Property="VisualStateManager.VisualStateGroups">
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroupList>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="Disabled">
|
|
|
|
|
|
|
|
<VisualState.Setters>
|
|
|
|
|
|
|
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
|
|
|
|
|
|
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" />
|
|
|
|
|
|
|
|
</VisualState.Setters>
|
|
|
|
|
|
|
|
</VisualState>
|
|
|
|
|
|
|
|
<VisualState x:Name="On">
|
|
|
|
<VisualState x:Name="On">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" />
|
|
|
|
<Setter Property="OnColor" Value="Green" />
|
|
|
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
|
|
|
|
<Setter Property="ThumbColor" Value="White" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualState>
|
|
|
|
<VisualState x:Name="Off">
|
|
|
|
<VisualState x:Name="Off">
|
|
|
|
<VisualState.Setters>
|
|
|
|
<VisualState.Setters>
|
|
|
|
<Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" />
|
|
|
|
<Setter Property="ThumbColor" Value="White" />
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState.Setters>
|
|
|
|
</VisualState>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateGroup>
|
|
|
|