@using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Services @model BTCPayServer.Services.ThemeSettings @inject IFileService FileService @{ ViewData.SetActivePage(ServerNavPages.Theme, "Theme"); var canUpload = await FileService.IsAvailable(); var themeExtension = ((ThemeExtension[])Enum.GetValues(typeof(ThemeExtension))).Select(t => new SelectListItem(typeof(ThemeExtension).DisplayName(t.ToString()), t == ThemeExtension.Custom ? null : t.ToString())); } @section PageFootContent { }

@ViewData["Title"]

Use the default Light or Dark Themes, or provide a custom CSS theme file below.

Adjust the design of your BTCPay Server instance to your needs.
@if (!string.IsNullOrEmpty(Model.CustomThemeCssUri)) {
} else {
@if (!string.IsNullOrEmpty(Model.CustomThemeFileId)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.CustomThemeFileId)) { Custom CSS }
} else {

In order to upload a theme file, a file storage must be configured.

}
}

Branding

@if (!string.IsNullOrEmpty(Model.LogoFileId)) { }
@if (canUpload) {
@if (!string.IsNullOrEmpty(Model.LogoFileId)) { Logo }
} else {
In order to upload a logo, a file storage must be configured.
}