mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-17 19:28:58 +01:00
0e4a111f81
Resolve #7779
3 lines
106 B
TypeScript
3 lines
106 B
TypeScript
export function isDeviceDarkmode() {
|
|
return window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
}
|