import { THEME_STORAGE_KEY } from './theme-provider'; /** * Returns a string containing an IIFE to inject in the document `` * before any styles or React code loads. It reads the stored theme * preference (or falls back to prefers-color-scheme) and sets * `data-theme` on `` synchronously, so consumers never see a * flash of the wrong theme before ThemeProvider hydrates. * * Usage (Next.js, Astro, Remix, or hand-rolled SSR): * * *