import { getCurrentWindow, type Theme } from '@tauri-apps/api/window' /* * OS appearance follower. * * The installer ships no in-app theme switcher, so it tracks the system the * way the desktop overlays do. Two Tauri realities shape this: * * 1. The strict `script-src 'self'` CSP (tauri.conf.json) forbids an inline * pre-paint