Skip to content

Conversation

@adityashibu
Copy link
Member

This pull request introduces a new Providers component to manage theme settings and update the favicon based on the user's color scheme preference. The most important changes include the addition of the Providers component and its integration into the root layout.

Theme management and favicon update:

  • frontend/src/app/layout.js: Imported the Providers component and wrapped the UpdateNotifier and children components with Providers in the RootLayout function. [1] [2]
  • frontend/src/app/providers.jsx: Created the Providers component to manage theme settings using Material-UI's ThemeProvider and CssBaseline. The component also includes a FaviconUpdater to switch the favicon based on the theme mode.

@adityashibu adityashibu merged commit b0b2162 into PowerHouse-Project:main Mar 17, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant