mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-28 04:01:10 -04:00 
			
		
		
		
	fix sidebar and table data link in dark mode color
This commit is contained in:
		| @ -93,7 +93,7 @@ | |||||||
|                   :name="item.icon" |                   :name="item.icon" | ||||||
|                   :class="[ |                   :class="[ | ||||||
|                     hasActiveUrl(item.link) |                     hasActiveUrl(item.link) | ||||||
|                       ? 'text-primary-500 ' |                       ? 'text-primary-500 dark:text-primary-400' | ||||||
|                       : 'text-gray-400', |                       : 'text-gray-400', | ||||||
|                     'mr-4 shrink-0 h-5 w-5', |                     'mr-4 shrink-0 h-5 w-5', | ||||||
|                   ]" |                   ]" | ||||||
| @ -149,7 +149,7 @@ | |||||||
|           :name="item.icon" |           :name="item.icon" | ||||||
|           :class="[ |           :class="[ | ||||||
|             hasActiveUrl(item.link) |             hasActiveUrl(item.link) | ||||||
|               ? 'text-primary-500 group-hover:text-primary-500 dark:text-primary-400 dark:group-hover:text-primary-500 ' |               ? 'text-primary-500 dark:text-primary-400' | ||||||
|               : 'text-gray-400 group-hover:text-black dark:text-gray-400 dark:group-hover:text-white', |               : 'text-gray-400 group-hover:text-black dark:text-gray-400 dark:group-hover:text-white', | ||||||
|             'mr-4 shrink-0 h-5 w-5 ', |             'mr-4 shrink-0 h-5 w-5 ', | ||||||
|           ]" |           ]" | ||||||
|  | |||||||
| @ -154,7 +154,7 @@ | |||||||
|               :text="row.data.name" |               :text="row.data.name" | ||||||
|               :length="30" |               :length="30" | ||||||
|               tag="span" |               tag="span" | ||||||
|               class="font-medium text-primary-500 flex flex-col" |               class="font-medium text-primary-500 flex flex-col dark:text-primary-400" | ||||||
|             /> |             /> | ||||||
|             <BaseText |             <BaseText | ||||||
|               :text="row.data.contact_name ? row.data.contact_name : ''" |               :text="row.data.contact_name ? row.data.contact_name : ''" | ||||||
|  | |||||||
| @ -28,7 +28,7 @@ | |||||||
|           <template #cell-user="{ row }"> |           <template #cell-user="{ row }"> | ||||||
|             <router-link |             <router-link | ||||||
|               :to="{ path: `invoices/${row.data.id}/view` }" |               :to="{ path: `invoices/${row.data.id}/view` }" | ||||||
|               class="font-medium text-primary-500" |               class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|             > |             > | ||||||
|               {{ row.data.customer.name }} |               {{ row.data.customer.name }} | ||||||
|             </router-link> |             </router-link> | ||||||
| @ -78,7 +78,7 @@ | |||||||
|           <template #cell-user="{ row }"> |           <template #cell-user="{ row }"> | ||||||
|             <router-link |             <router-link | ||||||
|               :to="{ path: `estimates/${row.data.id}/view` }" |               :to="{ path: `estimates/${row.data.id}/view` }" | ||||||
|               class="font-medium text-primary-500" |               class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|             > |             > | ||||||
|               {{ row.data.customer.name }} |               {{ row.data.customer.name }} | ||||||
|             </router-link> |             </router-link> | ||||||
|  | |||||||
| @ -205,7 +205,7 @@ | |||||||
|         <template #cell-estimate_number="{ row }"> |         <template #cell-estimate_number="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `estimates/${row.data.id}/view` }" |             :to="{ path: `estimates/${row.data.id}/view` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.estimate_number }} |             {{ row.data.estimate_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -171,7 +171,7 @@ | |||||||
|         <template #cell-name="{ row }"> |         <template #cell-name="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `expenses/${row.data.id}/edit` }" |             :to="{ path: `expenses/${row.data.id}/edit` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.expense_category.name }} |             {{ row.data.expense_category.name }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -220,7 +220,7 @@ | |||||||
|         <template #cell-invoice_number="{ row }"> |         <template #cell-invoice_number="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `invoices/${row.data.id}/view` }" |             :to="{ path: `invoices/${row.data.id}/view` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.invoice_number }} |             {{ row.data.invoice_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -153,7 +153,7 @@ | |||||||
|         <template #cell-name="{ row }"> |         <template #cell-name="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `items/${row.data.id}/edit` }" |             :to="{ path: `items/${row.data.id}/edit` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.name }} |             {{ row.data.name }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -158,7 +158,7 @@ | |||||||
|         <template #cell-payment_number="{ row }"> |         <template #cell-payment_number="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `payments/${row.data.id}/view` }" |             :to="{ path: `payments/${row.data.id}/view` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.payment_number }} |             {{ row.data.payment_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -204,7 +204,7 @@ | |||||||
|               :text="row.data.customer.name" |               :text="row.data.customer.name" | ||||||
|               :length="30" |               :length="30" | ||||||
|               tag="span" |               tag="span" | ||||||
|               class="font-medium text-primary-500 flex flex-col" |               class="font-medium text-primary-500 flex flex-col dark:text-primary-400" | ||||||
|             /> |             /> | ||||||
|  |  | ||||||
|             <BaseText |             <BaseText | ||||||
|  | |||||||
| @ -158,7 +158,7 @@ | |||||||
|         <template #cell-name="{ row }"> |         <template #cell-name="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `users/${row.data.id}/edit` }" |             :to="{ path: `users/${row.data.id}/edit` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.name }} |             {{ row.data.name }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ | |||||||
|             :to="{ |             :to="{ | ||||||
|               path: `/${globalStore.companySlug}/customer/invoices/${row.data.id}/view`, |               path: `/${globalStore.companySlug}/customer/invoices/${row.data.id}/view`, | ||||||
|             }" |             }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.invoice_number }} |             {{ row.data.invoice_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
| @ -73,7 +73,7 @@ | |||||||
|             :to="{ |             :to="{ | ||||||
|               path: `/${globalStore.companySlug}/customer/estimates/${row.data.id}/view`, |               path: `/${globalStore.companySlug}/customer/estimates/${row.data.id}/view`, | ||||||
|             }" |             }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.estimate_number }} |             {{ row.data.estimate_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -100,7 +100,7 @@ | |||||||
|         <template #cell-estimate_number="{ row }"> |         <template #cell-estimate_number="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `estimates/${row.data.id}/view` }" |             :to="{ path: `estimates/${row.data.id}/view` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.estimate_number }} |             {{ row.data.estimate_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -95,7 +95,7 @@ | |||||||
|         <template #cell-invoice_number="{ row }"> |         <template #cell-invoice_number="{ row }"> | ||||||
|           <router-link |           <router-link | ||||||
|             :to="{ path: `invoices/${row.data.id}/view` }" |             :to="{ path: `invoices/${row.data.id}/view` }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.invoice_number }} |             {{ row.data.invoice_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
| @ -78,7 +78,7 @@ | |||||||
|             :to="{ |             :to="{ | ||||||
|               path: `payments/${row.data.id}/view`, |               path: `payments/${row.data.id}/view`, | ||||||
|             }" |             }" | ||||||
|             class="font-medium text-primary-500" |             class="font-medium text-primary-500 dark:text-primary-400" | ||||||
|           > |           > | ||||||
|             {{ row.data.payment_number }} |             {{ row.data.payment_number }} | ||||||
|           </router-link> |           </router-link> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user