janaRicarda / emotion-tracker

https://what-a-feeling.vercel.app
0 stars 0 forks source link

Darkmode #16

Open ladydarkja opened 2 months ago

ladydarkja commented 2 months ago

Value proposition

As a user I want to have the possibility to switch between light and dark mode In order to use my preferred colorscheme

Description

Image

Acceptance criteria

Tasks

Nesssaaa commented 2 months ago

I added a dark-mode to our capstone-project and I used ThemeProvider in app.js and lighttheme and darktheme in styles.js as well. And I just createt a setter-function with localStorageState in app.js and just passed the state to the button as prop. I didn't need a new component. But I think your way will also work.