1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-09 23:17:29 +02:00

fix(web): modal colors (#18332)

* feat(web): clear person birthdate

* fix(web): modal colors
This commit is contained in:
Jason Rasmussen
2025-05-16 12:58:17 -04:00
committed by GitHub
parent 1219fd82a0
commit 8ab5040351
5 changed files with 5 additions and 11 deletions

View File

@@ -30,7 +30,7 @@
};
</script>
<Modal {title} onClose={() => onClose(false)} {size} class="bg-light text-dark">
<Modal {title} onClose={() => onClose(false)} {size}>
<ModalBody>
{#if promptSnippet}{@render promptSnippet()}{:else}
<p>{prompt}</p>

View File

@@ -12,13 +12,7 @@
const { onClose, newPassword }: Props = $props();
</script>
<Modal
title={$t('password_reset_success')}
icon={mdiCheck}
onClose={() => onClose()}
size="small"
class="bg-light text-dark"
>
<Modal title={$t('password_reset_success')} icon={mdiCheck} onClose={() => onClose()} size="small">
<ModalBody>
<div class="flex flex-col gap-4">
<Text>{$t('admin.user_password_has_been_reset')}</Text>

View File

@@ -81,7 +81,7 @@
};
</script>
<Modal title={$t('create_new_user')} {onClose} size="small" class="text-dark bg-light">
<Modal title={$t('create_new_user')} {onClose} size="small">
<ModalBody>
<form onsubmit={onSubmit} autocomplete="off" id="create-new-user-form">
{#if error}

View File

@@ -51,7 +51,7 @@
};
</script>
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose} class="text-dark bg-light">
<Modal title={$t('edit_user')} size="small" icon={mdiAccountEditOutline} {onClose}>
<ModalBody>
<form onsubmit={onSubmit} autocomplete="off" id="edit-user-form">
<div class="mb-4 flex flex-col gap-2">

View File

@@ -23,7 +23,7 @@
};
</script>
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small" class="bg-light text-dark">
<Modal title={$t('restore_user')} {onClose} icon={mdiDeleteRestore} size="small">
<ModalBody>
<p>
<FormatMessage key="admin.user_restore_description" values={{ user: user.name }}>