astro-color-mode (npm): Provides system or user-defined color scheme preference, with a toggle mechanism. Settings are persisted, component is progressively enhanced and flash of unstyled content avoided. Also, it will provide an easier way to target theme with CSS / SCSS / JS.
Keywords: astro|astro-component|color|theme|switch|toggle|dark|light|mode|progressive|no-js|scheme|native|prefers-color-scheme|javascript|vanilla|css|frontend|html|scss|scss-mixins|typescript|vanilla-javascript