diff --git a/DeepDrftPublic.Client/DeepDrftPublic.Client.csproj b/DeepDrftPublic.Client/DeepDrftPublic.Client.csproj index 8cdd5d3..715e8e0 100644 --- a/DeepDrftPublic.Client/DeepDrftPublic.Client.csproj +++ b/DeepDrftPublic.Client/DeepDrftPublic.Client.csproj @@ -14,7 +14,6 @@ - diff --git a/DeepDrftPublic.Client/Layout/MainLayout.razor b/DeepDrftPublic.Client/Layout/MainLayout.razor index b5d3d33..8624e0c 100644 --- a/DeepDrftPublic.Client/Layout/MainLayout.razor +++ b/DeepDrftPublic.Client/Layout/MainLayout.razor @@ -7,14 +7,14 @@ @inherits LayoutComponentBase @implements IDisposable - +
- + @Body @@ -68,28 +68,6 @@ // Register to persist state when prerendering completes _persistingSubscription = PersistentState.RegisterOnPersisting(PersistDarkMode); - - // Palettes + typography live in DeepDrftShared.Client.Common.DeepDrftPalettes - // so the CMS host can reuse them. We wrap into ThemeManagerTheme to keep - // the MudBlazor.ThemeManager integration intact. - _themeManager = new ThemeManagerTheme - { - Theme = DeepDrftPalettes.Default, - }; - } - - private ThemeManagerTheme _themeManager; - public bool _themeManagerOpen = false; - - void OpenThemeManager(bool value) - { - _themeManagerOpen = value; - } - - void UpdateTheme(ThemeManagerTheme value) - { - _themeManager = value; - StateHasChanged(); } // Theme wrapper class for CSS targeting diff --git a/DeepDrftPublic.Client/_Imports.razor b/DeepDrftPublic.Client/_Imports.razor index 4b4dfdf..a17ac52 100644 --- a/DeepDrftPublic.Client/_Imports.razor +++ b/DeepDrftPublic.Client/_Imports.razor @@ -8,7 +8,6 @@ @using Microsoft.JSInterop @using MudBlazor @using MudBlazor.Services -@using MudBlazor.ThemeManager @using DeepDrftPublic.Client.Common @using DeepDrftShared.Client.Common @using DeepDrftShared.Client.Components \ No newline at end of file diff --git a/DeepDrftPublic/Components/App.razor b/DeepDrftPublic/Components/App.razor index 94e9d0b..41adde5 100644 --- a/DeepDrftPublic/Components/App.razor +++ b/DeepDrftPublic/Components/App.razor @@ -9,7 +9,6 @@ -