Is there a way to detect if the user's browser supports inheriting themes from the OS, like dark mode, using the prefers-color-scheme
property?
I want to add a JavaScript-based theme switcher. If the user has already the support build in, I want to add a special button called "Auto". This should follow the system then.