UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

17 lines 645 B
import { tokens } from './tokens'; export type ThemeMode = "light" | "dark"; export interface Theme { colors: typeof tokens.colors.light; spacing: typeof tokens.spacing; fontSizes: typeof tokens.fontSizes; fontWeights: typeof tokens.fontWeights; lineHeights: typeof tokens.lineHeights; borderRadius: typeof tokens.borderRadius; shadows: typeof tokens.shadows; transitions: typeof tokens.transitions; zIndex: typeof tokens.zIndex; } export declare const createTheme: (mode?: ThemeMode) => Theme; export declare const lightTheme: Theme; export declare const darkTheme: Theme; //# sourceMappingURL=theme.d.ts.map