+ +// ✅ 정의된 토큰 사용 +
+``` + +### Typography + +`typography-{scale}` utility class 사용: + +```tsx +
본문
+캡션 +``` + +| 클래스 | 크기 | 용도 | +| ---------------------- | ---- | ----------- | +| `typography-display-1` | 56px | 최대 타이틀 | +| `typography-title-2` | 28px | 섹션 타이틀 | +| `typography-heading-2` | 20px | 카드 헤딩 | +| `typography-body-1` | 18px | 주요 본문 | +| `typography-body-2` | 16px | 일반 본문 | +| `typography-label-1` | 14px | 라벨, 버튼 | +| `typography-caption-1` | 12px | 부가 정보 | + +### Color Tokens + +```tsx +// 텍스트 +text - label - normal; // 기본 텍스트 (#111827) +text - label - alternative; // 보조 텍스트 (40% opacity) +text - inverse - normal; // 반전 텍스트 (#ffffff) + +// 배경 +bg - background - normal; +bg - background - normal - alternative; +bg - background - elevated - normal; + +// 브랜드 +bg - blue - 800; // Primary (#6c63ff) +bg - green - 800; // Secondary (#2ec4b6) +``` + +### Scrollable Container + +```tsx +생성된 할 일이 없어요
-+
새로운 할 일을 만들고 관리해보세요
diff --git a/src/widgets/team/TodoSection/state/Error.tsx b/src/widgets/todo/TodoSection/state/Error.tsx similarity index 92% rename from src/widgets/team/TodoSection/state/Error.tsx rename to src/widgets/todo/TodoSection/state/Error.tsx index d3aee798..b5c936f2 100644 --- a/src/widgets/team/TodoSection/state/Error.tsx +++ b/src/widgets/todo/TodoSection/state/Error.tsx @@ -27,7 +27,7 @@ export const Error = ({ error, onReset }: TodoSectionErrorProps) => {할 일 목록을 불러오지 못했어요
-+
{error.message}
diff --git a/src/widgets/team/TodoSection/state/Loading.tsx b/src/widgets/todo/TodoSection/state/Loading.tsx similarity index 83% rename from src/widgets/team/TodoSection/state/Loading.tsx rename to src/widgets/todo/TodoSection/state/Loading.tsx index 853ff321..21a106be 100644 --- a/src/widgets/team/TodoSection/state/Loading.tsx +++ b/src/widgets/todo/TodoSection/state/Loading.tsx @@ -12,7 +12,7 @@ export const Loading = () => { size={48} aria-label="할 일 목록 로딩 중" /> -+
할 일 목록을 불러오고 있어요
diff --git a/src/widgets/team/TodoSection/state/Wrapper.tsx b/src/widgets/todo/TodoSection/state/Wrapper.tsx similarity index 100% rename from src/widgets/team/TodoSection/state/Wrapper.tsx rename to src/widgets/todo/TodoSection/state/Wrapper.tsx