mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-31 14:33:50 -04:00
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
@ -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…
x
Reference in New Issue
Block a user