From fe733ad7c456001d0f46c5e6b6175b9382c9f3cc Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Mon, 13 Jul 2026 12:01:27 +0900 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=EB=94=94=EB=A0=89=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=20=EB=AA=A9=EB=A1=9D=20=EC=B5=9C=EB=8C=80=20=ED=8F=AD?= =?UTF-8?q?=20=EC=A0=9C=ED=95=9C=20=EB=B0=8F=20=EB=9D=BC=EC=9D=B4=ED=8A=B8?= =?UTF-8?q?=20=EB=AA=A8=EB=93=9C=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EC=83=89?= =?UTF-8?q?=EC=83=81=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 시스템 폰트·행간·패딩은 PR #143으로 이미 master에 반영되어, 남은 개선분(넓은 화면에서의 가독성을 위한 main 요소 max-width 중앙 정렬, 라이트 모드 본문 색상 명시)만 master 기준으로 재구성했습니다. 다크 모드 색상은 기존 prefers-color-scheme 오버라이드가 그대로 우선합니다. Co-Authored-By: Claude Fable 5 --- src/main/kotlin/html4tree/main.kt | 5 +++++ src/test/kotlin/html4tree/MainTest.kt | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/main/kotlin/html4tree/main.kt b/src/main/kotlin/html4tree/main.kt index 2df4131..6721ea5 100644 --- a/src/main/kotlin/html4tree/main.kt +++ b/src/main/kotlin/html4tree/main.kt @@ -248,6 +248,11 @@ fun process_dir(curr_dir: File, excludeSet: Set? = null, dirFiles: Array font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; padding: 1rem; + color: #1f2328; + } + main { + max-width: 800px; + margin: 0 auto; } ul { list-style-type: none; diff --git a/src/test/kotlin/html4tree/MainTest.kt b/src/test/kotlin/html4tree/MainTest.kt index 0a4b060..577e631 100644 --- a/src/test/kotlin/html4tree/MainTest.kt +++ b/src/test/kotlin/html4tree/MainTest.kt @@ -336,6 +336,8 @@ class MainTest { assertTrue(htmlContent.contains("padding: 1rem;")) assertTrue(htmlContent.contains("transition: background-color")) assertTrue(htmlContent.contains("prefers-reduced-motion")) + assertTrue(htmlContent.contains("max-width: 800px;")) + assertTrue(htmlContent.contains("margin: 0 auto;")) } @Test