studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
10 lines (9 loc) • 340 B
TypeScript
/** biome-ignore-all lint/correctness/noUnusedVariables: This is being used as a global augmentation */
interface Window {
theme: {
setTheme: (theme: 'system' | 'dark' | 'light') => void;
getTheme: () => 'system' | 'dark' | 'light';
getSystemTheme: () => 'light' | 'dark';
getDefaultTheme: () => 'system' | 'dark' | 'light';
};
}