From 776985eca8bf7055c6be3ff5cbe41f65e3b694ee Mon Sep 17 00:00:00 2001 From: gahusb Date: Thu, 11 Jun 2026 01:22:13 +0900 Subject: [PATCH] =?UTF-8?q?fix(design):=20=EB=AF=B8=EC=A0=95=EC=9D=98=20--?= =?UTF-8?q?font-pretendard=20=EB=B3=80=EC=88=98=20=EA=B0=84=EC=A0=91?= =?UTF-8?q?=EC=B0=B8=EC=A1=B0=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit var(--font-pretendard, ...) 패턴은 --font-pretendard가 어디에도 정의되지 않아 항상 fallback으로 동작합니다. npm CSS import 방식에서 next/font 제거 후 변수 주입이 안되므로 직접 'Pretendard Variable'로 단순화하여 의도 명확화합니다. 모든 fallback stack은 유지됩니다. 변경 위치: - @theme inline (font-sans, font-mono) - body (전역 폰트) - .font-mono 유틸리티 - .kx-section, .kx-display, .kx-label (Kinetic Ether) Co-Authored-By: Claude Opus 4.8 --- app/globals.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/globals.css b/app/globals.css index 3f91653..edfeeee 100644 --- a/app/globals.css +++ b/app/globals.css @@ -69,8 +69,8 @@ --color-foreground: var(--foreground); --color-primary: var(--primary); --color-secondary: var(--secondary); - --font-sans: var(--font-pretendard, 'Pretendard Variable'), Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; - --font-mono: var(--font-pretendard, 'Pretendard Variable'), Pretendard, ui-monospace, monospace; + --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; + --font-mono: 'Pretendard Variable', Pretendard, ui-monospace, monospace; } * { @@ -84,14 +84,14 @@ html { body { background: var(--jsm-bg); color: var(--jsm-ink); - font-family: var(--font-pretendard, 'Pretendard Variable'), Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; + font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* font-mono utility → Pretendard 통일 */ .font-mono, code, pre, kbd, samp { - font-family: var(--font-pretendard, 'Pretendard Variable'), Pretendard, ui-monospace, monospace; + font-family: 'Pretendard Variable', Pretendard, ui-monospace, monospace; } /* Dashboard layout */ @@ -120,19 +120,19 @@ body { .kx-section { background: var(--kx-surface); color: var(--kx-on-surface); - font-family: var(--font-pretendard, 'Pretendard Variable'), Pretendard, system-ui, sans-serif; + font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif; } .kx-section p, .kx-section li, .kx-section span:not(.kx-label) { color: var(--kx-on-variant); } .kx-display { - font-family: var(--font-pretendard, 'Pretendard Variable'), Pretendard, system-ui, sans-serif; + font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; color: inherit; } .kx-label { - font-family: var(--font-pretendard, 'Pretendard Variable'), Pretendard, system-ui, sans-serif; + font-family: 'Pretendard Variable', Pretendard, system-ui, sans-serif; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;