Moved theme to asset api

This commit is contained in:
Marcel Baumgartner
2024-06-30 01:52:00 +02:00
parent a8bb2aa000
commit caa7bb2af6
4 changed files with 2 additions and 7 deletions

View File

@@ -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");

View File

@@ -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>

View File

@@ -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">

View File

@@ -1,2 +1,2 @@
@echo off @echo off
sass style.scss ../wwwroot/css/theme.css sass style.scss ../Assets/Core/css/theme.css