Coding task · JavaScript and React course · Module 14: Advanced Styling
Practice: Theme Switcher
Create two themes (spaceTheme and sunTheme) and a component with ThemeProvider that allows switching between them. Use createGlobalStyle to set global styles.
Task
Implement theme switching with ThemeProvider