diff --git a/frontend/src/lib/components/TagPill.svelte b/frontend/src/lib/components/TagPill.svelte index 8c401d3..166343e 100644 --- a/frontend/src/lib/components/TagPill.svelte +++ b/frontend/src/lib/components/TagPill.svelte @@ -4,13 +4,13 @@ let { tag = '', clickable = true } = $props(); - // 계층별 색상 + // 계층별 색상 (의미 토큰) function getColor(t) { - if (t.startsWith('@상태/') || t.startsWith('@')) return { bg: 'bg-amber-900/30', text: 'text-amber-400' }; - if (t.startsWith('#주제/') || t.startsWith('#')) return { bg: 'bg-blue-900/30', text: 'text-blue-400' }; - if (t.startsWith('$유형/') || t.startsWith('$')) return { bg: 'bg-emerald-900/30', text: 'text-emerald-400' }; - if (t.startsWith('!우선순위/') || t.startsWith('!')) return { bg: 'bg-red-900/30', text: 'text-red-400' }; - return { bg: 'bg-[var(--border)]', text: 'text-[var(--text-dim)]' }; + if (t.startsWith('@상태/') || t.startsWith('@')) return { bg: 'bg-warning/30', text: 'text-warning' }; + if (t.startsWith('#주제/') || t.startsWith('#')) return { bg: 'bg-accent/30', text: 'text-accent' }; + if (t.startsWith('$유형/') || t.startsWith('$')) return { bg: 'bg-success/30', text: 'text-success' }; + if (t.startsWith('!우선순위/') || t.startsWith('!')) return { bg: 'bg-error/30', text: 'text-error' }; + return { bg: 'bg-default', text: 'text-dim' }; } function handleClick(e) { diff --git a/frontend/src/lib/components/UploadDropzone.svelte b/frontend/src/lib/components/UploadDropzone.svelte index 7229380..6c44e6b 100644 --- a/frontend/src/lib/components/UploadDropzone.svelte +++ b/frontend/src/lib/components/UploadDropzone.svelte @@ -98,27 +98,27 @@ {#if dragging} -
여기에 파일을 놓으세요
+여기에 파일을 놓으세요
업로드 중...
+업로드 중...