From 0c5f10ae18c5eb54ed7ce1f1bce1061fcfd5767c Mon Sep 17 00:00:00 2001 From: 2620227 Date: Fri, 3 Jul 2026 17:34:33 +0900 Subject: [PATCH] =?UTF-8?q?fix(font):=20Pretendard=20=EB=A1=9C=EC=BB=AC=20?= =?UTF-8?q?@font-face=20=EC=A0=9C=EA=B1=B0=20=E2=86=92=20CDN=20=20?= =?UTF-8?q?=EB=A1=9C=20=EB=A1=9C=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 로컬 /public/fonts/PretendardVariable.woff2 파일이 없어 404가 났다. 인터넷 연결 환경이므로 jsdelivr CDN(pretendard.min.css)으로 불러온다. 미로드 시 base.css 시스템 폰트 스택으로 폴백. Co-Authored-By: Claude Opus 4.8 --- public/css/tokens.css | 11 ++--------- views/_header.ejs | 2 ++ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/public/css/tokens.css b/public/css/tokens.css index 7fd6c73..afcf163 100644 --- a/public/css/tokens.css +++ b/public/css/tokens.css @@ -1,14 +1,7 @@ /* 디자인 토큰 — 폰트 + CSS 변수(라이트/다크). 가장 먼저 로드. */ -/* Pretendard — 폐쇄망 대비 로컬 호스팅(가변 폰트 1개). 파일이 없으면 시스템 폰트로 폴백. - 파일 받기: public/fonts/PretendardVariable.woff2 (README 안내 참고) */ -@font-face { - font-family: 'Pretendard'; - font-weight: 45 920; - font-style: normal; - font-display: swap; - src: url('/public/fonts/PretendardVariable.woff2') format('woff2-variations'); -} +/* Pretendard — CDN(jsdelivr)에서 로드. views/_header 의 로 불러온다(인터넷 연결 환경). + 미로드 시 base.css 의 시스템 폰트 스택으로 폴백. */ :root { color-scheme: light; diff --git a/views/_header.ejs b/views/_header.ejs index 4b18e76..515ab7f 100644 --- a/views/_header.ejs +++ b/views/_header.ejs @@ -5,6 +5,8 @@ <%= brand %> + +