Skip to content

Commit fde58eb

Browse files
authored
fix(clerk-js): Set navbutton color scheme to primary if active (clerk#2758)
1 parent 8118a05 commit fde58eb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.changeset/smooth-forks-flash.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

packages/clerk-js/src/ui/elements/Navbar.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ const NavButton = (props: NavButtonProps) => {
255255
return (
256256
<Button
257257
variant='ghost'
258+
colorScheme={isActive ? 'primary' : 'neutral'}
258259
textVariant='buttonLarge'
259260
size='md'
260261
isActive={isActive}

0 commit comments

Comments
 (0)