Skip to main content

Theme Auto

Allow theme to be “auto”

window.matchMedia('(prefers-color-scheme: dark)')
.addEventListener('change', event => { const theme = event.matches ? 'dark' : 'light'; });

Post type
💡 New feature
What part of Help Desk?

Log in to comment and vote

No comments yet

Be the first to share your thoughts.