Skip to content

Conversation

@wys0530
Copy link

@wys0530 wys0530 commented Nov 22, 2025

결과 소개

2025-11-22.190419.mp4

기능 설명

  • 모드 토글 버튼 클릭 시 다크/라이트 모드 전환
  • ThemeClientLayout.tsx 생성하여 앱이 처음 켜질 때 localStorage에서 테마를 한 번만 읽어 전역 상태로 유지하고, 이후에는 상태 토글만으로 헤더와 본문 전체 테마를 동시에 변경 및 저장하도록 함

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.

1 participant