feat(app): new tabs styling (#15284)

Co-authored-by: David Hill <iamdavidhill@gmail.com>
This commit is contained in:
Adam
2026-02-26 15:39:45 -06:00
committed by GitHub
parent 7e6a007c35
commit 9312867565
5 changed files with 174 additions and 51 deletions

View File

@@ -61,6 +61,7 @@ function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
return (
<div
data-slot="tabs-trigger-wrapper"
data-value={props.value}
classList={{
...(split.classList ?? {}),
[split.class ?? ""]: !!split.class,
@@ -80,6 +81,7 @@ function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
<Kobalte.Trigger
{...rest}
data-slot="tabs-trigger"
data-value={props.value}
classList={{ [split.classes?.button ?? ""]: split.classes?.button }}
>
{split.children}