Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to reset theme to OS preference #2170

Merged
merged 9 commits into from
Jul 5, 2023
Merged

Conversation

mortenpi
Copy link
Member

@mortenpi mortenpi commented Jul 5, 2023

Builds on top of #2085 to fix #1745. I took a slightly different approach though -- I am now re-using the global set_theme_from_local_storage function from themeswap.js to actually apply the theme (since that knows how to correctly interpret the contents of localStorage).

Close #2085.

@mortenpi mortenpi added Type: Enhancement Format: HTML Related to the default HTML output labels Jul 5, 2023
@mortenpi mortenpi merged commit 7dcc160 into master Jul 5, 2023
@mortenpi mortenpi deleted the mp/fix-auto-theme-picker branch July 5, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Format: HTML Related to the default HTML output Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reenable auto-switching between light and dark theme
2 participants