Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚 주차 / 미션
-2주차 2번째 미션
📌 작업 내용
---앞에서 작성했던 tsx파일들은 TypeScript와 react를 활용하여 작업함
---usContext를 이용하여 다크 모드를 구현하고 tailwindcss를 활용하여 디자인함
✨ 상세 작업 내용
-html에서 사용하는 css 구조와는 다르게 스타일 작업을 함
-이전꺼에서 변경이 계속 가능하도록 하는 prev=>prev=== 이를 이용해서 테마가 라이트면 다크로, 다크면 라이트로 변경
-isLightMode는 theme이 "LIGHT"인지 여부를 확인하고 isLightMode가 true면 흰색 배경과 검은색 텍스트, false면 검은색 배경과 흰색 텍스트가 나오게 설정함
📸 스크린샷
❓ 리뷰어가 알아야 할 사항 / 질문
✅ 체크리스트