-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,30 +12,29 @@ | |
<meta name="description" content="@ViewBag.Description"> | ||
<meta name="keywords" content="@ViewBag.Keywords"> | ||
<link rel="icon" type="image/png" href="~/images/icon.png"> | ||
|
||
<environment include="Development"> | ||
<link rel="stylesheet" href="~/lib/halfmoon/css/halfmoon-variables.css"/> | ||
<link rel="stylesheet" href="/css/src/main.css"/> | ||
@if (ViewBag.Configuration.WebfrontPrimaryColor is not null) | ||
{ | ||
<style> | ||
:root { | ||
--blue-color: @ViewBag.Configuration.WebfrontPrimaryColor; | ||
} | ||
</style> | ||
} | ||
@if (ViewBag.Configuration.WebfrontSecondaryColor is not null) | ||
{ | ||
<style> | ||
:root { | ||
--yellow-color: @ViewBag.Configuration.WebfrontSecondaryColor; | ||
} | ||
</style> | ||
} | ||
</environment> | ||
<environment include="Production"> | ||
<link rel="stylesheet" href="~/css/[email protected]"/> | ||
</environment> | ||
@if (ViewBag.Configuration.WebfrontPrimaryColor is not null) | ||
{ | ||
<style> | ||
:root { | ||
--blue-color: @ViewBag.Configuration.WebfrontPrimaryColor; | ||
} | ||
</style> | ||
} | ||
@if (ViewBag.Configuration.WebfrontSecondaryColor is not null) | ||
{ | ||
<style> | ||
:root { | ||
--yellow-color: @ViewBag.Configuration.WebfrontSecondaryColor; | ||
} | ||
</style> | ||
} | ||
@await RenderSectionAsync("styles", false) | ||
</head> | ||
<body class="dark-mode with-custom-webkit-scrollbars with-custom-css-scrollbars" data-set-preferred-mode-onload="true"> | ||
|