UNPKG

@rn-vui/themed

Version:
16 lines (15 loc) 484 B
import { Colors } from './colors'; import { ComponentTheme } from './theme.component'; import { ThemeSpacing, defaultSpacing } from '@rn-vui/base/dist/helpers'; export type RecursivePartial<T> = { [P in keyof T]?: RecursivePartial<T[P]>; }; export type ThemeMode = 'light' | 'dark'; export { ThemeSpacing, defaultSpacing }; export interface Theme { mode: ThemeMode; spacing: ThemeSpacing; } export interface FullTheme extends ComponentTheme, Theme { colors: Colors; }