aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/RegisterOrLogin.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-17 11:13:10 -0600
committerAdam Soltys <[email protected]>2022-09-24 09:05:08 -0700
commit9e749509227cf19dd49cb84ce3239d5dd1d9579a (patch)
tree40b4419a2f81ca7a00b0169d88164c9293c8190b /src/components/RegisterOrLogin.svelte
parentd12525469342ccb65473d6fdb4d617f347835075 (diff)
downloadcoinos-ui-9e749509227cf19dd49cb84ce3239d5dd1d9579a.tar.gz
coinos-ui-9e749509227cf19dd49cb84ce3239d5dd1d9579a.zip
add hover states to links and buttons
Diffstat (limited to 'src/components/RegisterOrLogin.svelte')
-rw-r--r--src/components/RegisterOrLogin.svelte6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/RegisterOrLogin.svelte b/src/components/RegisterOrLogin.svelte
index 96c7b02f..b615d42a 100644
--- a/src/components/RegisterOrLogin.svelte
+++ b/src/components/RegisterOrLogin.svelte
@@ -114,7 +114,9 @@
<!-- </div> -->
{/if}
- <button type="submit" class="bg-black text-white w-full rounded-2xl p-4 font-semibold"
+ <button
+ type="submit"
+ class="bg-black text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80"
>{$t('login.' + pageID)}
</button>
</form>
@@ -123,7 +125,7 @@
{pageID === 'register' ? $t('login.haveAccount') : $t('login.noAccount')}
<a
href={pageID === 'register' ? '/login' : '/register'}
- class="block md:inline text-black underline underline-offset-4"
+ class="block md:inline text-black underline underline-offset-4 hover:opacity-80"
>
{pageID === 'register' ? $t('login.signIn') : $t('login.register')}
</a>