design-system-simplefi
Version:
Design System for SimpleFi Applications
33 lines (32 loc) • 792 B
TypeScript
export interface SolidButtonColors {
color: string;
bgColor: string;
hoverBgColor: string;
activeBgColor: string;
disabledBgColor: string;
}
export interface OutlineButtonColors {
color: string;
bgColor: string;
hoverBgColor: string;
activeBgColor: string;
borderColor: string;
disabledColor: string;
disabledBgColor: string;
}
export interface TextButtonColors {
color: string;
hoverColor: string;
activeColor: string;
disabledColor: string;
}
export interface ButtonColors<T> {
primary: T;
secondary?: T;
danger?: T;
}
export interface Buttons {
solid: ButtonColors<SolidButtonColors>;
outline: ButtonColors<OutlineButtonColors>;
text: ButtonColors<TextButtonColors>;
}