feat: light-theme navbar text color

This commit is contained in:
Alisa | Side.one 2023-06-09 14:24:04 +08:00
parent 6cf09daf0f
commit b1f5684638

View File

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