patternfly / patternfly-org

Home of patternfly.org
https://www.patternfly.org
MIT License
70 stars 138 forks source link

fix: improve handling of dark mode preferences #4389

Closed jonkoops closed 1 week ago

jonkoops commented 1 week ago

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

patternfly-build commented 1 week ago

Preview: https://patternfly-org-pr-4389-site.surge.sh