From 8515596626daca36f28ab49c2c70a2b795d77de1 Mon Sep 17 00:00:00 2001 From: Oliver Bryan Date: Sat, 7 Feb 2026 20:59:33 +0000 Subject: [PATCH] background colour for selected tab (light mode) - this was already in place for darkmode oops --- src/components/ui/tabs.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx index ecab2b53..a08c4e68 100644 --- a/src/components/ui/tabs.tsx +++ b/src/components/ui/tabs.tsx @@ -73,8 +73,8 @@ function TabsTrigger({ "group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px]", "focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", - "data-[state=active]:bg-background dark:data-[state=active]:text-accent", - "dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30", + "bg-input/30 data-[state=active]:bg-background dark:bg-transparent dark:data-[state=active]:bg-input/30", + "dark:data-[state=active]:border-input", "data-[state=active]:text-accent after:bg-foreground after:absolute after:opacity-0", "group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px]", "group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0",