UNPKG

@dfinity/gix-components

Version:
12 lines (11 loc) 499 B
import { Theme } from "../types/theme"; export declare const THEME_ATTRIBUTE = "theme"; export declare const LOCALSTORAGE_THEME_KEY = "nnsTheme"; export declare const initTheme: () => Theme | undefined; export declare const applyTheme: ({ theme, preserve, }: { theme: Theme; preserve?: boolean | undefined; }) => void; export declare const getThemeFromSystemSettings: () => Theme; export declare const resetTheme: (theme: Theme) => void; export declare const isThemeSelected: () => boolean;