aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/WalletPass.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
committerAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
commit11d358ad0412b794ecf89b4da9f99ac41ed9c3fe (patch)
tree61808f5d31df326ad7c3d459e16d4f6085368ad0 /src/components/WalletPass.svelte
parentc0da099aa48f6bbc168159293bfae9e60daffeda (diff)
downloadcoinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.tar.gz
coinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.zip
inline icons
Diffstat (limited to 'src/components/WalletPass.svelte')
-rw-r--r--src/components/WalletPass.svelte12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/components/WalletPass.svelte b/src/components/WalletPass.svelte
index 052f9fd0..a3f00994 100644
--- a/src/components/WalletPass.svelte
+++ b/src/components/WalletPass.svelte
@@ -1,4 +1,6 @@
<script lang="ts">
+ import PhEyeBold from "virtual:icons/ph/eye-bold";
+ import PhEyeSlashBold from "virtual:icons/ph/eye-slash-bold";
import { preventDefault } from "svelte/legacy";
import { focus } from "$lib/utils";
@@ -55,11 +57,11 @@
class="absolute right-5 top-1/2"
aria-label={revealPassword ? "Hide password" : "Show password"}
>
- <iconify-icon
- noobserver
- icon={revealPassword ? "ph:eye-bold" : "ph:eye-slash-bold"}
- width="32"
- ></iconify-icon>
+ {#if revealPassword}
+ <PhEyeBold width="32" />
+ {:else}
+ <PhEyeSlashBold width="32" />
+ {/if}
</button>
</div>
<div class="mb-5 space-y-2">