fix(Tabs): wrong text color with pill colored

This commit is contained in:
Benjamin Canac
2024-06-05 16:04:50 +02:00
parent 188d2bcd89
commit f70b63970a
2 changed files with 4 additions and 4 deletions

View File

@@ -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',