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

34 lines 1.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDotStyles = void 0; const borders_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/borders"); const spacings_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/spacings"); const wireframe_1 = require("../../../utils/wireframe"); const variants_1 = require("./variants"); const getDotStyles = (COLORS) => { return { [variants_1.DotVariantType.WITH_BORDER]: { container: { justify_content: 'center', align_items: 'center', display: 'inline-flex', background_color: COLORS.NEUTRAL.color_neutral_border_200, border_color: COLORS.NEUTRAL.color_neutral_border_50, border_style: 'solid', border_width: borders_1.BORDERS.border_50, ...(0, wireframe_1.transformShadow)(borders_1.RADIUS.radius_300), ...(0, wireframe_1.shadowAfterStylesSpecificProps)(borders_1.RADIUS.radius_300, COLORS.BRAND.color_brand_bg_50, '2px', spacings_1.SPACINGS.spacing_200, spacings_1.SPACINGS.spacing_200), }, }, [variants_1.DotSizeType.SMALL]: { container: { border_radius: borders_1.RADIUS.radius_300, border_width: borders_1.BORDERS.border_100, height: spacings_1.SPACINGS.spacing_200, width: spacings_1.SPACINGS.spacing_200, }, }, }; }; exports.getDotStyles = getDotStyles; //# sourceMappingURL=styles.js.map