UNPKG

@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

51 lines 1.7 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EMPTY_STATE_STYLES = void 0; const colors_1 = require("../../foundations/colors"); const spacings_1 = require("../../foundations/spacings"); const typography_1 = require("../../foundations/typography"); // types const variants_1 = require("../text/variants"); const variants_2 = require("../variants"); const variants_3 = require("./variants"); const commonProps = { titleContainer: { margin_top: spacings_1.SPACINGS.spacing_400, margin_bottom: spacings_1.SPACINGS.spacing_150, text_align: typography_1.TEXT_ALIGN.center, }, title: { font_variant: variants_1.TextVariantType.HEADING_H4_EXPANDED, color: colors_1.COLORS.NEUTRAL.color_neutral_font_50, font_weight: typography_1.FONT_WEIGHT.font_weight_500, }, subtitle: { color: colors_1.COLORS.NEUTRAL.color_neutral_font_150, font_variant: variants_1.TextVariantType.PARAGRAPH_SMALL_EXPANDED, font_weight: typography_1.FONT_WEIGHT.font_weight_400, text_align: typography_1.TEXT_ALIGN.center, }, icon: { width: '4rem', height: '4rem', }, illustration: { width: '4rem', height: '4rem', }, buttonLinkContainer: { gap: spacings_1.SPACINGS.spacing_400, }, buttonContainer: { margin_top: spacings_1.SPACINGS.spacing_400, }, buttonSize: variants_2.ButtonSizeType.LARGE, }; exports.EMPTY_STATE_STYLES = { [variants_3.EmptyStateVariantType.DEFAULT]: { [variants_3.EmptyStateStateType.DEFAULT]: { ...commonProps, }, }, }; //# sourceMappingURL=styles.js.map