goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
57 lines • 1.71 kB
TypeScript
import { default as React } from 'react';
export interface PaperTheme {
container: {
background: string;
border: string;
borderRadius: string;
boxShadow: string;
backdropFilter: string;
padding?: string;
backgroundImage?: string;
position: React.CSSProperties['position'];
overflow: React.CSSProperties['overflow'];
transition?: string;
};
containerHover?: {
transform?: string;
boxShadow?: string;
borderColor?: string;
};
}
export interface PaperStyles {
theme?: 'light' | 'dark' | 'sacred';
backgroundColor?: string;
borderColor?: string;
borderRadius?: string;
borderWidth?: string;
boxShadow?: string;
backdropFilter?: string;
backgroundImage?: string;
padding?: string;
margin?: string;
marginTop?: string;
marginBottom?: string;
marginLeft?: string;
marginRight?: string;
width?: string;
height?: string;
minWidth?: string;
minHeight?: string;
maxWidth?: string;
maxHeight?: string;
hoverTransform?: string;
hoverBoxShadow?: string;
hoverBorderColor?: string;
}
export declare const paperThemes: {
readonly light: PaperTheme;
readonly dark: PaperTheme;
readonly sacred: PaperTheme;
};
export declare function getPaperTheme(theme?: 'light' | 'dark' | 'sacred'): PaperTheme;
export declare function getPaperStyles(customStyles?: PaperStyles, elevation?: number): {
container: React.CSSProperties;
};
export declare function getPaperHoverStyles(customStyles?: PaperStyles): React.CSSProperties | undefined;
export default getPaperStyles;
//# sourceMappingURL=paper.d.ts.map