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

39 lines 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getPillSelectorStyles = 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 getPillSelectorStyles = (COLORS) => { return { [variants_1.PillSelectorVariant.DEFAULT]: { container: { display: 'flex', flex_direction: 'row', max_width: 'fit-content', border_style: 'solid', border_color: COLORS.NEUTRAL.color_neutral_border_100, border_width: borders_1.BORDERS.border_50, ...(0, wireframe_1.transformShadow)(borders_1.RADIUS.radius_300), ...(0, wireframe_1.shadowAfterStyles)(borders_1.RADIUS.radius_300, COLORS.BRAND.color_brand_bg_50, spacings_1.SPACINGS.spacing_50), }, pill: { border_left: borders_1.BORDERS.border_00, border_right: borders_1.BORDERS.border_00, }, firstPill: { border_right: borders_1.BORDERS.border_00, border_top_left_radius: borders_1.RADIUS.radius_300, border_bottom_left_radius: borders_1.RADIUS.radius_300, }, lastPill: { border_left: borders_1.BORDERS.border_00, border_top_right_radius: borders_1.RADIUS.radius_300, border_bottom_right_radius: borders_1.RADIUS.radius_300, }, }, }; }; exports.getPillSelectorStyles = getPillSelectorStyles; //# sourceMappingURL=styles.js.map