mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-28 02:16:28 -07:00
3 lines
106 B
TypeScript
3 lines
106 B
TypeScript
export function isDeviceDarkmode() {
|
|
return window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
}
|