1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

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

* Fixed dark mode password reset success

* Fixed prettier issue
This commit is contained in:
Andrew Roberts 2024-03-08 14:05:15 -05:00 committed by GitHub
parent fa32c6660c
commit 9cb0a1ffbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>