refactor(design): drop rounded classes, swap bg-white and gray borders for tokens

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-30 19:02:28 +08:00
co-authored by Claude Haiku 4.5
parent 8701d24c6c
commit 3a941a357b
51 changed files with 394 additions and 285 deletions
+3 -3
View File
@@ -133,7 +133,7 @@ export default async function SupervisorPage() {
</div>
{/* Open incidents */}
<div className="bg-white rounded-xl shadow-sm p-5 mb-4">
<div className="bg-surface shadow-sm p-5 mb-4">
<h2 className="text-sm font-semibold text-gray-700 uppercase tracking-wide mb-4">Open Incidents</h2>
{openIncidents.length === 0 ? (
<p className="text-sm text-gray-400">No open incidents.</p>
@@ -143,7 +143,7 @@ export default async function SupervisorPage() {
<Link
key={inc.id}
href={`/supervisor/incidents/${inc.id}`}
className="flex items-center justify-between py-2 border-b border-gray-50 last:border-0 hover:bg-gray-50 -mx-2 px-2 rounded"
className="flex items-center justify-between py-2 border-b border-gray-50 last:border-0 hover:bg-gray-50 -mx-2 px-2"
>
<div>
<p className="text-sm font-medium text-gray-900">{inc.referenceNo ?? inc.id.slice(0, 8)}</p>
@@ -160,7 +160,7 @@ export default async function SupervisorPage() {
{/* Overdue CAPAs */}
{overdueCount > 0 && (
<div className="bg-white rounded-xl shadow-sm p-5">
<div className="bg-surface shadow-sm p-5">
<h2 className="text-sm font-semibold text-red-600 uppercase tracking-wide mb-4">Overdue CAPAs</h2>
<div className="space-y-2">
{overdueCapas.map(capa => (