Moved theme to asset api
This commit is contained in:
@@ -114,6 +114,7 @@ public class CoreFeature : MoonlightFeature
|
|||||||
context.AddAsset("Core", "js/alerter.js");
|
context.AddAsset("Core", "js/alerter.js");
|
||||||
|
|
||||||
// - Css
|
// - Css
|
||||||
|
context.AddAsset("Core", "css/theme.css");
|
||||||
context.AddAsset("Core", "css/blazor.css");
|
context.AddAsset("Core", "css/blazor.css");
|
||||||
context.AddAsset("Core", "css/boxicons.css");
|
context.AddAsset("Core", "css/boxicons.css");
|
||||||
context.AddAsset("Core", "css/sweetalert2dark.css");
|
context.AddAsset("Core", "css/sweetalert2dark.css");
|
||||||
|
|||||||
@@ -77,7 +77,6 @@
|
|||||||
<Folder Include="Features\Servers\Http\Resources\"/>
|
<Folder Include="Features\Servers\Http\Resources\"/>
|
||||||
<Folder Include="storage\"/>
|
<Folder Include="storage\"/>
|
||||||
<Folder Include="Styles\"/>
|
<Folder Include="Styles\"/>
|
||||||
<Folder Include="wwwroot\css\"/>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -28,11 +28,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<!-- Moonlight Themes -->
|
|
||||||
|
|
||||||
<!-- Moonlight Default Theme by MasuOwO -->
|
|
||||||
<link href="/css/theme.css" rel="stylesheet" type="text/css"/>
|
|
||||||
|
|
||||||
<!-- Google Fonts: Iter -->
|
<!-- Google Fonts: Iter -->
|
||||||
<!-- TODO: Replace with local version -->
|
<!-- TODO: Replace with local version -->
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700">
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
@echo off
|
@echo off
|
||||||
sass style.scss ../wwwroot/css/theme.css
|
sass style.scss ../Assets/Core/css/theme.css
|
||||||
Reference in New Issue
Block a user