@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
48 lines • 1.47 kB
JavaScript
import { COLORS } from '../../foundations/colors';
import { SPACINGS } from '../../foundations/spacings';
import { FONT_WEIGHT, TEXT_ALIGN } from '../../foundations/typography';
// types
import { TextVariantType } from '../text/variants';
import { ButtonSizeType } from '../variants';
import { EmptyStateStateType, EmptyStateVariantType } from './variants';
const commonProps = {
titleContainer: {
margin_top: SPACINGS.spacing_400,
margin_bottom: SPACINGS.spacing_150,
text_align: TEXT_ALIGN.center,
},
title: {
font_variant: TextVariantType.HEADING_H4_EXPANDED,
color: COLORS.NEUTRAL.color_neutral_font_50,
font_weight: FONT_WEIGHT.font_weight_500,
},
subtitle: {
color: COLORS.NEUTRAL.color_neutral_font_150,
font_variant: TextVariantType.PARAGRAPH_SMALL_EXPANDED,
font_weight: FONT_WEIGHT.font_weight_400,
text_align: TEXT_ALIGN.center,
},
icon: {
width: '4rem',
height: '4rem',
},
illustration: {
width: '4rem',
height: '4rem',
},
buttonLinkContainer: {
gap: SPACINGS.spacing_400,
},
buttonContainer: {
margin_top: SPACINGS.spacing_400,
},
buttonSize: ButtonSizeType.LARGE,
};
export const EMPTY_STATE_STYLES = {
[EmptyStateVariantType.DEFAULT]: {
[EmptyStateStateType.DEFAULT]: {
...commonProps,
},
},
};
//# sourceMappingURL=styles.js.map