feat(design): colour banners and badges by meaning, document slice 1 and update design notes
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -106,9 +106,9 @@ export default async function ReporterIncidentDetail({
|
||||
<div key={c.id} className="flex items-start justify-between gap-3 text-sm">
|
||||
<p className="text-gray-700 flex-1">{c.description}</p>
|
||||
<span className={`text-xs px-2 py-0.5 shrink-0 ${
|
||||
c.status === 'verified' ? 'bg-neutral-100 text-ink' :
|
||||
c.status === 'pending_verification' ? 'bg-accent-100 text-accent-700' :
|
||||
'bg-gray-100 text-gray-600'
|
||||
c.status === 'verified' ? 'bg-st-green-bg text-st-green-fg' :
|
||||
c.status === 'pending_verification' ? 'bg-st-indigo-bg text-st-indigo-fg' :
|
||||
'bg-st-grey-bg text-st-grey-fg'
|
||||
}`}>{c.status.replace(/_/g, ' ')}</span>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user