From 0f8e51fb684d06131b5e981909f8fbfb7b830eb4 Mon Sep 17 00:00:00 2001 From: lincube Date: Wed, 29 Apr 2026 11:01:58 +0800 Subject: [PATCH] Update icon glyphs and symbol mappings Replace and refine icon sources across settings pages and controls: many FAFontIconSource glyphs were updated to specific Seagull Fluent Icons codepoints, some FASymbolIconSource usages were replaced with FAFontIconSource, and a number of symbol-to-Symbol enum mappings were adjusted (e.g. "Bell" -> AlertOn, "Shield" -> ShieldLock). Also clarified a comment in SettingsWindow and fixed a trailing newline in StudySettingsPage. Changes standardize icon visuals and bridge FluentIcons glyphs into FluentAvalonia icon sources. --- .../Controls/SettingsOptionCard.axaml.cs | 2 +- .../Controls/SettingsSectionCard.axaml.cs | 1 + .../Views/SettingsPages/AboutSettingsPage.axaml | 6 +++--- .../SettingsPages/AppearanceSettingsPage.axaml | 10 +++++----- .../SettingsPages/ComponentsSettingsPage.axaml | 4 ++-- .../Views/SettingsPages/DevSettingsPage.axaml | 12 ++++++------ .../Views/SettingsPages/GeneralSettingsPage.axaml | 14 +++++++------- .../Views/SettingsPages/LauncherSettingsPage.axaml | 6 +++--- .../SettingsPages/NotificationSettingsPage.axaml | 10 +++++----- .../SettingsPages/PluginCatalogSettingsPage.axaml | 2 +- .../Views/SettingsPages/PluginsSettingsPage.axaml | 4 ++-- .../Views/SettingsPages/PrivacySettingsPage.axaml | 4 ++-- .../SettingsPages/StatusBarSettingsPage.axaml | 10 +++++----- .../Views/SettingsPages/StudySettingsPage.axaml | 12 ++++++------ .../Views/SettingsPages/UpdateSettingsPage.axaml | 8 ++++---- .../SettingsPages/WallpaperSettingsPage.axaml | 8 ++++---- .../Views/SettingsPages/WeatherSettingsPage.axaml | 2 +- LanMountainDesktop/Views/SettingsWindow.axaml.cs | 8 ++++---- 18 files changed, 62 insertions(+), 61 deletions(-) diff --git a/LanMountainDesktop/Controls/SettingsOptionCard.axaml.cs b/LanMountainDesktop/Controls/SettingsOptionCard.axaml.cs index b939744..96944f5 100644 --- a/LanMountainDesktop/Controls/SettingsOptionCard.axaml.cs +++ b/LanMountainDesktop/Controls/SettingsOptionCard.axaml.cs @@ -108,7 +108,7 @@ public partial class SettingsOptionCard : UserControl "Info" => Symbol.Info, "ArrowSync" => Symbol.ArrowSync, "Alert" => Symbol.Alert, - "Bell" => Symbol.Alert, // Bell也映射到Alert图标 + "Bell" => Symbol.AlertOn, _ => Symbol.Settings }; } diff --git a/LanMountainDesktop/Controls/SettingsSectionCard.axaml.cs b/LanMountainDesktop/Controls/SettingsSectionCard.axaml.cs index baee282..9e021fd 100644 --- a/LanMountainDesktop/Controls/SettingsSectionCard.axaml.cs +++ b/LanMountainDesktop/Controls/SettingsSectionCard.axaml.cs @@ -92,6 +92,7 @@ public partial class SettingsSectionCard : UserControl "PuzzlePiece" => Symbol.PuzzlePiece, "Info" => Symbol.Info, "ArrowSync" => Symbol.ArrowSync, + "Bell" => Symbol.AlertOn, _ => Symbol.Settings }; } diff --git a/LanMountainDesktop/Views/SettingsPages/AboutSettingsPage.axaml b/LanMountainDesktop/Views/SettingsPages/AboutSettingsPage.axaml index e31fd93..beee6de 100644 --- a/LanMountainDesktop/Views/SettingsPages/AboutSettingsPage.axaml +++ b/LanMountainDesktop/Views/SettingsPages/AboutSettingsPage.axaml @@ -69,7 +69,7 @@ Title="{Binding VersionLabel}" Message="{Binding VersionText}"> - + @@ -77,14 +77,14 @@ Title="{Binding CodenameLabel}" Message="{Binding CodenameText}"> - + - + diff --git a/LanMountainDesktop/Views/SettingsPages/AppearanceSettingsPage.axaml b/LanMountainDesktop/Views/SettingsPages/AppearanceSettingsPage.axaml index d5e1716..6ae5d35 100644 --- a/LanMountainDesktop/Views/SettingsPages/AppearanceSettingsPage.axaml +++ b/LanMountainDesktop/Views/SettingsPages/AppearanceSettingsPage.axaml @@ -16,7 +16,7 @@ - + - + @@ -43,7 +43,7 @@ - + - + - + diff --git a/LanMountainDesktop/Views/SettingsPages/ComponentsSettingsPage.axaml b/LanMountainDesktop/Views/SettingsPages/ComponentsSettingsPage.axaml index be52bd3..ec7628a 100644 --- a/LanMountainDesktop/Views/SettingsPages/ComponentsSettingsPage.axaml +++ b/LanMountainDesktop/Views/SettingsPages/ComponentsSettingsPage.axaml @@ -15,7 +15,7 @@ - + @@ -76,7 +76,7 @@ - + diff --git a/LanMountainDesktop/Views/SettingsPages/DevSettingsPage.axaml b/LanMountainDesktop/Views/SettingsPages/DevSettingsPage.axaml index 74d1ba2..8c19024 100644 --- a/LanMountainDesktop/Views/SettingsPages/DevSettingsPage.axaml +++ b/LanMountainDesktop/Views/SettingsPages/DevSettingsPage.axaml @@ -14,14 +14,14 @@ Message="These options are intended for debugging, diagnostics, and local plugin development." Margin="0,0,0,16"> - + - + @@ -31,7 +31,7 @@ - + @@ -41,7 +41,7 @@ - + @@ -53,7 +53,7 @@ - + - + - + - + - + - + - + - + @@ -129,7 +129,7 @@ - + diff --git a/LanMountainDesktop/Views/SettingsPages/LauncherSettingsPage.axaml b/LanMountainDesktop/Views/SettingsPages/LauncherSettingsPage.axaml index b259dbd..8394886 100644 --- a/LanMountainDesktop/Views/SettingsPages/LauncherSettingsPage.axaml +++ b/LanMountainDesktop/Views/SettingsPages/LauncherSettingsPage.axaml @@ -61,7 +61,7 @@ Description="{Binding AppearanceDescription}" IsExpanded="True"> - + @@ -85,7 +85,7 @@ Description="{Binding HiddenDescription}" IsExpanded="True"> - + @@ -103,7 +103,7 @@ Description="{Binding TypeLabel}" IsClickEnabled="False"> - +