Skip to content

Commit

Permalink
feat: add theme selector and persistence
Browse files Browse the repository at this point in the history
- Add a theme selector switch that allows users to toggle between light and dark modes
- Persist the selected theme across page refreshes using localStorage
- Adjust card and page contrast for better visibility in both light and dark modes
  • Loading branch information
amalv committed Dec 27, 2023
1 parent 7b8df4a commit 40fa101
Show file tree
Hide file tree
Showing 10 changed files with 194 additions and 105 deletions.
184 changes: 105 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
"dependencies": {
"@apollo/client": "^3.8.7",
"@auth0/auth0-react": "^2.2.4",
"@emotion/react": "^11.11.1",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@faker-js/faker": "^8.2.0",
"@fontsource/roboto": "^5.0.8",
"@mui/material": "^5.14.13",
"@mui/icons-material": "^5.15.2",
"@mui/material": "^5.15.2",
"graphql": "^16.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
Loading

0 comments on commit 40fa101

Please sign in to comment.