|
5 | 5 | import { Card, Button, Label, Input, Hr } from 'svelte-5-ui-lib'; |
6 | 6 |
|
7 | 7 | // 必要なコンポーネントだけを読み込んで、コンパイルを時間を短縮 |
8 | | - import UserOutlineSolid from 'flowbite-svelte-icons/UserCircleSolid.svelte'; |
9 | | - import EyeOutline from 'flowbite-svelte-icons/EyeOutline.svelte'; |
10 | | - import EyeSlashOutline from 'flowbite-svelte-icons/EyeSlashOutline.svelte'; |
| 8 | + import CirCleUserRound from 'lucide-svelte/icons/circle-user-round'; |
| 9 | + import Eye from 'lucide-svelte/icons/eye'; |
| 10 | + import EyeOff from 'lucide-svelte/icons/eye-off'; |
11 | 11 |
|
12 | 12 | import MessageHelperWrapper from '$lib/components/MessageHelperWrapper.svelte'; |
13 | 13 |
|
|
94 | 94 | <!-- FIXME: コンポーネントが巨大になってきたと思われるので、分割しましょう --> |
95 | 95 | <!-- TODO: containerのデフォルト値を設定できないか? --> |
96 | 96 | <!-- See: --> |
97 | | -<!-- https://flowbite-svelte.com/docs/components/card#Card_with_form_inputs --> |
98 | | -<!-- https://github.com/themesberg/flowbite-svelte-icons/tree/main/src/lib --> |
| 97 | +<!-- https://github.com/lucide-icons/lucide --> |
99 | 98 | <div class="container mx-auto py-8 w-5/6 flex flex-col items-center"> |
100 | 99 | <Card class="w-full max-w-md"> |
101 | 100 | <form id="auth-form" method="post" use:enhance class="flex flex-col space-y-6"> |
|
137 | 136 | class="ps-10" |
138 | 137 | > |
139 | 138 | {#snippet left()} |
140 | | - <UserOutlineSolid class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
| 139 | + <CirCleUserRound class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
141 | 140 | {/snippet} |
142 | 141 | </Input> |
143 | 142 |
|
|
173 | 172 | class="pointer-events-auto" |
174 | 173 | > |
175 | 174 | {#if showPassword} |
176 | | - <EyeOutline class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
| 175 | + <Eye class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
177 | 176 | {:else} |
178 | | - <EyeSlashOutline class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
| 177 | + <EyeOff class="w-5 h-5" tabindex={UNFOCUSABLE} /> |
179 | 178 | {/if} |
180 | 179 | </button> |
181 | 180 | {/snippet} |
|
0 commit comments