fix(font): Pretendard 로컬 @font-face 제거 → CDN <link> 로 로드
로컬 /public/fonts/PretendardVariable.woff2 파일이 없어 404가 났다. 인터넷 연결 환경이므로 jsdelivr CDN(pretendard.min.css)으로 불러온다. 미로드 시 base.css 시스템 폰트 스택으로 폴백. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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 의 <link> 로 불러온다(인터넷 연결 환경).
|
||||
미로드 시 base.css 의 시스템 폰트 스택으로 폴백. */
|
||||
|
||||
:root {
|
||||
color-scheme: light;
|
||||
|
||||
Reference in New Issue
Block a user