UNPKG

@kirz/react-native-toolkit

Version:

Toolkit to speed up React Native development

32 lines (28 loc) 799 B
import type { ThemeColor } from './index'; export type Theme = { typography: TextVariants; fonts: FontFamilies; colors: Colors; gradients: Gradients; values: Values; alerts: Alerts; }; export interface TextVariants {} export interface FontFamilies {} export interface Colors { text: ThemeColor; background: ThemeColor; skeleton?: ThemeColor | { color: ThemeColor; transform: number }; } export interface Gradients {} export interface Values { skeletonColorTransform?: number; skeletonAnimationInterval?: number; } export interface Alerts {} export type TextVariant = keyof TextVariants; export type FontFamily = keyof FontFamilies; export type Color = keyof Colors; export type Gradient = keyof Gradients; export type Value = keyof Values; export type Alert = keyof Alerts;