Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Set dark mode to true and migration (#348)

Robbie Davis9534618f4b97
diff --git a/API/Entities/AppUserPreferences.cs b/API/Entities/AppUserPreferences.cs
index 149512e00..e78c4b015 100644
--- a/API/Entities/AppUserPreferences.cs
+++ b/API/Entities/AppUserPreferences.cs
@@ -57,10 +57,11 @@ namespace API.Entities
/// Book Reader Option: What direction should the next/prev page buttons go
/// </summary>
public ReadingDirection BookReaderReadingDirection { get; set; } = ReadingDirection.LeftToRight;
+
/// <summary>
/// UI Site Global Setting: Whether the UI should render in Dark mode or not.
/// </summary>
- public bool SiteDarkMode { get; set; }
+ public bool SiteDarkMode { get; set; } = true;