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

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.changeset/smooth-forks-flash.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

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

Lines changed: 1 addition & 0 deletions
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)