refactor: migrate create user form to immich ui (#15350)

* refactor: migrate create user form to immich ui

* minor styling tweak

* remove unintentional commit

* revert formating diff

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2025-01-15 15:09:19 -05:00
committed by GitHub
parent 2d2966caa0
commit a60da1ccab
7 changed files with 121 additions and 148 deletions

View File

@@ -51,9 +51,7 @@
<Field label={$t('confirm_password')} required>
<PasswordInput bind:value={passwordConfirm} autocomplete="new-password" />
{#if errorMessage}
<HelperText color="danger">{errorMessage}</HelperText>
{/if}
<HelperText color="danger">{errorMessage}</HelperText>
</Field>
<div class="my-5 flex w-full">

View File

@@ -131,7 +131,7 @@
<div class="inline-flex w-full items-center justify-center mt-4">
<hr class="my-4 h-px w-3/4 border-0 bg-gray-200 dark:bg-gray-600" />
<span
class="absolute left-1/2 -translate-x-1/2 bg-white px-3 font-medium text-gray-900 dark:bg-immich-dark-gray dark:text-white"
class="absolute left-1/2 -translate-x-1/2 bg-gray-50 px-3 font-medium text-gray-900 dark:bg-neutral-900 dark:text-white"
>
{$t('or').toUpperCase()}
</span>