Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f4c1bf2

Browse files
committed
tabs for light mode
1 parent 423ee5d commit f4c1bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/tabs/Tabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ export const Tabs: React.FC<TabProps> = ({ children, value, ref, syncKey }) => {
3636
<TabsTrigger
3737
value={tab.props.label}
3838
key={tab.props.label}
39-
className="group/tab relative h-12 hover:text-zinc-200 data-[state=active]:bg-transparent data-[state=active]:text-primary-300"
39+
className="group/tab relative h-12 data-[state=active]:bg-transparent data-[state=active]:text-primary dark:hover:text-zinc-200 dark:data-[state=active]:text-primary-300"
4040
>
4141
{tab.props.label}
42-
<div className="absolute inset-x-2 bottom-0 h-px bg-primary-300 opacity-0 transition-opacity group-data-[state=active]/tab:opacity-100" />
42+
<div className="absolute inset-x-2 bottom-0 h-px bg-primary opacity-0 transition-opacity group-data-[state=active]/tab:opacity-100 dark:bg-primary-300" />
4343
</TabsTrigger>
4444
))}
4545
<div className="absolute inset-x-0 bottom-0 h-px bg-zinc-300/10" />

0 commit comments

Comments
 (0)