@@ -113,7 +113,7 @@ export default function AnalyticsPage() {
113113
114114 if ( isLoading ) {
115115 return (
116- < div className = "min-h-screen bg-gray-50 flex items-center justify-center" >
116+ < div className = "min-h-screen bg-background flex items-center justify-center" >
117117 < div className = "text-center" >
118118 < div className = "w-8 h-8 border-4 border-primary border-t-transparent rounded-full animate-spin mx-auto mb-4" > </ div >
119119 < p className = "text-muted-foreground" > Loading analytics...</ p >
@@ -124,8 +124,8 @@ export default function AnalyticsPage() {
124124
125125 if ( error || ! analytics ) {
126126 return (
127- < div className = "min-h-screen bg-gray-50 " >
128- < header className = "bg-white border-b" >
127+ < div className = "min-h-screen bg-background " >
128+ < header className = "bg-card border-b" >
129129 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
130130 < div className = "flex justify-between items-center py-6" >
131131 < Link href = "/" >
@@ -144,7 +144,7 @@ export default function AnalyticsPage() {
144144 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" >
145145 < Card >
146146 < CardContent className = "text-center py-8" >
147- < AlertTriangle className = "h-12 w-12 mx-auto mb-4 text-red-500" />
147+ < AlertTriangle className = "h-12 w-12 mx-auto mb-4 text-red-500 dark:text-red-400 " />
148148 < h3 className = "text-lg font-semibold mb-2" > Failed to Load Analytics</ h3 >
149149 < p className = "text-muted-foreground" > Unable to fetch analytics data.</ p >
150150 </ CardContent >
@@ -155,9 +155,9 @@ export default function AnalyticsPage() {
155155 }
156156
157157 return (
158- < div className = "min-h-screen bg-gray-50 " >
158+ < div className = "min-h-screen bg-background " >
159159 { /* Header */ }
160- < header className = "bg-white border-b" >
160+ < header className = "bg-card border-b" >
161161 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
162162 < div className = "flex justify-between items-center py-6" >
163163 < div className = "flex items-center" >
@@ -170,7 +170,7 @@ export default function AnalyticsPage() {
170170 < div className = "flex items-center space-x-3" >
171171 < BarChart3 className = "h-6 w-6 text-muted-foreground" />
172172 < div >
173- < h1 className = "text-2xl font-bold text-gray-900 " > Analytics & Reports </ h1 >
173+ < h1 className = "text-2xl font-bold text-foreground " > Analytics & Reports </ h1 >
174174 < p className = "text-sm text-muted-foreground" >
175175 System insights and data analysis { isLoading && < span className = "inline-flex items-center" > < Clock className = "h-3 w-3 ml-2 animate-spin" /> </ span > }
176176 </ p >
@@ -227,9 +227,9 @@ export default function AnalyticsPage() {
227227 < div className = "text-2xl font-bold" > { analytics . overview . totalServers } </ div >
228228 < div className = "flex items-center text-xs text-muted-foreground" >
229229 { analytics . overview . serverGrowthRate > 0 ? (
230- < TrendingUp className = "h-3 w-3 mr-1 text-green-600" />
230+ < TrendingUp className = "h-3 w-3 mr-1 text-green-600 dark:text-green-400 " />
231231 ) : (
232- < TrendingDown className = "h-3 w-3 mr-1 text-red-600" />
232+ < TrendingDown className = "h-3 w-3 mr-1 text-red-600 dark:text-red-400 " />
233233 ) }
234234 { Math . abs ( analytics . overview . serverGrowthRate ) } % vs last period
235235 </ div >
@@ -262,9 +262,9 @@ export default function AnalyticsPage() {
262262 < div className = "text-2xl font-bold" > { analytics . overview . totalUsers . toLocaleString ( ) } </ div >
263263 < div className = "flex items-center text-xs text-muted-foreground" >
264264 { analytics . overview . userGrowthRate > 0 ? (
265- < TrendingUp className = "h-3 w-3 mr-1 text-green-600" />
265+ < TrendingUp className = "h-3 w-3 mr-1 text-green-600 dark:text-green-400 " />
266266 ) : (
267- < TrendingDown className = "h-3 w-3 mr-1 text-red-600" />
267+ < TrendingDown className = "h-3 w-3 mr-1 text-red-600 dark:text-red-400 " />
268268 ) }
269269 { Math . abs ( analytics . overview . userGrowthRate ) } % growth
270270 </ div >
0 commit comments