UNPKG

@formant/ava-react

Version:

React components of AVA.

46 lines (45 loc) 1.02 kB
import React from "react"; interface ThemeColors { background: { primary: string; secondary: string; tertiary: string; surface: string; headerModule: string; headerTable: string; }; text: { primary: string; secondary: string; tertiary: string; muted: string; headerModule: string; headerTable: string; }; border: { primary: string; secondary: string; tertiary: string; current: string; active: string; }; action: { primary: string; secondary: string; tertiary: string; quaternary: string; }; status: { active: string; inactive: string; }; accentPrimary: string; } export declare const useTheme: () => { theme: ThemeColors; setTheme: (theme: ThemeColors) => void; }; export declare function ThemeProvider({ children }: { children: React.ReactNode; }): React.JSX.Element; export {};