From 4ef5028356e566220e9f1588757800db8a739aed Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 4 Nov 2024 23:03:01 -0800 Subject: dark styles --- src/routes/(app)/invoice/[id]/tip/+page.svelte | 111 ++++++++++----------- src/routes/(app)/settings/[...tab]/_account.svelte | 29 +++--- 2 files changed, 66 insertions(+), 74 deletions(-) (limited to 'src/routes/(app)') diff --git a/src/routes/(app)/invoice/[id]/tip/+page.svelte b/src/routes/(app)/invoice/[id]/tip/+page.svelte index 217b8474..ff3da46e 100644 --- a/src/routes/(app)/invoice/[id]/tip/+page.svelte +++ b/src/routes/(app)/invoice/[id]/tip/+page.svelte @@ -112,7 +112,12 @@
-
+ @@ -147,33 +152,41 @@
- {#if tip} -
- - -
- {:else} - {#each tipAmounts as amount, i} - {#if i === 0} - - {:else} - - {/if} - {/each} - {/if} +
+ {#if tip} + + + {:else} + {#each tipAmounts as amount, i} + {#if i === 0} + + {:else} + + {/if} + {/each} + {/if} +
- (showCustomAmount = true)}>Custom
{/if} @@ -182,40 +195,18 @@ {#if showCustomAmount} -
-
- $ - handleCustomTipAmount(e)} - class="pl-10" - placeholder="Custom amount" - use:focus - /> - -
+ + handleCustomTipAmount(e)} + placeholder={$t("payments.amount")} + use:focus + /> +
{/if} - - diff --git a/src/routes/(app)/settings/[...tab]/_account.svelte b/src/routes/(app)/settings/[...tab]/_account.svelte index 28540280..c4621f1a 100644 --- a/src/routes/(app)/settings/[...tab]/_account.svelte +++ b/src/routes/(app)/settings/[...tab]/_account.svelte @@ -75,21 +75,22 @@

-- cgit v1.2.3