@alotropico/dark-mode-attribute (npm): Very simple and lightweight utility to manage dark and light schemes from vanilla JavaScript. Call it with your button as a parameter and you're all set.
Keywords: dark|mode|light|theme|color|scheme|local|storage|color-scheme|dark-mode|dark-theme|scheme-tools|toggle-scheme