mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-18 06:20:06 +00:00
3 lines
106 B
TypeScript
3 lines
106 B
TypeScript
export function isDeviceDarkmode() {
|
|
return window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
}
|