fix: register button style

This commit is contained in:
C4illin 2025-05-23 21:36:26 +02:00
parent 5cc6678ceb
commit b9bbf7792f
2 changed files with 7 additions and 3 deletions

View file

@ -387,14 +387,14 @@ const app = new Elysia({
/> />
</label> </label>
</fieldset> </fieldset>
<div role="group"> <div class="flex flex-row gap-4">
{ACCOUNT_REGISTRATION ? ( {ACCOUNT_REGISTRATION ? (
<a <a
href={`${WEBROOT}/register`} href={`${WEBROOT}/register`}
role="button" role="button"
class="btn-primary w-full" class="btn-secondary w-full text-center"
> >
Register an account Register
</a> </a>
) : null} ) : null}
<input <input

View file

@ -44,6 +44,10 @@
@apply bg-accent-500 text-contrast rounded-sm p-2 sm:p-4 hover:bg-accent-400 cursor-pointer transition-colors; @apply bg-accent-500 text-contrast rounded-sm p-2 sm:p-4 hover:bg-accent-400 cursor-pointer transition-colors;
} }
@utility btn-secondary {
@apply bg-neutral-400 text-contrast rounded-sm p-2 sm:p-4 hover:bg-neutral-300 cursor-pointer transition-colors;
}
:root { :root {
--contrast: 255, 255, 255; --contrast: 255, 255, 255;
--neutral-900: 243, 244, 246; --neutral-900: 243, 244, 246;