@lunalytics/ui
Version:
React based component library created to be used in Lunalytics
30 lines (29 loc) • 808 B
TypeScript
import { Breakpoints } from '../styles/breakpoints.types';
import { Color, ColorText } from '../styles/colors.types';
import { Font, FontSizes, FontWeights } from '../styles/font.types';
import { Radius } from '../styles/radius.types';
import { Transitions } from '../styles/transitions.types';
export interface GlobalProviderTheme {
breakpoint: Breakpoints;
text: ColorText;
blue: Color;
cyan: Color;
gray: Color;
green: Color;
orange: Color;
pink: Color;
purple: Color;
red: Color;
yellow: Color;
white: Color;
font: Font;
radius: Radius;
size: FontSizes;
weight: FontWeights;
family: string;
transition: Transitions;
}
export interface GlobalProviderProps {
children: React.ReactNode;
theme?: Partial<GlobalProviderTheme>;
}