최재영의 개발 일지
GitHubLinkedIn

Tag: #light-mode

다크 모드와 라이트 모드 추가하기(next-themes + tailwindcss)

next-themes next-themes는 Next.js에서 다크 모드를 쉽게 사용할 수 있도록 해 준다. next-themes에서 소개하는 특징 중 아래 내용이 마음에 들어서 선택했다. 단 두 줄의 코드로 다크 모드 완성 Next.js app 디렉토리 지원 시스템 설정 사용 가능 next-themes 설치 npm install next-themes