prefersDark
True if the user’s preferences indicate a dark color scheme.
prefersDark?: boolean;
Related
interface Viewport
Interface definition for an object that contains information about the user’s viewport, i.e. screen or window.
True if the user’s preferences indicate a dark color scheme.
prefersDark?: boolean;