Skip to content

Commit a6f29df

Browse files
committed
ux: new style for RadionButton.switch_button (#1707)
Signed-off-by: leo <[email protected]>
1 parent fee8b27 commit a6f29df

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Resources/Styles.axaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,16 +1096,22 @@
10961096
</Style>
10971097

10981098
<Style Selector="^ Path">
1099-
<Setter Property="Fill" Value="White"/>
1099+
<Setter Property="Fill" Value="{DynamicResource Brush.FG1}"/>
11001100
<Setter Property="Opacity" Value="0.8"/>
11011101
</Style>
11021102
<Style Selector="^:pointerover Path, ^:checked Path">
11031103
<Setter Property="Opacity" Value="1"/>
11041104
</Style>
1105+
<Style Selector="^:checked Path">
1106+
<Setter Property="Fill" Value="White"/>
1107+
</Style>
11051108
<Style Selector="^ TextBlock">
11061109
<Setter Property="Foreground" Value="{DynamicResource Brush.FG2}"/>
11071110
</Style>
1108-
<Style Selector="^:pointerover TextBlock, ^:checked TextBlock">
1111+
<Style Selector="^:pointerover TextBlock">
1112+
<Setter Property="Foreground" Value="{DynamicResource Brush.FG1}"/>
1113+
</Style>
1114+
<Style Selector="^:checked TextBlock">
11091115
<Setter Property="Foreground" Value="White"/>
11101116
</Style>
11111117
</Style>

0 commit comments

Comments
 (0)