Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Issue/533 add light and dark mode #719

Merged

Conversation

Arturas1989
Copy link
Contributor

@Arturas1989 Arturas1989 commented Feb 9, 2024

Summary of the Changes:

  • Added a new component named ThemeModeProvider in the features folder. This component manages the default theme and theme mode.
  • Replaced ThemeProvider with ThemeModeProvider in the App component.
  • Introduced a new settings field named darkTheme. This field value is toggled when the user interacts with the checkbox. It allows to change the theme mode.
  • Implemented functionality to save the selected theme mode to the localStorage.

Closes #533

@programarivm programarivm merged commit 375228a into chesslablab:master Feb 10, 2024
@Arturas1989 Arturas1989 deleted the issue/533-add-light-and-dark-mode branch February 10, 2024 10:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add light and dark mode
2 participants