The prefers-color-scheme CSS media feature is used to detect if the user has requested a light or dark color theme.
prefers-color-scheme
Link ⇲