Open Roberta
Dark theme Toggle Button
Background
This is a GitHub task, make sure to read the info.
Either complete the task "Dark theme" first or create some dummy files that would represent a dark theme.
Task
The task is to write a simple button in the user's settings option to switch between the light and dark themes.
The button should be included in the user's dropdown list. Create different folders for light and dark themes and toggle between the two as per user requirement.
The button should be able to change all the pages including Home, Gallery, Tutorials, Simulation, Documentation and Code as well.
Hint
- You can create a separate folder like staticResources/CSS/img/dark for the dark theme images and store them there(for testing use any other image) and then set the theme accordingly from the user's settings.
- Similarly, you can switch between the colors in the CSS from the js.
Deliverables
Create a pull request for the button with all the required changes.
Task tags
Students who completed this task
Blippy, Olivia