diff --git a/src/theme/tabs.ts b/src/theme/tabs.ts index 51e36d53..ca75cdc8 100644 --- a/src/theme/tabs.ts +++ b/src/theme/tabs.ts @@ -69,7 +69,7 @@ export default (config: { colors: string[] }) => ({ variant: 'pill', class: { indicator: `bg-${color}-500 dark:bg-${color}-400`, - trigger: 'data-[state=active]:text-white' + trigger: 'data-[state=active]:text-white dark:data-[state=active]:text-gray-900' } })), { color: 'white', diff --git a/test/components/__snapshots__/Tabs.spec.ts.snap b/test/components/__snapshots__/Tabs.spec.ts.snap index f7e04cc1..d0c61d06 100644 --- a/test/components/__snapshots__/Tabs.spec.ts.snap +++ b/test/components/__snapshots__/Tabs.spec.ts.snap @@ -25,7 +25,7 @@ exports[`Tabs > renders with color black correctly 1`] = ` exports[`Tabs > renders with color green correctly 1`] = ` "