From b39d0d8861c040b5d1718f68e7feac871bbd951c Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Fri, 15 May 2026 18:31:24 -0300 Subject: [PATCH] refactor(dashboard): fix dark theme + two-column layout on agent-skills, standardize page widths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - agent-skills: replace all inline style={{ color: "var(--color-xxx, #fallback)" }} with Tailwind semantic classes (text-text-main, text-text-muted, bg-bg-subtle, border-border, text-primary, bg-primary/10, bg-emerald-500/10, bg-amber-500/10) — fixes dark mode - agent-skills: full-width "How to use" card + two-column grid (API Skills | CLI Skills) on lg+ screens; remove internal p-6 and max-w-3xl (layout already provides padding/max-w) - audit, webhooks: remove redundant p-6 + mx-auto max-w-7xl (DashboardLayout already wraps content in max-w-7xl with p-4 sm:p-6 lg:p-10) - memory: remove extra p-6 - agents: remove p-6 + max-w-5xl mx-auto - cloud-agents: remove p-6 + max-w-6xl mx-auto - changelog: remove max-w-5xl mx-auto w-full - health: remove outer p-6 + max-w-6xl mx-auto; strip redundant p-6 from loading/error states - translator: remove p-4 sm:p-8 (layout provides padding) - context/caveman, context/rtk, context/combos: remove mx-auto max-w-6xl --- .../dashboard/agent-skills/page.tsx | 163 +++++------------- src/app/(dashboard)/dashboard/agents/page.tsx | 2 +- src/app/(dashboard)/dashboard/audit/page.tsx | 2 +- .../(dashboard)/dashboard/changelog/page.tsx | 2 +- .../dashboard/cloud-agents/page.tsx | 2 +- .../caveman/CavemanContextPageClient.tsx | 2 +- .../combos/CompressionCombosPageClient.tsx | 2 +- .../context/rtk/RtkContextPageClient.tsx | 2 +- src/app/(dashboard)/dashboard/health/page.tsx | 6 +- src/app/(dashboard)/dashboard/memory/page.tsx | 2 +- .../translator/TranslatorPageClient.tsx | 2 +- .../(dashboard)/dashboard/webhooks/page.tsx | 2 +- 12 files changed, 60 insertions(+), 129 deletions(-) diff --git a/src/app/(dashboard)/dashboard/agent-skills/page.tsx b/src/app/(dashboard)/dashboard/agent-skills/page.tsx index 65e87fcc29..6eeab3f8aa 100644 --- a/src/app/(dashboard)/dashboard/agent-skills/page.tsx +++ b/src/app/(dashboard)/dashboard/agent-skills/page.tsx @@ -16,16 +16,14 @@ function CopyButton({ url }: { url: string }) { return (