From ebcec3f296d1d27943caf8a3aed26efef117cdc5 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Tue, 9 Sep 2025 06:51:44 +0000 Subject: (김준회) 돌체 관련, 다크모드 지원하도록 개선 - 가능하면 시멘틱 색상 사용(muted, muted-foreground) - 어려운 컬러는 dark: 변수로 다크모드 클래스 지정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ship/enhanced-doc-table-columns.tsx | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx') diff --git a/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx b/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx index 8370cd34..096f9b24 100644 --- a/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx +++ b/lib/vendor-document-list/ship/enhanced-doc-table-columns.tsx @@ -37,12 +37,12 @@ interface GetColumnsProps { // 날짜 표시 컴포넌트 (간단 버전) const DateDisplay = ({ date, isSelected = false }: { date: string | null, isSelected?: boolean }) => { - if (!date) return - + if (!date) return - return ( {formatDate(date)} @@ -59,7 +59,7 @@ export function getSimplifiedDocumentColumns({ id: "select", header: ({ table }) => (
- Select + Select
), cell: ({ row }) => { @@ -180,7 +180,7 @@ export function getSimplifiedDocumentColumns({ const firstRow = table.getRowModel().rows[0]?.original const stageName = firstRow?.firstStageName || "First Stage" return ( -
+
{stageName}
) @@ -223,7 +223,7 @@ export function getSimplifiedDocumentColumns({ const firstRow = table.getRowModel().rows[0]?.original const stageName = firstRow?.secondStageName || "Second Stage" return ( -
+
{stageName}
) @@ -373,8 +373,8 @@ function DocNumberCell({ doc }: { doc: SimplifiedDocumentsView }) { className={cn( "font-mono text-sm font-medium cursor-pointer px-2 py-1 rounded transition-colors", isSelected - ? "text-blue-600 font-bold bg-blue-50" - : "hover:bg-gray-50" + ? "text-primary font-bold bg-primary/10" + : "hover:bg-muted/50" )} onClick={() => { const newSelection = isSelected ? null : doc.documentId; @@ -393,10 +393,10 @@ function TitleCell({ doc }: { doc: SimplifiedDocumentsView }) { return (
{ @@ -413,12 +413,12 @@ function ProjectCodeCell({ projectCode, documentId }: { projectCode: string | nu const { selectedDocumentId } = React.useContext(DocumentSelectionContext); const isSelected = selectedDocumentId === documentId; - if (!projectCode) return -; + if (!projectCode) return -; return ( {projectCode} @@ -439,8 +439,8 @@ function FirstStageActualDateCell({ row }: { row: any }) { return (
{date && ✓ 완료} @@ -462,8 +462,8 @@ function SecondStageActualDateCell({ row }: { row: any }) { return (
{date && ✓ 완료} @@ -477,10 +477,10 @@ function AttachmentCountCell({ count, documentId }: { count: number, documentId: return (
- + {count} @@ -494,8 +494,8 @@ function UpdatedAtCell({ updatedAt, documentId }: { updatedAt: Date, documentId: return ( {formatDateTime(updatedAt)} -- cgit v1.2.3