@using BTCPayServer.Abstractions.Extensions @using BTCPayServer.Services @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.Contracts @inject ThemeSettings Theme @inject IFileService FileService @if (Theme.CustomTheme && !string.IsNullOrEmpty(Theme.CssUri)) { // legacy customization with CSS URI - keep it for backwards-compatibility } else if (Theme.CustomTheme && !string.IsNullOrEmpty(Theme.CustomThemeFileId)) { // new customization uses theme file id provided by upload @if (Theme.CustomThemeExtension != ThemeExtension.Custom) { // needs to be added for light and dark, because dark extends light } @if (Theme.CustomThemeExtension == ThemeExtension.Dark) { } } else { }