export function isDarkMode(): boolean { const systemDark: any = window.matchMedia("(prefers-color-scheme: dark)"); return systemDark.matches; }