diff --git a/client/src/app.css b/client/src/app.css index 2b51c054..f83599b8 100644 --- a/client/src/app.css +++ b/client/src/app.css @@ -11,20 +11,6 @@ @tailwind components; @tailwind utilities; -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} - -a:hover { - color: #535bf2; -} - -.card { - @apply p-[2em] bg-cream; -} - button { @apply bg-teal text-black font-bold cursor-pointer; border: 1px solid transparent !important; @@ -47,19 +33,17 @@ button:hover { :root { @apply text-black bg-white; } +} +.btn { + @apply w-full rounded-3xl font-bold border-0 text-normal md:text-md; +} - a:hover { - color: #747bff; - } - - button { - background-color: #f9f9f9; - } +.btn-primary { + @apply text-black bg-teal; } -.submit-btn { - @apply btn w-full mt-6 rounded-3xl text-black font-bold bg-teal; - /*text-transform: none;*/ +.btn-disabled { + @apply text-white bg-gray3; } @layer components { @@ -81,6 +65,9 @@ button:hover { } @layer base { + .toast { + @apply max-w-full text-wrap opacity-60 !important; + } html { color-scheme: light dark; font-synthesis: none; diff --git a/client/src/lib/components/Card.svelte b/client/src/lib/components/Card.svelte index 5671f1a4..5375978e 100644 --- a/client/src/lib/components/Card.svelte +++ b/client/src/lib/components/Card.svelte @@ -3,12 +3,12 @@ import { testnet } from "$lib/utils/stores"; -
-
-

{$testnet.networkName} Faucet

-

+
+
+

{$testnet.networkName} Faucet

+

Get {$testnet.currency} tokens for {$testnet.networkName} testnet. -

+

diff --git a/client/src/lib/components/Faucet.svelte b/client/src/lib/components/Faucet.svelte index 8e3e3f8c..e3d88e3b 100644 --- a/client/src/lib/components/Faucet.svelte +++ b/client/src/lib/components/Faucet.svelte @@ -1,5 +1,5 @@ -
+
- - {#if !$operation} -
- {:else} -
- {#if $operation.success} - + +
+

{$testnet.networkName} Faucet

+

+ Get {$testnet.currency} tokens for {$testnet.networkName} testnet. +

+
+ {#if !$operation} + {:else} - +
+ {#if $operation.success} + + {:else} + + {/if} +
{/if}
- {/if} +
- - diff --git a/client/src/lib/components/Footer.svelte b/client/src/lib/components/Footer.svelte index 37e597f3..e67dd6d4 100644 --- a/client/src/lib/components/Footer.svelte +++ b/client/src/lib/components/Footer.svelte @@ -20,7 +20,9 @@