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): refine Material You card corners to 16px and increase thumbnail corners to 12px

gtxPrime2aa8fac36ca2
diff --git a/src/Filee.App/Styles/Soft.axaml b/src/Filee.App/Styles/Soft.axaml
index 7c139339..3ad617a2 100644
--- a/src/Filee.App/Styles/Soft.axaml
+++ b/src/Filee.App/Styles/Soft.axaml
@@ -390,10 +390,15 @@
<Setter Property="Stroke" Value="{DynamicResource OnAccentBrush}" />
</Style>
- <!-- Cards: M3 elevated tonal surface with generous rounded corners -->
+ <!-- Cards: M3 elevated tonal surface with refined rounded corners -->
<Style Selector="Window.material-you Border.card">
- <Setter Property="CornerRadius" Value="24" />
- <Setter Property="Padding" Value="22,20" />
+ <Setter Property="CornerRadius" Value="16" />
+ <Setter Property="Padding" Value="20,18" />
+ </Style>
+
+ <!-- Recent conversion thumbnails: soft M3 rounded tile -->
+ <Style Selector="Window.material-you Border.history-thumbnail">
+ <Setter Property="CornerRadius" Value="12" />
</Style>
<!-- Buttons: M3 full pill with spring press (excluding multi-line choice cards) -->
diff --git a/src/Filee.App/Views/Pages/HomePage.axaml b/src/Filee.App/Views/Pages/HomePage.axaml
index e1eb35d9..94c3fdcd 100644
--- a/src/Filee.App/Views/Pages/HomePage.axaml
+++ b/src/Filee.App/Views/Pages/HomePage.axaml
@@ -115,7 +115,7 @@
</StackPanel>
<!-- The result: its picture, else its format; the corner says whether the job went well. -->
<Panel DockPanel.Dock="Left" Width="42" Height="42" Margin="0,0,12,0">
- <Border CornerRadius="{DynamicResource SoftRadiusSmall}" ClipToBounds="True" Background="{DynamicResource AccentSoftBrush}">
+ <Border Classes="history-thumbnail" CornerRadius="{DynamicResource SoftRadiusSmall}" ClipToBounds="True" Background="{DynamicResource AccentSoftBrush}">
<Panel>
<Image Source="{Binding Thumbnail}" Stretch="UniformToFill" IsVisible="{Binding HasThumbnail}" />
<TextBlock Text="{Binding FormatBadge}" FontSize="11" FontWeight="Bold" Foreground="{DynamicResource TextPrimaryBrush}"