@using Toolbelt.Blazor.PWA.Updater
@inherits LayoutComponentBase

<MudRTLProvider RightToLeft="true">
    <MudThemeProvider Theme="MyCustomTheme" />
    <MudDialogProvider />
    <MudSnackbarProvider />

    <MudLayout>
        <div>
            @Body
            <PWAUpdater />
        </div>
    </MudLayout>
</MudRTLProvider>
@code
{
    MudTheme MyCustomTheme = new MudTheme()
        {
            Palette = new PaletteLight()
            {
                Primary = "#356859",
                Secondary = "#FD5523",
            },
            PaletteDark = new PaletteDark()
            {
                Primary = "#356859",
                Secondary = "#FD5523",
            }
        };
    protected override void OnInitialized()
    {

        base.OnInitialized();
    }
}
