@hypernetlabs/web-ui
Version:
Web ui react components for hypernet protocol
87 lines • 2.23 kB
TypeScript
import { Palette } from "@hypernetlabs/objects";
import { Theme, ThemeProvider as MuiThemeProvider } from "@material-ui/core";
export declare const colors: {
WHITE: string;
BLACK: string;
STATUS_GREEN: string;
STATUS_RED: string;
STATUS_BLUE: string;
BACKGROUND_GREY: string;
MAIN_TEXT_BLACK: string;
BOX_BORDER_COLOR: string;
STATUS_GREY: string;
GRAY0: string;
GRAY100: string;
GRAY150: string;
GRAY200: string;
GRAY300: string;
GRAY400: string;
GRAY500: string;
GRAY600: string;
GRAY700: string;
PURPLE100: string;
PURPLE200: string;
PURPLE300: string;
PURPLE400: string;
PURPLE700: string;
GREEN100: string;
GREEN200: string;
GREEN500: string;
GREEN700: string;
BLUE100: string;
BLUE200: string;
BLUE300: string;
BLUE400: string;
BLUE700: string;
RED100: string;
RED200: string;
RED400: string;
RED700: string;
ORANGE100: string;
ORANGE200: string;
ORANGE400: string;
ORANGE700: string;
};
export declare enum EStatusColor {
IDLE = "IDLE",
SUCCESS = "SUCCESS",
DANGER = "DANGER",
PRIMARY = "PRIMARY"
}
export declare enum EButtonStatus {
primary = 0,
secondary = 1,
link = 2
}
export declare enum EFontWeight {
LIGHT = 300,
REGULAR = 400,
MEDIUM = 500,
SEMI_BOLD = 600,
BOLD = 700
}
export declare enum EFontSize {
BASE = "1rem",
H1 = "1.476rem",
H2 = "1.383rem",
H3 = "1.296rem",
H4 = "1.215rem",
H5 = "1.138rem",
H6 = "1.067rem",
SUBTITLE1 = "1rem",
SUBTITLE2 = ".878rem",
BODY1 = ".878rem",
BODY2 = ".823rem",
BUTTON_LARGE = "1rem",
BUTTON_MEDIUM = ".878rem",
BUTTON_SMALL = ".772rem",
LABEL_LARGE = ".878rem",
LABEL_SMALL = ".772rem"
}
export declare const getColorFromStatus: (status: EStatusColor) => string;
export declare const bodyFontFamily = "\"Inter\", sans-serif";
export declare const lightTheme: Theme;
export declare const darkTheme: Theme;
export declare const injectCustomPaletteToTheme: (theme: Theme, customPalette: Palette) => Theme;
export declare const ThemeProvider: typeof MuiThemeProvider;
//# sourceMappingURL=theme.d.ts.map