diff options
| author | Adam Soltys <[email protected]> | 2024-11-06 10:40:33 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-06 10:40:33 -0800 |
| commit | b2b7f9c011b73e8597e2663407da23aa897a4cee (patch) | |
| tree | c3d8da9c2bf98aa0aa404801e5f30158f262fc0e /src/routes | |
| parent | 5e520ad22d82100b07debecf932b99350348fd2c (diff) | |
| download | coinos-ui-b2b7f9c011b73e8597e2663407da23aa897a4cee.tar.gz coinos-ui-b2b7f9c011b73e8597e2663407da23aa897a4cee.zip | |
dark styles
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/(app)/account/[id]/+page.svelte | 14 | ||||
| -rw-r--r-- | src/routes/(app)/ecash/[id]/[...version]/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/pay/[username]/[...amount]/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/qr/[text]/+page.svelte | 8 |
4 files changed, 10 insertions, 16 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte index 63fd7a42..be7d6112 100644 --- a/src/routes/(app)/account/[id]/+page.svelte +++ b/src/routes/(app)/account/[id]/+page.svelte @@ -53,12 +53,8 @@ {#if mnemonic} <Mnemonic {mnemonic} /> - <button - on:click={() => copy(mnemonic)} - type="button" - class="flex gap-2 rounded-2xl border py-5 mx-auto px-6 w-full justify-center" - > - <Icon icon="copy" style="w-8 my-auto" /> + <button on:click={() => copy(mnemonic)} type="button" class="btn"> + <iconify-icon icon="ph:copy-bold" width="32" /> <div class="my-auto">{$t("accounts.copy")}</div></button > {:else if seed} @@ -67,7 +63,7 @@ type="button" class="flex gap-2 rounded-2xl border py-5 mx-auto px-6 w-full justify-center" > - <Icon icon="eye" style="w-8 my-auto" /> + <iconify-icon icon="ph:eye-bold" width="32" /> <div class="my-auto">{$t("accounts.revealMnemonic")}</div></button > {:else if nwc} @@ -79,7 +75,7 @@ type="button" class="flex gap-2 rounded-2xl border py-5 mx-auto px-6 w-full justify-center" > - <Icon icon="copy" style="w-8 my-auto" /> + <iconify-icon icon="ph:copy-bold" width="32" /> <div class="my-auto">{$t("accounts.copy")}</div></button > <a href={`/qr/${encodeURIComponent(nwc)}`} class="my-auto block"> @@ -88,7 +84,7 @@ type="button" class="flex gap-2 rounded-2xl border py-5 mx-auto px-6 w-full justify-center" > - <Icon icon="qr" style="w-8 my-auto invert" /> + <iconify-icon icon="ph:qr-code-bold" width="32" /> <div class="my-auto">{$t("user.receive.showQR")}</div></button > </a> diff --git a/src/routes/(app)/ecash/[id]/[...version]/+page.svelte b/src/routes/(app)/ecash/[id]/[...version]/+page.svelte index 2b73bc3d..b350b124 100644 --- a/src/routes/(app)/ecash/[id]/[...version]/+page.svelte +++ b/src/routes/(app)/ecash/[id]/[...version]/+page.svelte @@ -53,7 +53,7 @@ {/if} <button - class="btn break-all text-xl !h-auto !py-5 font-normal" + class="btn break-all !h-auto py-5 font-normal leading-normal" on:click={() => copy(token)} > {token} diff --git a/src/routes/(app)/pay/[username]/[...amount]/+page.svelte b/src/routes/(app)/pay/[username]/[...amount]/+page.svelte index 75e66a10..bf2e877e 100644 --- a/src/routes/(app)/pay/[username]/[...amount]/+page.svelte +++ b/src/routes/(app)/pay/[username]/[...amount]/+page.svelte @@ -97,7 +97,7 @@ <button type="button" bind:this={next} - class="btn" + class="btn btn-accent" on:click={setAmount} on:keydown={setAmount} > diff --git a/src/routes/(app)/qr/[text]/+page.svelte b/src/routes/(app)/qr/[text]/+page.svelte index e073b66e..e1aae854 100644 --- a/src/routes/(app)/qr/[text]/+page.svelte +++ b/src/routes/(app)/qr/[text]/+page.svelte @@ -11,12 +11,10 @@ <button type="button" - class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-5 px-6 w-full mx-auto justify-center border text-xl hover:bg-slate-100" + class="btn break-all !h-auto flex-nowrap p-4 font-normal leading-normal" on:click={() => copy(text)} > - <Icon icon="copy" style="w-8" /> - <div class="my-auto"> - {text} - </div> + <iconify-icon icon="ph:copy-bold" width="32" /> + <div class="my-auto">{text}</div> </button> </div> |
