Initial commit: WpywMail 自建邮件系统:.NET 8 原生 SMTP/IMAP 服务端(DKIM 签名、SPF/DKIM/DMARC 入站校验、SQLite 存储、完整账号体系)、Node 服务端、WinUI 3 客户端与 Web 前端

This commit is contained in:
WpyQwq
2026-09-19 11:19:40 +08:00
commit b8814a7615
84 changed files with 21197 additions and 0 deletions
+81
View File
@@ -0,0 +1,81 @@
<Application
x:Class="WpywMail.Client.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:WpywMail.Client"
RequestedTheme="Dark">
<Application.Resources>
<ResourceDictionary>
<local:UnreadBackgroundConverter x:Key="UnreadBackgroundConverter" />
<local:UnreadWeightConverter x:Key="UnreadWeightConverter" />
<SolidColorBrush x:Key="PageBackgroundBrush" Color="#1E1E1E" />
<SolidColorBrush x:Key="RailBackgroundBrush" Color="#151515" />
<SolidColorBrush x:Key="SurfaceBrush" Color="#252525" />
<SolidColorBrush x:Key="SurfaceElevatedBrush" Color="#2D2D2D" />
<SolidColorBrush x:Key="StrokeBrush" Color="#3A3A3A" />
<SolidColorBrush x:Key="TextPrimaryBrush" Color="#F2F2F2" />
<SolidColorBrush x:Key="TextSecondaryBrush" Color="#B7B7B7" />
<SolidColorBrush x:Key="TextTertiaryBrush" Color="#848484" />
<SolidColorBrush x:Key="AccentBrush" Color="#5BA7FF" />
<SolidColorBrush x:Key="AccentSubtleBrush" Color="#263D55" />
<SolidColorBrush x:Key="DangerBrush" Color="#E77878" />
<Style x:Key="QuietButtonStyle" TargetType="Button">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="10,7" />
<Setter Property="CornerRadius" Value="6" />
</Style>
<Style x:Key="RailButtonStyle" TargetType="Button">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Width" Value="44" />
<Setter Property="Height" Value="44" />
<Setter Property="Padding" Value="0" />
<Setter Property="CornerRadius" Value="8" />
</Style>
<Style x:Key="FolderButtonStyle" TargetType="Button">
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="10,8" />
<Setter Property="CornerRadius" Value="6" />
</Style>
<Style x:Key="PrimaryButtonStyle" TargetType="Button">
<Setter Property="Background" Value="{StaticResource AccentBrush}" />
<Setter Property="Foreground" Value="#101010" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="16,9" />
<Setter Property="CornerRadius" Value="6" />
</Style>
<Style x:Key="TextBoxStyle" TargetType="TextBox">
<Setter Property="Background" Value="#292929" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource StrokeBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="11,8" />
<Setter Property="CornerRadius" Value="6" />
</Style>
<Style x:Key="PasswordBoxStyle" TargetType="PasswordBox">
<Setter Property="Background" Value="#292929" />
<Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
<Setter Property="BorderBrush" Value="{StaticResource StrokeBrush}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="11,8" />
<Setter Property="CornerRadius" Value="6" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>