Function useTheme

  • Returns {
        getColorToken: ((token) => string);
        getStoredTheme: (() => string);
        getSystemTheme: (() => "light" | "dark");
        getToken: ((token) => string);
        removeTheme: ((theme) => void);
        setTheme: ((theme) => void);
        systemTheme: any;
    }

    • getColorToken: ((token) => string)
        • (token): string
        • Parameters

          • token: string

          Returns string

    • getStoredTheme: (() => string)
        • (): string
        • Returns string

    • getSystemTheme: (() => "light" | "dark")
        • (): "light" | "dark"
        • Returns "light" | "dark"

    • getToken: ((token) => string)
        • (token): string
        • Parameters

          • token: string

          Returns string

    • removeTheme: ((theme) => void)
        • (theme): void
        • Parameters

          • theme: string

          Returns void

    • setTheme: ((theme) => void)
        • (theme): void
        • Parameters

          • theme: string

          Returns void

    • systemTheme: any

Generated using TypeDoc