We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c41557 commit 05a0e33Copy full SHA for 05a0e33
WebFrontend/App.razor
@@ -1,12 +1,23 @@
1
<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
2
<Found Context="routeData">
3
- <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
4
- <MatPortalHost/>
5
- <MatToastContainer />
+ <MatThemeProvider Theme="appTheme">
+ <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
+ <MatPortalHost/>
6
+ <MatToastContainer/>
7
+ </MatThemeProvider>
8
</Found>
9
<NotFound>
10
<LayoutView Layout="@typeof(MainLayout)">
11
<p>Sorry, there's nothing at this address.</p>
12
</LayoutView>
13
</NotFound>
14
</Router>
15
+
16
17
+@code
18
+{
19
+ MatTheme appTheme = new()
20
+ {
21
+ Primary = MatThemeColors.BlueGrey._500.Value
22
+ };
23
+}
0 commit comments