/** * Document-level theme switch. * * SekiUI components express every dark-mode color as a CSS `light-dark()` pair, * selected by the element's inherited `color-scheme`. `color-scheme` crosses * shadow boundaries, so one document-level rule themes every component, * including hosts nested inside another component's shadow tree, with no * per-host attribute mirroring. * * This global script runs once per bundle load (lazy loader, CDN bundle and * the npm custom-elements build) and injects that rule into `document.head` so * consumers keep the zero-CSS-import setup. `src/tokens/index.css` carries the * same rule for consumers who load the global stylesheet without JavaScript. */ export declare const THEME_STYLE_ATTR = "data-seki-theme"; export declare const THEME_SWITCH_CSS = "[data-theme='dark']{color-scheme:dark}[data-theme='light']{color-scheme:light}"; export declare function ensureThemeSwitch(): void; export default function (): void;