Allow theme to be “auto”
window.matchMedia('(prefers-color-scheme: dark)')
.addEventListener('change', event => { const theme = event.matches ? 'dark' : 'light'; });
Please authenticate to join the conversation.
In Review
Helpdesk
23 days ago

StepArena
Get notified by email when there are changes.
In Review
Helpdesk
23 days ago

StepArena
Get notified by email when there are changes.