Monday-Morning / project-tahiti

The repository for the Client Application of Monday Morning, the official student media body of NIT Rourkela.
https://project-tahiti-staging.onrender.com/
MIT License
74 stars 35 forks source link

feat: create a context to switch theme #402

Closed 120EE0692 closed 1 year ago

120EE0692 commented 1 year ago

We need a dark theme in our website, for that we need to create a context to get the current state of the theme.

The theme must be auto set according to the time. i.e after 08:00 PM default value should be dark.

Create a sample darkTheme file to test the context.