fix togglebutton border in darkmode

This commit is contained in:
Diego Imbert
2025-09-23 11:13:17 +02:00
parent 6d9b0e1f2c
commit 8b8025e60a
@@ -33,7 +33,7 @@
'group rounded-md transition-all text-xs font-normal flex gap-1 flex-row items-center border',
small ? 'px-1.5 py-0.5 text-2xs' : 'px-2 py-1',
light ? 'font-medium' : '',
'data-[state=on]:bg-surface data-[state=off]:border-transparent data-[state=on]:border-gray-300',
'data-[state=on]:bg-surface data-[state=off]:border-transparent data-[state=on]:border-gray-300 dark:data-[state=on]:border-gray-500',
'text-hint data-[state=on]:text-tertiary',
'bg-surface-secondary hover:bg-surface-hover',
disabled ? '!shadow-none' : '',