Documentation

prefersDark

True if the user’s preferences indicate a dark color scheme.

prefersDark?: boolean;

Related