@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
44 lines (41 loc) • 1.13 kB
TypeScript
/**
Copyright (c) 2020-present, Eaton
All rights reserved.
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
**/
import { BLUIColor } from '@brightlayer-ui/types';
import { SimplePaletteColorOptions } from '@mui/material';
export declare const typography: {
fontFamily: string;
fontWeightMedium: number;
h6: {
fontWeight: number;
};
subtitle1: {
fontWeight: number;
};
subtitle2: {
fontWeight: number;
};
body1: {
lineHeight: string;
};
body2: {
lineHeight: string;
};
button: {
fontWeight: number;
lineHeight: string;
};
overline: {
letterSpacing: string;
fontSize: string;
fontWeight: number;
lineHeight: string;
};
caption: {
lineHeight: string;
};
};
export declare const createSimpleLightPalette: (color: BLUIColor) => SimplePaletteColorOptions;
export declare const createSimpleDarkPalette: (color: BLUIColor) => SimplePaletteColorOptions;