Skip to content

정적 export 위에서 테마 깜빡임 없애기 초안 추가 - #100

Merged
CoBool merged 1 commit into
mainfrom
claude/poster-list-recommendation-ljd669
Aug 24, 2026
Merged

정적 export 위에서 테마 깜빡임 없애기 초안 추가#100
CoBool merged 1 commit into
mainfrom
claude/poster-list-recommendation-ljd669

Conversation

@CoBool

@CoBool CoBool commented Aug 24, 2026

Copy link
Copy Markdown
Owner

변경 내용

content/posts/theme-without-flash-on-static-export.md를 새로 추가. output: export 정적 사이트에서 라이트/다크 테마 전환 시 FOUC를 막는 구조(theme-script.tsx의 동기 부트스트랩 스크립트, theme-controller.ts의 런타임 컨트롤러, 둘이 theme.ts의 판정 규칙을 공유하는 방식)를 다룬 글이다. draft: true로 표시해 프로덕션 빌드에는 포함되지 않는다.

변경 이유

기존 포스트 목록을 검토한 뒤, 코드에는 이미 구현돼 있지만 아직 글로 남기지 않은 결정들(테마 부트스트랩, 배포 경로, sanitize, 접근성 테스트 등) 중 가장 구체적인 구현 히스토리가 있는 테마 주제를 우선 추천했고, 사용자가 이를 초안으로 작성해 달라고 요청했다.

검증

  • npx vitest run tests/posts.test.ts tests/posts-publication.test.ts 통과 (frontmatter/발행 규칙 검증)
  • 새 글은 draft: true라 프로덕션 빌드 대상 글 수에 영향 없음

Generated by Claude Code

theme-script/theme-controller의 부트스트랩·런타임 테마 판정 구조를
정리한 초안. draft: true로 표시.
@CoBool
CoBool merged commit 9c8b083 into main Aug 24, 2026
1 check passed
@CoBool
CoBool deleted the claude/poster-list-recommendation-ljd669 branch August 24, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants