Skip to content

Commit 4eef1da

Browse files
fix(TopNav): update button styles for improved accessibility and visual consistency
1 parent d0c0c91 commit 4eef1da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/navbar/TopNav.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ export default function TopNav({
121121
as={Link}
122122
href="/login"
123123
variant="bordered"
124-
className="h-9 min-w-[84px] rounded-xl border border-default-300 bg-white px-4 text-sm font-semibold text-slate-900 transition hover:bg-default-100 active:border-indigo-600 active:bg-indigo-600 active:text-white sm:h-10 sm:min-w-[96px] sm:px-6 sm:text-base"
124+
className="h-9 min-w-[84px] rounded-xl border border-default-300 bg-white px-4 text-sm font-semibold text-slate-900 transition hover:bg-default-100 sm:h-10 sm:min-w-[96px] sm:px-6 sm:text-base"
125125
>
126126
Login
127127
</Button>
128128
<Button
129129
as={Link}
130130
href="/register"
131131
variant="bordered"
132-
className="h-9 min-w-[98px] rounded-xl border border-default-300 bg-white px-4 text-sm font-semibold text-slate-900 transition hover:bg-default-100 active:border-indigo-600 active:bg-indigo-600 active:text-white sm:h-10 sm:min-w-[112px] sm:px-6 sm:text-base"
132+
className="h-9 min-w-[98px] rounded-xl border border-indigo-600 bg-indigo-600 px-4 text-sm font-semibold text-white transition hover:bg-indigo-700 sm:h-10 sm:min-w-[112px] sm:px-6 sm:text-base"
133133
>
134134
Register
135135
</Button>

0 commit comments

Comments
 (0)