refactor(css): 단일 style.css 를 역할별 파일로 분할 + Pretendard 로컬 호스팅
public/css/{tokens,base,layout,components,modal}.css 로 분리하고 _header 에서 다중 link 로드.
tokens.css 에 Pretendard @font-face(public/fonts/PretendardVariable.woff2, 없으면 시스템 폰트 폴백).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title><%= brand %></title>
|
||||
<link rel="stylesheet" href="/public/style.css" />
|
||||
<link rel="stylesheet" href="/public/css/tokens.css" />
|
||||
<link rel="stylesheet" href="/public/css/base.css" />
|
||||
<link rel="stylesheet" href="/public/css/layout.css" />
|
||||
<link rel="stylesheet" href="/public/css/components.css" />
|
||||
<link rel="stylesheet" href="/public/css/modal.css" />
|
||||
<script>
|
||||
// FOUC 방지: 저장된 테마를 페인트 전에 documentElement 에 적용
|
||||
(function () {
|
||||
|
||||
Reference in New Issue
Block a user