HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
프로그래머스 프론트엔드 데브코스 2기
프로그래머스 프론트엔드 데브코스 2기
/
😇
오프팀
/
🔥
팀 프로젝트 문서
/
ThemeProvider 사용법

ThemeProvider 사용법

상태
기타
담당자
다음과 같이 prop으로 theme 객체를 받아서 사용하시면 됩니다. (매우 간단)
 
 
다른 사용 방법도 있습니다. 필요하다면 아래를 참고해 주세요 :)
Theming
Theming is included in the @emotion/react package. Add ThemeProvider to the top level of your app and access the theme with props.theme in a styled component or provide a function that accepts the theme as the css prop. A React component that passes the theme object down the component tree via context.
Theming
https://emotion.sh/docs/theming
Theming