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:
@@ -82,11 +82,11 @@ export default async function CapaOwnerPage() {
|
||||
</div>
|
||||
|
||||
{activeRows.length === 0 ? (
|
||||
<div className="bg-white rounded-xl shadow-sm p-8 text-center">
|
||||
<div className="bg-surface shadow-sm p-8 text-center">
|
||||
<p className="text-gray-400 text-sm">No active CAPAs assigned to you.</p>
|
||||
</div>
|
||||
) : (
|
||||
<div className="bg-white rounded-xl shadow-sm divide-y divide-gray-50">
|
||||
<div className="bg-surface shadow-sm divide-y divide-gray-50">
|
||||
{activeRows.map(capa => {
|
||||
const isOverdue = isCapaOverdue(capa)
|
||||
return (
|
||||
@@ -127,7 +127,7 @@ export default async function CapaOwnerPage() {
|
||||
{doneRows.length > 0 && (
|
||||
<div className="mt-6">
|
||||
<h2 className="text-xs font-semibold text-gray-400 uppercase tracking-wide mb-2">Completed ({doneCount})</h2>
|
||||
<div className="bg-white rounded-xl shadow-sm divide-y divide-gray-50 opacity-60">
|
||||
<div className="bg-surface shadow-sm divide-y divide-gray-50 opacity-60">
|
||||
{doneRows.map(capa => (
|
||||
<div key={capa.id} className="p-4 flex items-center justify-between">
|
||||
<p className="text-sm text-gray-500 line-clamp-1">{capa.description}</p>
|
||||
|
||||
Reference in New Issue
Block a user