@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
29 lines • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTextCountStyles = void 0;
const borders_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/borders");
const typography_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/typography");
const wireframe_1 = require("../../../../../designSystem/kubitWireframe/utils/wireframe");
const variants_1 = require("./variants");
const getTextCountStyles = (COLORS) => {
return {
[variants_1.TextCountVariantType.DEFAULT]: {
wrapper: {
width: 'fit-content',
height: 'auto',
...(0, wireframe_1.transformShadow)(borders_1.RADIUS.radius_100),
...(0, wireframe_1.shadowAfterStyles)(borders_1.RADIUS.radius_100, COLORS.ACCENT.color_accent_default_bg_100, '2px', '15%'),
},
letfText: {
font_weight: typography_1.FONT_WEIGHT.font_weight_500,
color: COLORS.NEUTRAL.color_neutral_font_50,
},
rightText: {
font_weight: typography_1.FONT_WEIGHT.font_weight_300,
color: COLORS.NEUTRAL.color_neutral_font_150,
},
},
};
};
exports.getTextCountStyles = getTextCountStyles;
//# sourceMappingURL=styles.js.map