@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
53 lines • 2.06 kB
JavaScript
import { InputState } from '../../../../../components/input/types/inputTheme';
import { SPACINGS } from '../../../../../designSystem/kubitWireframe/commons/foundations/spacings';
import { FONT_WEIGHT } from '../../../../../designSystem/kubitWireframe/commons/foundations/typography';
import { TextVariantType } from '../../../../kubit/components/text/variants';
import { TextCountVariantType } from '../textCount/variants';
import { InputCounterVariant } from './variants';
const commonProps = COLORS => ({
inputVariant: InputCounterVariant.DEFAULT,
textCountVariant: TextCountVariantType.DEFAULT,
textCountTextVariant: TextVariantType.PARAGRAPH_SMALL_EXTENDED,
textCountLeftWeight: FONT_WEIGHT.font_weight_500,
textCountLeftColor: COLORS.FEEDBACK.color_feedbackSuccess_font_50,
textCountRightWeight: FONT_WEIGHT.font_weight_300,
textCountRightColor: COLORS.NEUTRAL.color_neutral_font_100,
textCounterContainer: {
margin_right: SPACINGS.spacing_0,
margin_top: SPACINGS.spacing_150,
},
});
export const getInputCounterStyles = (COLORS) => {
return {
[]: {
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
[]: {
...commonProps(COLORS),
},
},
};
};
//# sourceMappingURL=styles.js.map