From 520d5eb794bb0303b0d2b8b01f487d848a6567f4 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 4 Nov 2024 20:08:42 -0800 Subject: dark styles --- src/app.css | 22 +++---- src/components/Account.svelte | 7 +-- src/components/Footer.svelte | 4 +- src/components/LandingHeader.svelte | 3 +- src/components/Password.svelte | 11 ++-- src/locales/en.json | 2 +- src/routes/(app)/[username]/receive/+page.svelte | 11 +--- src/routes/(app)/account/savings/+page.svelte | 2 +- src/routes/(app)/settings/[...tab]/+page.svelte | 10 ++-- src/routes/(app)/settings/[...tab]/_pos.svelte | 2 +- .../(app)/settings/[...tab]/_security.svelte | 69 +++++++++------------- 11 files changed, 58 insertions(+), 85 deletions(-) (limited to 'src') diff --git a/src/app.css b/src/app.css index 7c9ec64a..3a60036e 100644 --- a/src/app.css +++ b/src/app.css @@ -21,22 +21,18 @@ html { background-color: white; } -input, +input { + @apply input input-bordered input-lg input-primary; +} + textarea { - @apply input input-bordered input-primary w-full + @apply textarea textarea-bordered textarea-lg textarea-primary; } -.btn { - @apply rounded-2xl btn-lg btn-block +input, textarea { + @apply w-full rounded-2xl; } -.select-styles { - @apply border rounded-2xl py-4 px-5; - cursor: pointer; - -webkit-appearance: none; - -moz-appearance: none; - background: transparent; - background-repeat: no-repeat; - background-position-x: 95%; - background-position-y: 1em; +.btn { + @apply rounded-2xl btn-lg btn-block } diff --git a/src/components/Account.svelte b/src/components/Account.svelte index 8943cb16..473e59fd 100644 --- a/src/components/Account.svelte +++ b/src/components/Account.svelte @@ -35,17 +35,14 @@
- - diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index ca711d7f..75fc4479 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -23,7 +23,9 @@ >
diff --git a/src/components/LandingHeader.svelte b/src/components/LandingHeader.svelte index 232e53eb..e6bfc07c 100644 --- a/src/components/LandingHeader.svelte +++ b/src/components/LandingHeader.svelte @@ -27,8 +27,7 @@ class="flex justify-start lg:justify-center items-center lg:space-x-10" > scroll(header)}> - - +
diff --git a/src/components/Password.svelte b/src/components/Password.svelte index da65d718..14fdf500 100644 --- a/src/components/Password.svelte +++ b/src/components/Password.svelte @@ -23,10 +23,10 @@

Please enter your password @@ -38,7 +38,6 @@ name="password" type="text" required - class="bg-primary" bind:value={password} autocapitalize="none" use:focus @@ -48,7 +47,6 @@ name="password" type="password" required - class="bg-primary" bind:value={password} autocapitalize="none" use:focus @@ -59,7 +57,10 @@ on:click={() => (revealPassword = !revealPassword)} class="absolute right-5 top-6" > - +

diff --git a/src/locales/en.json b/src/locales/en.json index 7a0ad3a6..da6a2bf3 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -270,7 +270,7 @@ "saved": "Settings saved!", "verifying": "Verification email sent", "verified": "Email verified!", - "revealNsec": "Reveal nostr secret key", + "revealNsec": "Reveal secret key", "hideSeed": "Hide seed phrase", "revealSeed": "Reveal seed phrase", "saveSettings": "Save Settings", diff --git a/src/routes/(app)/[username]/receive/+page.svelte b/src/routes/(app)/[username]/receive/+page.svelte index 6480f1b9..41e2ce2e 100644 --- a/src/routes/(app)/[username]/receive/+page.svelte +++ b/src/routes/(app)/[username]/receive/+page.svelte @@ -139,11 +139,7 @@ {/if}
- {#if user?.id === invoice?.user?.id} - diff --git a/src/routes/(app)/account/savings/+page.svelte b/src/routes/(app)/account/savings/+page.svelte index 340af628..2461bd20 100644 --- a/src/routes/(app)/account/savings/+page.svelte +++ b/src/routes/(app)/account/savings/+page.svelte @@ -11,7 +11,7 @@
-
+
diff --git a/src/routes/(app)/settings/[...tab]/+page.svelte b/src/routes/(app)/settings/[...tab]/+page.svelte index 27e4e9b9..caa46888 100644 --- a/src/routes/(app)/settings/[...tab]/+page.svelte +++ b/src/routes/(app)/settings/[...tab]/+page.svelte @@ -213,14 +213,14 @@