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
+4 -4
View File
@@ -66,12 +66,12 @@ export function IncidentList({ incidents, basePath }: Props) {
<input
type="search"
placeholder="Search ref, type, site…"
className="border border-gray-300 rounded-lg px-3 py-2 text-sm w-48 focus:outline-none focus:ring-2 focus:ring-blue-500"
className="border border-divider px-3 py-2 text-sm w-48 focus:outline-none focus:ring-2 focus:ring-blue-500"
value={search}
onChange={e => setSearch(e.target.value)}
/>
<select
className="border border-gray-300 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500"
className="border border-divider px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500"
value={typeFilter}
onChange={e => setTypeFilter(e.target.value)}
>
@@ -81,7 +81,7 @@ export function IncidentList({ incidents, basePath }: Props) {
))}
</select>
<select
className="border border-gray-300 rounded-lg px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500"
className="border border-divider px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500"
value={statusFilter}
onChange={e => setStatusFilter(e.target.value)}
>
@@ -95,7 +95,7 @@ export function IncidentList({ incidents, basePath }: Props) {
{filtered.length === 0 ? (
<div className="text-center py-12 text-gray-500 text-sm">No incidents found</div>
) : (
<div className="divide-y divide-gray-100 bg-white rounded-xl shadow-sm overflow-hidden">
<div className="divide-y divide-divider bg-surface shadow-sm overflow-hidden">
{filtered.map(inc => (
<Link
key={inc.id}