Remove gradient text styles from analytics UI
All checks were successful
Build Frontend / build (push) Successful in 1m10s

Replaces gradient text styles with solid color classes in AdminAnalytics and updates the .text-gradient utility in globals.css. This simplifies the visual style for headings and revenue display.
This commit is contained in:
g
2026-01-13 10:14:34 +00:00
parent 4f4f9404c3
commit 5e8ba7bd0a
2 changed files with 3 additions and 3 deletions

View File

@@ -440,7 +440,7 @@ body {
}
.text-gradient {
@apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-primary/60;
@apply text-foreground;
}
.bg-gradient-premium {

View File

@@ -817,7 +817,7 @@ export default function AdminAnalytics() {
<div className="flex flex-col md:flex-row md:items-center justify-between gap-4">
<div>
<h2 className="text-3xl font-bold tracking-tight bg-gradient-to-r from-foreground to-foreground/70 bg-clip-text text-transparent">
<h2 className="text-3xl font-bold tracking-tight">
Dashboard Analytics
{!isViewingCurrentYear && (
<span className="ml-2 text-xl font-normal text-muted-foreground/60">
@@ -974,7 +974,7 @@ export default function AdminAnalytics() {
<div className="text-sm font-medium text-muted-foreground">
Revenue
</div>
<div className="text-2xl font-bold bg-gradient-to-r from-green-600 to-green-400 bg-clip-text text-transparent">
<div className="text-2xl font-bold text-green-600">
{formatAdminCurrency(bestMonth.revenue)}
</div>
<div className="text-sm text-muted-foreground mt-1">