Skip to content

High performance self-hosted photo and video management solution.

fix(web): modal password reset modal in dark mode (#7748)

Andrew Roberts9cb0a1ffbf07
diff --git a/web/src/routes/admin/user-management/+page.svelte b/web/src/routes/admin/user-management/+page.svelte
index c5d8874a45..32c6b1f22b 100644
--- a/web/src/routes/admin/user-management/+page.svelte
+++ b/web/src/routes/admin/user-management/+page.svelte
@@ -140,14 +140,20 @@
{#if shouldShowInfoPanel}
<FullScreenModal onClose={() => (shouldShowInfoPanel = false)}>
- <div class="w-[500px] max-w-[95vw] rounded-3xl border bg-white p-8 text-sm shadow-sm">
- <h1 class="mb-4 text-lg font-medium text-immich-primary">Password reset success</h1>
+ <div
+ class="w-[500px] max-w-[95vw] rounded-3xl bg-immich-bg p-8 text-immich-fg shadow-sm dark:bg-immich-dark-gray dark:text-immich-dark-fg"
+ >
+ <h1 class="mb-4 text-2xl font-medium text-immich-primary dark:text-immich-dark-primary">
+ Password reset success
+ </h1>
<p>
The user's password has been reset to the default <code
- class="rounded-md bg-gray-200 px-2 py-1 font-bold text-immich-primary">password</code
+ class="rounded-md bg-gray-200 px-2 py-1 font-bold text-immich-primary dark:text-immich-dark-primary dark:bg-gray-700"
+ >password</code
>
<br />
+ <br />
Please inform the user, and they will need to change the password at the next log-on.
</p>