Revert "slice 4: accent palette refinement — blue → teal"

This reverts commit 52fe7bceb6.
This commit is contained in:
2026-05-15 23:49:36 +00:00
parent 52fe7bceb6
commit 959e3980ae
109 changed files with 937 additions and 937 deletions

View File

@@ -64,7 +64,7 @@ interface MonthlyTrend {
// ─── Mock / derived data helpers ──────────────────────────────────────────────
const CATEGORY_COLORS = [
'#5B7C8D', '#f59e0b', '#10b981', '#8b5cf6',
'#3b82f6', '#f59e0b', '#10b981', '#8b5cf6',
'#ef4444', '#06b6d4', '#f97316', '#84cc16',
];
@@ -78,7 +78,7 @@ interface StatCardProps {
icon: React.ReactNode;
}
function StatCard({ label, value, sub, accent = '#5B7C8D', icon }: StatCardProps) {
function StatCard({ label, value, sub, accent = '#3b82f6', icon }: StatCardProps) {
return (
<div className="bg-[#111] border border-[#252525] rounded-lg p-5 flex items-start gap-4">
<div
@@ -252,7 +252,7 @@ export default function AdminAnalyticsPage() {
return (
<div className="min-h-screen bg-[#0a0a0a] flex items-center justify-center">
<div className="flex flex-col items-center gap-3">
<div className="w-8 h-8 border-2 border-[#5B7C8D] border-t-transparent rounded-full animate-spin" />
<div className="w-8 h-8 border-2 border-[#3b82f6] border-t-transparent rounded-full animate-spin" />
<p className="text-[#555] text-sm font-body">Loading analytics</p>
</div>
</div>
@@ -275,20 +275,20 @@ export default function AdminAnalyticsPage() {
</p>
</div>
<div className="flex items-center gap-2 flex-wrap">
<Link href="/admin/articles" className="text-[#555] hover:text-[#5B7C8D] text-xs font-body uppercase tracking-wider transition-colors">
<Link href="/admin/articles" className="text-[#555] hover:text-[#3b82f6] text-xs font-body uppercase tracking-wider transition-colors">
Articles
</Link>
<span className="text-[#333]">·</span>
<Link href="/admin/users" className="text-[#555] hover:text-[#5B7C8D] text-xs font-body uppercase tracking-wider transition-colors">
<Link href="/admin/users" className="text-[#555] hover:text-[#3b82f6] text-xs font-body uppercase tracking-wider transition-colors">
Users
</Link>
<span className="text-[#333]">·</span>
<Link href="/admin/import" className="text-[#555] hover:text-[#5B7C8D] text-xs font-body uppercase tracking-wider transition-colors">
<Link href="/admin/import" className="text-[#555] hover:text-[#3b82f6] text-xs font-body uppercase tracking-wider transition-colors">
WP Import
</Link>
<button
onClick={fetchAnalytics}
className="ml-2 px-3 py-1.5 bg-[#1a1a1a] border border-[#333] hover:border-[#5B7C8D] text-[#888] hover:text-[#5B7C8D] text-xs font-body rounded transition-colors"
className="ml-2 px-3 py-1.5 bg-[#1a1a1a] border border-[#333] hover:border-[#3b82f6] text-[#888] hover:text-[#3b82f6] text-xs font-body rounded transition-colors"
>
Refresh
</button>
@@ -312,7 +312,7 @@ export default function AdminAnalyticsPage() {
label="Total Articles"
value={metrics?.totalArticles ?? 0}
icon={<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>}
accent="#5B7C8D"
accent="#3b82f6"
/>
<StatCard
label="Published"
@@ -361,7 +361,7 @@ export default function AdminAnalyticsPage() {
value={`${publishRate}%`}
sub="Published / total"
icon={<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>}
accent="#5B7C8D"
accent="#3b82f6"
/>
</div>
</section>