File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/clerk-js/src/ui/elements Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @clerk/clerk-js ' : patch
3
+ ---
4
+
5
+ Improve the contrast of nav bar buttons within profile components.
Original file line number Diff line number Diff line change @@ -279,14 +279,13 @@ const NavButton = (props: NavButtonProps) => {
279
279
gap : t . space . $3 ,
280
280
justifyContent : 'flex-start' ,
281
281
backgroundColor : isActive ? t . colors . $neutralAlpha100 : undefined ,
282
- color : isActive ? t . colors . $primary500 : t . colors . $neutralAlpha600 ,
282
+ color : isActive ? t . colors . $primary500 : t . colors . $colorMutedForeground ,
283
283
'&:hover' : {
284
284
backgroundColor : isActive ? undefined : t . colors . $neutralAlpha25 ,
285
285
} ,
286
286
'&:focus' : {
287
287
backgroundColor : isActive ? undefined : t . colors . $neutralAlpha50 ,
288
288
} ,
289
- opacity : isActive ? 1 : 0.6 ,
290
289
} ) ,
291
290
sx ,
292
291
] }
You can’t perform that action at this time.
0 commit comments