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 { .text-gradient {
@apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-primary/60; @apply text-foreground;
} }
.bg-gradient-premium { .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 className="flex flex-col md:flex-row md:items-center justify-between gap-4">
<div> <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 Dashboard Analytics
{!isViewingCurrentYear && ( {!isViewingCurrentYear && (
<span className="ml-2 text-xl font-normal text-muted-foreground/60"> <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"> <div className="text-sm font-medium text-muted-foreground">
Revenue Revenue
</div> </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)} {formatAdminCurrency(bestMonth.revenue)}
</div> </div>
<div className="text-sm text-muted-foreground mt-1"> <div className="text-sm text-muted-foreground mt-1">