@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
25 lines • 1.12 kB
JavaScript
import { RADIUS } from '../../../../../designSystem/kubitWireframe/commons/foundations/borders';
import { FONT_WEIGHT } from '../../../../../designSystem/kubitWireframe/commons/foundations/typography';
import { shadowAfterStyles, transformShadow } from '../../../../../designSystem/kubitWireframe/utils/wireframe';
import { TextCountVariantType } from './variants';
export const getTextCountStyles = (COLORS) => {
return {
[TextCountVariantType.DEFAULT]: {
wrapper: {
width: 'fit-content',
height: 'auto',
...transformShadow(RADIUS.radius_100),
...shadowAfterStyles(RADIUS.radius_100, COLORS.ACCENT.color_accent_default_bg_100, '2px', '15%'),
},
letfText: {
font_weight: FONT_WEIGHT.font_weight_500,
color: COLORS.NEUTRAL.color_neutral_font_50,
},
rightText: {
font_weight: FONT_WEIGHT.font_weight_300,
color: COLORS.NEUTRAL.color_neutral_font_150,
},
},
};
};
//# sourceMappingURL=styles.js.map