Skip to content

Commit

Permalink
Update MainLayout.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Dec 28, 2024
1 parent cfc0179 commit 5394722
Showing 1 changed file with 50 additions and 57 deletions.
107 changes: 50 additions & 57 deletions LM-Kit-Maestro/UI/Razor/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,72 +5,65 @@
</div>


<MudThemeProvider Theme="@CurrentTheme" />
<MudThemeProvider IsDarkMode="true" DefaultScrollbar="false" Theme="@CurrentTheme" />

Check warning on line 8 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudThemeProvider'. If this is intended to be a component, add a @using directive for its namespace.

Check warning on line 8 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudThemeProvider'. If this is intended to be a component, add a @using directive for its namespace.
<MudPopoverProvider />

Check warning on line 9 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudPopoverProvider'. If this is intended to be a component, add a @using directive for its namespace.

Check warning on line 9 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudPopoverProvider'. If this is intended to be a component, add a @using directive for its namespace.
<MudDialogProvider />

Check warning on line 10 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudDialogProvider'. If this is intended to be a component, add a @using directive for its namespace.
<MudSnackbarProvider />

Check warning on line 11 in LM-Kit-Maestro/UI/Razor/MainLayout.razor

View workflow job for this annotation

GitHub Actions / build

Found markup element with unexpected name 'MudSnackbarProvider'. If this is intended to be a component, add a @using directive for its namespace.

@code {
private static readonly MudTheme MaestroTheme = new MudTheme()
{
PaletteDark = MaestroPalette,
PaletteDark = new()
{
Primary = "#512BD4",
Surface = "#06080A",
Background = "#12181F",
TextPrimary = "#F0F6FC",
BackgroundGray = "#FF0000",
AppbarText = "#FF0000",
AppbarBackground = "#FF0000",
DrawerBackground = "#FF0000",
ActionDefault = "#FF0000",
ActionDisabled = "#FF0000",
ActionDisabledBackground = "#FF0000",
TextSecondary = "#FF0000",
TextDisabled = "#FF0000",
DrawerIcon = "#FF0000",
DrawerText = "#FF0000",
GrayLight = "#FF0000",
GrayLighter = "#FF0000",
Info = "#FF0000",
Success = "#FF0000",
Warning = "#FF0000",
Error = "#FF0000",
LinesDefault = "#FF0000",
TableLines = "#FF0000",
Divider = "#FF0000",
OverlayLight = "#FF0000",
// BackgroundGray = "#151521",
// AppbarText = "#92929f",
// AppbarBackground = "rgba(26,26,39,0.8)",
// DrawerBackground = "#1a1a27",
// ActionDefault = "#74718e",
// ActionDisabled = "#9999994d",
// ActionDisabledBackground = "#605f6d4d",
// TextSecondary = "#92929f",
// TextDisabled = "#ffffff33",
// DrawerIcon = "#92929f",
// DrawerText = "#92929f",
// GrayLight = "#2a2833",
// GrayLighter = "#06080A",
// Info = "#4a86ff",
// Success = "#3dcb6c",
// Warning = "#ffb545",
// Error = "#ff3f5f",
// LinesDefault = "#33323e",
// TableLines = "#33323e",
// Divider = "#292838",
// OverlayLight = "#12181F",
}
};

private static readonly PaletteDark MaestroPalette = new()
{
Primary = "#FF0000",
Surface = "#FF0000",
Background = "#FF0000",
TextPrimary = "#FF0000",

// Primary = "#512BD4",
// Surface = "#06080A",
// Background = "#12181F",
// TextPrimary = "#F0F6FC",
BackgroundGray = "#FF0000",
AppbarText = "#FF0000",
AppbarBackground = "#FF0000",
DrawerBackground = "#FF0000",
ActionDefault = "#FF0000",
ActionDisabled = "#FF0000",
ActionDisabledBackground = "#FF0000",
TextSecondary = "#FF0000",
TextDisabled = "#FF0000",
DrawerIcon = "#FF0000",
DrawerText = "#FF0000",
GrayLight = "#FF0000",
GrayLighter = "#FF0000",
Info = "#FF0000",
Success = "#FF0000",
Warning = "#FF0000",
Error = "#FF0000",
LinesDefault = "#FF0000",
TableLines = "#FF0000",
Divider = "#FF0000",
OverlayLight = "#FF0000",
// BackgroundGray = "#151521",
// AppbarText = "#92929f",
// AppbarBackground = "rgba(26,26,39,0.8)",
// DrawerBackground = "#1a1a27",
// ActionDefault = "#74718e",
// ActionDisabled = "#9999994d",
// ActionDisabledBackground = "#605f6d4d",
// TextSecondary = "#92929f",
// TextDisabled = "#ffffff33",
// DrawerIcon = "#92929f",
// DrawerText = "#92929f",
// GrayLight = "#2a2833",
// GrayLighter = "#06080A",
// Info = "#4a86ff",
// Success = "#3dcb6c",
// Warning = "#ffb545",
// Error = "#ff3f5f",
// LinesDefault = "#33323e",
// TableLines = "#33323e",
// Divider = "#292838",
// OverlayLight = "#12181F",
};

public MudTheme CurrentTheme { get; private set;} = MaestroTheme;
}

0 comments on commit 5394722

Please sign in to comment.