Fix badge color and quoted status border

This commit is contained in:
Justin 2022-08-08 16:30:36 -04:00
parent 070ca176a7
commit b87768967b
2 changed files with 7 additions and 7 deletions

View File

@ -10,11 +10,11 @@ interface IBadge {
const Badge: React.FC<IBadge> = ({ title, slug }) => ( const Badge: React.FC<IBadge> = ({ title, slug }) => (
<span <span
data-testid='badge' data-testid='badge'
className={classNames('inline-flex items-center px-2 py-0.5 rounded text-xs font-medium text-white', { className={classNames('inline-flex items-center px-2 py-0.5 rounded text-xs font-medium', {
'bg-fuchsia-700': slug === 'patron', 'bg-fuchsia-700 text-white': slug === 'patron',
'bg-yellow-500': slug === 'donor', 'bg-yellow-500 text-white': slug === 'donor',
'bg-black': slug === 'admin', 'bg-black text-white': slug === 'admin',
'bg-cyan-600': slug === 'moderator', 'bg-cyan-600 text-white': slug === 'moderator',
'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100': slug === 'bot', 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-gray-100': slug === 'bot',
'bg-white bg-opacity-75 text-gray-900': slug === 'opaque', 'bg-white bg-opacity-75 text-gray-900': slug === 'opaque',
})} })}

View File

@ -126,8 +126,8 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
<Stack <Stack
data-testid='quoted-status' data-testid='quoted-status'
space={2} space={2}
className={classNames('mt-3 p-4 rounded-lg border border-solid border-gray-100 dark:border-gray-800 cursor-pointer', { className={classNames('mt-3 p-4 rounded-lg border border-solid border-gray-300 dark:border-gray-800 cursor-pointer', {
'hover:bg-gray-50 dark:hover:bg-gray-800': !compose, 'hover:bg-gray-100 dark:hover:bg-gray-800': !compose,
})} })}
onClick={handleExpandClick} onClick={handleExpandClick}
> >