@enclavemoney/enclave-wallet-playground
Version:
A simple playground for enclave wallet SDK
39 lines (38 loc) • 919 B
TypeScript
export interface Theme {
background: string;
surface: string;
surfaceHover: string;
surfaceActive: string;
border: string;
text: string;
textSecondary: string;
primary: string;
primaryHover: string;
accent: string;
successBg: string;
successText: string;
errorBg: string;
errorText: string;
warningBg: string;
warningText: string;
}
export declare const themeStyles: {
dark: Theme;
light: Theme;
};
export type ThemeMode = "light" | "dark";
export type CornerRadius = "small" | "medium" | "large";
export interface BorderRadiusConfig {
innerRadius: number;
outerRadius: number;
level3Radius: number;
}
export declare const borderRadiusStyles: {
small: BorderRadiusConfig;
medium: BorderRadiusConfig;
large: BorderRadiusConfig;
};
export interface WalletSDKConfig {
theme?: ThemeMode;
cornerRadius?: CornerRadius;
}