aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(static)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-04 22:35:30 -0800
committerAdam Soltys <[email protected]>2024-11-04 22:35:30 -0800
commit0f097b189a8afdec09057d7babd6904e7497b534 (patch)
treef99e8cb8be91dd8817c96140aa9bd0f2b082684a /src/routes/(static)
parent520d5eb794bb0303b0d2b8b01f487d848a6567f4 (diff)
downloadcoinos-ui-0f097b189a8afdec09057d7babd6904e7497b534.tar.gz
coinos-ui-0f097b189a8afdec09057d7babd6904e7497b534.zip
dark styles
Diffstat (limited to 'src/routes/(static)')
-rw-r--r--src/routes/(static)/login/+page.svelte10
-rw-r--r--src/routes/(static)/register/+page.svelte16
2 files changed, 5 insertions, 21 deletions
diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte
index efaa84b8..a0bba457 100644
--- a/src/routes/(static)/login/+page.svelte
+++ b/src/routes/(static)/login/+page.svelte
@@ -101,7 +101,6 @@
name="username"
type="text"
required
- class="bg-primary"
bind:value={username}
use:focus
autocapitalize="none"
@@ -117,7 +116,6 @@
name="password"
type="text"
required
- class="bg-primary"
bind:value={$password}
autocapitalize="none"
/>
@@ -126,7 +124,6 @@
name="password"
type="password"
required
- class="bg-primary"
bind:value={$password}
autocapitalize="none"
/>
@@ -146,12 +143,7 @@
>
</div>
- <button
- type="submit"
- class="bg-black text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80"
- disabled={loading}
- bind:this={btn}
- >
+ <button type="submit" class="btn" disabled={loading} bind:this={btn}>
{#if loading}
<Spinner />
{:else}
diff --git a/src/routes/(static)/register/+page.svelte b/src/routes/(static)/register/+page.svelte
index 1749bd16..fc760452 100644
--- a/src/routes/(static)/register/+page.svelte
+++ b/src/routes/(static)/register/+page.svelte
@@ -167,7 +167,7 @@
<div class="relative">
<button
- class="absolute w-8 h-12 left-12 bg-white rounded top-12"
+ class="absolute w-8 h-12 left-12 bg-base-100 rounded top-12"
on:click={decr}
>
<Icon icon="chevron-left" style="w-8 " />
@@ -183,13 +183,13 @@
/>
</button>
<button
- class="absolute bg-white rounded-full p-2 mx-auto right-0 bottom-0 z-10 bg-opacity-80"
+ class="absolute bg-base-100 rounded-full p-2 mx-auto right-0 bottom-0 z-10 bg-opacity-80"
>
<Icon icon="upload" style="w-8" />
</button>
</button>
<button
- class="absolute w-8 h-12 right-12 bg-white rounded top-12"
+ class="absolute w-8 h-12 right-12 bg-base-100 rounded top-12"
on:click={incr}
>
<Icon icon="chevron-left" style="w-8 rotate-180" />
@@ -217,7 +217,6 @@
name="username"
type="text"
required
- class="bg-primary"
bind:value={username}
on:focus={clear}
autocapitalize="none"
@@ -241,7 +240,6 @@
name="password"
type="text"
required
- class="bg-primary"
bind:value={$password}
autocapitalize="none"
/>
@@ -250,7 +248,6 @@
name="password"
type="password"
required
- class="bg-primary"
bind:value={$password}
autocapitalize="none"
on:focus={clear}
@@ -266,12 +263,7 @@
</button>
</div>
- <button
- type="submit"
- class="bg-black text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80"
- disabled={loading}
- bind:this={btn}
- >
+ <button type="submit" class="btn" disabled={loading} bind:this={btn}>
{#if loading}
<Spinner />
{:else}