feat: add auto/system appearance mode + fix dark mode system resources charts (#5492)

Co-authored-by: Thomas <thomas@ajnart.fr>
This commit is contained in:
KyleandThomas authored and GitHub committed 2026-05-07 16:28:37 +00:00
1 parent 37edfb2de2
commit 831b6221fd
14 files changed
+140 -71

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export const mapAndDecryptUsers = (importUsers: OldmarrImportUser[], encryptionT
oldId: id,
id: createId(),
name: user.name.toLowerCase(),
colorScheme: settings?.colorScheme === "environment" ? undefined : settings?.colorScheme,
colorScheme: settings?.colorScheme === "environment" ? "auto" : settings?.colorScheme,
firstDayOfWeek: settings?.firstDayOfWeek === "sunday" ? 0 : settings?.firstDayOfWeek === "monday" ? 1 : 6,
provider: "credentials",
pingIconsEnabled: settings?.replacePingWithIcons,