Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

fix(ui): use the Save button's accent for the Material You toggle hover

adnan-bhaldar4e71f9f99311
diff --git a/src/Filee.App/Styles/Soft.axaml b/src/Filee.App/Styles/Soft.axaml
index fb147d93..93ee63d3 100644
--- a/src/Filee.App/Styles/Soft.axaml
+++ b/src/Filee.App/Styles/Soft.axaml
@@ -455,9 +455,11 @@
<Setter Property="Background" Value="{DynamicResource AccentBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource AccentBrush}" />
</Style>
+ <!-- On + hover: the same accent as the Save button's hover (the accent, a little darker), not AccentStrong, which is
+ the dark navy / pale lavender "on container" colour of the palette. -->
<Style Selector="Window.material-you ToggleSwitch:checked:pointerover /template/ Border#SwitchKnobBounds">
- <Setter Property="Background" Value="{DynamicResource AccentStrongBrush}" />
- <Setter Property="BorderBrush" Value="{DynamicResource AccentStrongBrush}" />
+ <Setter Property="Background" Value="{DynamicResource AccentButtonBackgroundPointerOver}" />
+ <Setter Property="BorderBrush" Value="{DynamicResource AccentButtonBackgroundPointerOver}" />
</Style>
<Style Selector="Window.material-you ToggleSwitch:checked /template/ Ellipse#SwitchKnob">
<Setter Property="Fill" Value="{DynamicResource OnAccentBrush}" />