misskey/packages/frontend/src/scripts/is-device-darkmode.ts