Fix for themes not applying (#1873)
# Fixed: - Fixed: Fixed an issue where themes would not apply properly.
This commit is contained in:
parent
c599907928
commit
a692c0c531
4 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using API.Entities.Enums.Theme;
|
||||
using API.Entities.Interfaces;
|
||||
using API.Services;
|
||||
|
@ -16,6 +16,10 @@ public class SiteThemeDto : IEntityDate
|
|||
/// </summary>
|
||||
public required string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Normalized name for lookups
|
||||
/// </summary>
|
||||
public required string NormalizedName { get; set; }
|
||||
/// <summary>
|
||||
/// File path to the content. Stored under <see cref="DirectoryService.SiteThemeDirectory"/>.
|
||||
/// Must be a .css file
|
||||
/// </summary>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using API.Entities;
|
||||
using API.Entities.Enums;
|
||||
using API.Entities.Enums.UserPreferences;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using API.Entities.Enums.Theme;
|
||||
using API.Entities.Interfaces;
|
||||
using API.Services;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
export interface SiteTheme {
|
||||
id: number;
|
||||
name: string;
|
||||
normalizedName: string;
|
||||
filePath: string;
|
||||
isDefault: boolean;
|
||||
provider: ThemeProvider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue