UNPKG

svelte-fancy-darkmode

Version:
15 lines (14 loc) 413 B
import type { ThemeColors } from './types.js'; type Props = { /** * The color of the dark theme. */ themeColors?: ThemeColors; /** * Whether to restore the theme on page load. */ restoreThemeOnLoadPage?: boolean; }; declare const DarkModeHeader: import("svelte").Component<Props, {}, "">; type DarkModeHeader = ReturnType<typeof DarkModeHeader>; export default DarkModeHeader;