diff --git a/MixApp.Shared/Pages/Index.razor b/MixApp.Shared/Pages/Index.razor index c6dd90e..9d9c502 100644 --- a/MixApp.Shared/Pages/Index.razor +++ b/MixApp.Shared/Pages/Index.razor @@ -85,7 +85,7 @@

- © 2023 - Conchbrain Club + © 2024 - Conchbrain Club  豫ICP备18041216号-5

diff --git a/MixApp.Shared/Pages/Setting.razor.cs b/MixApp.Shared/Pages/Setting.razor.cs index e0b4d93..2c4b652 100644 --- a/MixApp.Shared/Pages/Setting.razor.cs +++ b/MixApp.Shared/Pages/Setting.razor.cs @@ -125,8 +125,8 @@ protected override async Task OnInitializedAsync() ThemeOptions = [ new Option { Text = "p.setting.theme_auto", Value = "" }, - new Option { Text = "p.setting.light", Value = "#f5f5f5" }, - new Option { Text = "p.setting.dark", Value = "#333333" } + new Option { Text = "p.setting.dark", Value = "#272727" }, + new Option { Text = "p.setting.light", Value = "#f5f5f5" } ]; string theme = await LocalStorage.GetItemAsStringAsync("theme").AsTask(); diff --git a/MixApp.Shared/Shared/MainLayout.razor.cs b/MixApp.Shared/Shared/MainLayout.razor.cs index 8bdd3c3..fe298de 100644 --- a/MixApp.Shared/Shared/MainLayout.razor.cs +++ b/MixApp.Shared/Shared/MainLayout.razor.cs @@ -22,7 +22,7 @@ public class MainLayoutBase : LayoutComponentBase public Software? Software { get; set; } - public string Theme { get; set; } = "#333333"; + public string Theme { get; set; } = "#272727"; public string Color { get; set; } = "#82ddfd"; @@ -50,7 +50,7 @@ private async Task InitTheme() if (string.IsNullOrEmpty(theme)) { bool isDark = await JS.InvokeAsync("systemIsDarkTheme"); - Theme = isDark ? "#333333" : "#f5f5f5"; + Theme = isDark ? "#272727" : "#f5f5f5"; } else {