Style and mode changeing when refreshing the page #506

Closed
opened 2026-04-23 09:49:18 +00:00 by b23albst · 2 comments
Collaborator

This issue contains two parts:

  • If your the application starts in dark mode (based on browser settings, I think), it switches to light mode when going to the settings page.
  • If you have chosen a style and go back to the main page and refresh, the selected style will not be visible until going to the settings page again.
This issue contains two parts: - If your the application starts in dark mode (based on browser settings, I think), it switches to light mode when going to the settings page. - If you have chosen a style and go back to the main page and refresh, the selected style will not be visible until going to the settings page again.
Author
Collaborator

The issue stems from the current mode and style only being stored in the useStyle hook, that is only used in the settings page. This could be solved by using react context to store the mode and style, even when changing pages

The issue stems from the current mode and style only being stored in the useStyle hook, that is only used in the settings page. This could be solved by using react context to store the mode and style, even when changing pages
Collaborator

Closed in PR #537, will close this issue

Closed in PR #537, will close this issue
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#506
No description provided.