@@ -3,7 +3,7 @@ import { useNavigate } from 'react-router-dom'
33import { FiExternalLink , FiShare2 , FiArrowRight } from 'react-icons/fi'
44import { useApp } from '../context/AppContext'
55import { C , StatCard , HealthBar } from '../components/UI'
6- import { BsFillInfoSquareFill } from "react-icons/bs " ;
6+ import { AiOutlineInfoCircle } from "react-icons/ai " ;
77
88const LANG_COLORS = [ '#22c55e' , '#f5c518' , '#3b82f6' , '#ef4444' , '#a855f7' , '#f97316' , '#06b6d4' ]
99const fmt = n => n > 999 ? ( n / 1000 ) . toFixed ( 1 ) + 'k' : String ( n )
@@ -137,16 +137,17 @@ export default function OverviewPage() {
137137 < p > High Impact Repositories</ p >
138138
139139 < button
140- onClick = { ( ) => setOpen ( prev => ! prev ) }
141- className = "p-3 rounded-full hover:bg-zinc-800 transition"
140+ onMouseEnter = { ( ) => setOpen ( true ) }
141+ onMouseLeave = { ( ) => setOpen ( false ) }
142+ className = "p-3 rounded-full hover:bg-(--bg) transition"
142143 >
143- < BsFillInfoSquareFill />
144+ < AiOutlineInfoCircle className = "text-(--text) cursor-pointer" />
144145 </ button >
145146 </ div >
146147
147148 { open && (
148149 < div
149- className = "absolute top-16 right-2 w-80 z-50 rounded-lg border-2 border-(--border) bg-zinc-900 p-4 shadow-xl text-xs"
150+ className = "absolute top-16 right-2 w-80 z-50 rounded-lg border-2 border-(--border) bg-(--surface) p-4 shadow-xl text-xs"
150151 >
151152 < strong > Health Score</ strong > estimates the overall health of a repository on a scale of 0 – 100.
152153
@@ -162,7 +163,7 @@ export default function OverviewPage() {
162163 </ li >
163164 </ ul >
164165
165- < p className = "mt-2 text-zinc-400 " >
166+ < p className = "mt-2 text-xs text-(--text2) " >
166167 Higher scores indicate healthier and more actively maintained repositories.
167168 </ p >
168169 </ div >
0 commit comments