Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up dark mode and added sidebar #23

Merged
merged 1 commit into from
Mar 26, 2021
Merged

set up dark mode and added sidebar #23

merged 1 commit into from
Mar 26, 2021

Conversation

anastasssia88
Copy link
Collaborator

light mode & mode toggle are not working for some reason, I'll look into it
for now, I set dark mode and also added a sidebar

</Main>
{/* <Footer theme={theme} /> */}
</DocumentBody>
<ThemeProvider theme={darkTheme}>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can set theme with the useState above, and then use state.theme here or such, but yeah lets merge and we can use this provider 👍 !

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last week I set it with ThemeProvider and useState. It worked nicely. But it doesn't work anymore, I'll find out why

@anastasssia88 anastasssia88 merged commit 59f3e3c into main Mar 26, 2021
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.

2 participants