prefers-mode

Detect & listen to preferences for prefers-color-scheme, prefers-reduced-motion, and prefers-contrast.

Browse on unpkg