Merge pull request #434 from alisaweb3/v3-single

Light-theme navbar text color
This commit is contained in:
ping 2023-06-09 14:31:48 +08:00 committed by GitHub
commit 32e8c26d04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ function selected(route: any, nav: NavLink) {
<div
class="text-base capitalize text-gray-500 dark:text-gray-300"
:class="{
'text-white': item?.title !== 'Favorite',
'!text-white': selected($route, el),
}"
>
{{ item?.title === 'Favorite' ? el?.title : $t(el?.title) }}