diff --git a/LANCommander/Shared/MainLayout.razor b/LANCommander/Shared/MainLayout.razor index bdad101..1d45113 100644 --- a/LANCommander/Shared/MainLayout.razor +++ b/LANCommander/Shared/MainLayout.razor @@ -1,6 +1,6 @@ @inherits LayoutComponentBase - + @@ -24,6 +24,34 @@ @code { bool _drawerOpen = true; + private static readonly MudTheme DarkTheme = new MudTheme() + { + Palette = new Palette() + { + Black = "#27272f", + Background = "#32333d", + BackgroundGrey = "#27272f", + Surface = "#373740", + DrawerBackground = "#27272f", + DrawerText = "rgba(255,255,255, 0.50)", + DrawerIcon = "rgba(255,255,255, 0.50)", + AppbarBackground = "#27272f", + AppbarText = "rgba(255,255,255, 0.70)", + TextPrimary = "rgba(255,255,255, 0.70)", + TextSecondary = "rgba(255,255,255, 0.50)", + ActionDefault = "#adadb1", + ActionDisabled = "rgba(255,255,255, 0.26)", + ActionDisabledBackground = "rgba(255,255,255, 0.12)", + Divider = "rgba(255,255,255, 0.12)", + DividerLight = "rgba(255,255,255, 0.06)", + TableLines = "rgba(255,255,255, 0.12)", + LinesDefault = "rgba(255,255,255, 0.12)", + LinesInputs = "rgba(255,255,255, 0.3)", + TextDisabled = "rgba(255,255,255, 0.2)", + TableStriped = "#3f3f45" + } + }; + void DrawerToggle() { _drawerOpen = !_drawerOpen;