feat: better border for table in light mode

This commit is contained in:
2025-05-31 18:40:24 +02:00
parent 321f4087e1
commit 2b7f4995ef

View File

@ -84,7 +84,7 @@ const ApiServicesPage: FC = () => {
key={service.id}
className="hover:bg-gray-50 dark:hover:bg-gray-800"
>
<td className="px-6 py-4 text-sm font-medium text-blue-600 border border-gray-700">
<td className="px-6 py-4 text-sm font-medium text-blue-600 border border-gray-300 dark:border-gray-700">
<Link
to={`/admin/api-services/view/${service.id}`}
className="hover:underline hover:text-gray-600 dark:hover:text-gray-300 transition-colors"
@ -92,10 +92,10 @@ const ApiServicesPage: FC = () => {
{service.name}
</Link>
</td>
<td className="px-6 py-4 text-sm text-gray-700 dark:text-gray-300 border border-gray-700">
<td className="px-6 py-4 text-sm text-gray-700 dark:text-gray-300 border border-gray-300 dark:border-gray-700">
{service.client_id}
</td>
<td className="px-6 py-4 text-sm border border-gray-700">
<td className="px-6 py-4 text-sm border border-gray-300 dark:border-gray-700">
<span
className={`inline-block px-2 py-1 text-xs rounded-full font-semibold ${
service.is_active
@ -106,10 +106,10 @@ const ApiServicesPage: FC = () => {
{service.is_active ? "Yes" : "No"}
</span>
</td>
<td className="px-6 py-4 text-sm text-gray-500 dark:text-gray-400 border border-gray-700">
<td className="px-6 py-4 text-sm text-gray-500 dark:text-gray-400 border border-gray-300 dark:border-gray-700">
{new Date(service.created_at).toLocaleString()}
</td>
<td className="px-6 py-4 text-sm text-gray-500 dark:text-gray-400 border border-gray-700">
<td className="px-6 py-4 text-sm text-gray-500 dark:text-gray-400 border border-gray-300 dark:border-gray-700">
{new Date(service.updated_at).toLocaleString()}
</td>
</tr>