feature: SearchDrawer 调整

This commit is contained in:
tangly1024
2022-01-11 14:28:09 +08:00
parent 9e6707149d
commit 9747097f71
4 changed files with 44 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ const TagItemMini = ({ tag, selected = false }) => {
mr-2 py-0.5 px-1 text-xs whitespace-nowrap dark:hover:text-white
${selected
? 'text-white dark:text-gray-300 bg-black dark:bg-black dark:hover:bg-gray-900'
: `text-gray-600 hover:shadow-xl dark:border-gray-400 notion-${tag.color}_background dark:bg-gray-900`}` }>
: `text-gray-600 hover:shadow-xl dark:border-gray-400 notion-${tag.color}_background dark:bg-gray-800`}` }>
<div className='font-light dark:text-gray-400'>{selected && <FontAwesomeIcon icon={faTag} className='mr-1'/>} {tag.name + (tag.count ? `(${tag.count})` : '')} </div>
</a>
</Link>