-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.xaml
More file actions
27 lines (25 loc) · 1.31 KB
/
Copy pathApp.xaml
File metadata and controls
27 lines (25 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Application
x:Class="FastTransfer.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</ResourceDictionary.MergedDictionaries>
<!-- 统一卡片:圆角12、8pt 间距、跟随主题 -->
<Style x:Key="Card" TargetType="Border">
<Setter Property="Background" Value="{ThemeResource CardBackgroundFillColorDefaultBrush}" />
<Setter Property="BorderBrush" Value="{ThemeResource CardStrokeColorDefaultBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="12" />
<Setter Property="Padding" Value="16" />
</Style>
<!-- 通用页标题,统一 WinUI accent(#0078D4) 强调 -->
<Style x:Key="PageTitle" TargetType="TextBlock">
<Setter Property="Style" Value="{StaticResource TitleTextBlockStyle}" />
<Setter Property="Margin" Value="0,0,0,8" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>