UNPKG

@dfinity/gix-components

Version:
11 lines (10 loc) 412 B
/// <reference types="svelte" /> import type { Theme } from "../types/theme"; import { type Readable } from "svelte/store"; export type ThemeStoreData = Theme | undefined; export interface ThemeStore extends Readable<ThemeStoreData> { select: (theme: Theme) => void; resetToSystemSettings: () => void; } export declare const initThemeStore: () => ThemeStore; export declare const themeStore: ThemeStore;