@@ -49,10 +49,14 @@ export const LeaderboardNavBadge: React.FC<LeaderboardNavBadgeProps> = ({
4949 animate = { { opacity : 1 , y : 0 } }
5050 exit = { { opacity : 0 , y : - 10 } }
5151 transition = { { duration : 0.2 } }
52- className = "absolute right-0 top-full z-50 w-64 overflow-hidden rounded border border-white/10 bg-background-1 shadow-lg"
52+ className = "absolute right-0 top-full z-50 w-64 overflow-hidden rounded-md border border-white/10 text-white/90 shadow-lg"
53+ style = { {
54+ background :
55+ 'radial-gradient(ellipse 110% 90% at 20% 10%, rgba(239, 68, 68, 0.10) 0%, rgba(239, 68, 68, 0.06) 35%, transparent 75%), #171214' ,
56+ } }
5357 >
54- < div className = "border-b border-background-3 px-3 py-2" >
55- < h3 className = "text-sm font-medium text-primary " >
58+ < div className = "border-b border-white/10 px-3 py-2" >
59+ < h3 className = "text-sm font-medium text-white/90 " >
5660 You're on the leaderboard!
5761 </ h3 >
5862 </ div >
@@ -61,10 +65,10 @@ export const LeaderboardNavBadge: React.FC<LeaderboardNavBadgeProps> = ({
6165 < Link
6266 key = { position . gameType }
6367 href = "/leaderboard"
64- className = "flex items-center justify-between px-3 py-2 hover:bg-background-2/60 "
68+ className = "flex items-center justify-between px-3 py-2 text-white/90 transition-colors hover:bg-[rgba(255,255,255,0.04)] "
6569 >
6670 < div className = "flex flex-col" >
67- < span className = "text-sm font-medium" >
71+ < span className = "text-sm font-medium text-white/90 " >
6872 { position . gameName }
6973 </ span >
7074 < span className = "text-xs text-secondary" >
@@ -84,7 +88,7 @@ export const LeaderboardNavBadge: React.FC<LeaderboardNavBadgeProps> = ({
8488 </ Link >
8589 ) ) }
8690 </ div >
87- < div className = "border-t border-background-3 px-3 py-2" >
91+ < div className = "border-t border-white/10 px-3 py-2" >
8892 < Link
8993 href = "/leaderboard"
9094 className = "text-xs text-secondary hover:text-primary"
0 commit comments