Remove active styles from non-interactive badges
This commit is contained in:
parent
7d22475c47
commit
c692e95693
@ -33,12 +33,12 @@ export default function Badge({
|
||||
highContrast
|
||||
? 'text-invert bg-invert'
|
||||
: 'text-medium bg-gray-300/30 dark:bg-gray-700/50',
|
||||
interactive && highContrast
|
||||
interactive && (highContrast
|
||||
? 'hover:opacity-70'
|
||||
: 'hover:text-gray-900 dark:hover:text-gray-100',
|
||||
interactive && highContrast
|
||||
: 'hover:text-gray-900 dark:hover:text-gray-100'),
|
||||
interactive && (highContrast
|
||||
? 'active:opacity-90'
|
||||
: 'active:bg-gray-200 dark:active:bg-gray-700/60',
|
||||
: 'active:bg-gray-200 dark:active:bg-gray-700/60'),
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user