From c84a2359b5ecfef7b277237d56c11aaf0440f634 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Wed, 12 Aug 2026 19:44:04 +0200 Subject: [PATCH] fix(admin): dark background on outline buttons (Users page) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause: the shadcn outline Button variant uses bg-background, which resolves to the light-theme CSS variable since the admin panel doesn't wrap itself in a .dark class — so every outline button here had a white background regardless of border/text color overrides, making the colored text glare instead of read cleanly. Explicit bg-zinc-900/hover:bg-zinc-800 on all five outline buttons on this page (Message, Export, Warn, Un-shadowban, Unban) fixes it. --- src/app/p/[secret]/users/page.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/p/[secret]/users/page.tsx b/src/app/p/[secret]/users/page.tsx index cb6bc4b..24b0e47 100644 --- a/src/app/p/[secret]/users/page.tsx +++ b/src/app/p/[secret]/users/page.tsx @@ -282,7 +282,7 @@ export default function AdminUsersPage() {