John-sCC / jcc_frontend

Apache License 2.0
0 stars 0 forks source link

Dark mode #100

Closed Ekamjot-Kaire closed 1 month ago

Ekamjot-Kaire commented 1 month ago

Wireframes

Screen Shot 2024-05-27 at 8 21 07 PM Screen Shot 2024-05-27 at 8 21 20 PM

What I did

new variables added to custom-variable.scss

local storage of DarkMode variable that changes every time the theme button is clicked each page has a seperate stylesheet of dark and light mode a body tag was added that contains all of the html for each individual page a function was added to the js of every page that switches the class of the body tag to the right stylesheet to match the theme

i edited basically every page on our site

drewreed2005 commented 1 month ago

Good job Ekam, one minor merge conflict was resolved manually by me (see the most recent commit to branch).