Blazorise Theme Update
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<Router AppAssembly="@typeof(App).Assembly">
|
<Blazorise.ThemeProvider Theme="@theme">
|
||||||
|
<Router AppAssembly="@typeof(App).Assembly">
|
||||||
<Found Context="routeData">
|
<Found Context="routeData">
|
||||||
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">
|
||||||
</AuthorizeRouteView>
|
</AuthorizeRouteView>
|
||||||
@@ -10,6 +11,19 @@
|
|||||||
<p role="alert">Sorry, there's nothing at this address.</p>
|
<p role="alert">Sorry, there's nothing at this address.</p>
|
||||||
</LayoutView>
|
</LayoutView>
|
||||||
</NotFound>
|
</NotFound>
|
||||||
</Router>
|
</Router>
|
||||||
|
</Blazorise.ThemeProvider>
|
||||||
|
|
||||||
<MessageAlert />
|
<MessageAlert/>
|
||||||
|
|
||||||
|
@code{
|
||||||
|
private Theme theme = new()
|
||||||
|
{
|
||||||
|
ColorOptions = new ThemeColorOptions
|
||||||
|
{
|
||||||
|
Primary = "#64ae24",
|
||||||
|
Secondary = "#533a20",
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -11,9 +11,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Blazorise.DataGrid" Version="0.9.5.4" />
|
<PackageReference Include="Blazorise.DataGrid" Version="1.0.2" />
|
||||||
<PackageReference Include="Blazorise.Icons.Material" Version="0.9.5.4" />
|
<PackageReference Include="Blazorise.Icons.Material" Version="1.0.2" />
|
||||||
<PackageReference Include="Blazorise.Material" Version="0.9.5.4" />
|
<PackageReference Include="Blazorise.Material" Version="1.0.2" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.1" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.1" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.1">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.1">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ builder.Services.AddScoped<AuthService>();
|
|||||||
builder.Services.AddScoped<UserService>();
|
builder.Services.AddScoped<UserService>();
|
||||||
builder.Services.AddScoped<ProspectService>();
|
builder.Services.AddScoped<ProspectService>();
|
||||||
|
|
||||||
builder.Services.AddBlazorise(options => { options.ChangeTextOnKeyPress = true; }).AddMaterialProviders().AddMaterialIcons();
|
builder.Services.AddBlazorise( options => { options.Immediate = true; }).AddMaterialProviders().AddMaterialIcons();
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user