Skip to content

Conversation

@jonkoops
Copy link
Contributor

Improves the handling of dark mode preferences by respecting the system/browser preference of the user first, and storing the preference in local storage when the user toggles the switch manually in the user interface. This allows the preference to be persisted between other tabs and windows.

Closes #4365

@jonkoops jonkoops force-pushed the dark-mode-improvements branch from 5e6a088 to b252f95 Compare November 21, 2024 18:07
@patternfly-build
Copy link
Collaborator

patternfly-build commented Nov 21, 2024

@jonkoops jonkoops force-pushed the dark-mode-improvements branch from b252f95 to b6ea0d4 Compare November 22, 2024 10:30
@dlabaj dlabaj merged commit 1580900 into patternfly:main Nov 22, 2024
1 check passed
@jonkoops jonkoops deleted the dark-mode-improvements branch November 22, 2024 22:32
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.

Bug - Dark and light mode are not saved when refreshing the browser

3 participants