@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
32 lines • 1.15 kB
JavaScript
import { COLORS } from '../../foundations/colors';
import { SPACINGS } from '../../foundations/spacings';
import { FONT_WEIGHT } from '../../foundations/typography';
import { TextVariantType } from '../text/variants';
import { ToggleWithLabelVariantType } from './variants';
export const TOGGLE_WITH_LABEL_STYLES = {
[ToggleWithLabelVariantType.DEFAULT]: {
container: {
display: 'flex',
width: 'fit-content',
margin_top: SPACINGS.spacing_200,
margin_bottom: SPACINGS.spacing_200,
align_items: 'center',
gap: SPACINGS.spacing_200,
text_align: 'center',
},
legendContainer: {
margin_bottom: SPACINGS.spacing_200,
cursor: 'pointer',
},
rowLegendContainer: {
display: 'contents',
margin_bottom: SPACINGS.spacing_0,
},
legend: {
font_variant: TextVariantType.PARAGRAPH_CAPTION_EXPANDED,
color: COLORS.NEUTRAL.color_neutral_bg_100,
font_weight: FONT_WEIGHT.font_weight_400,
},
},
};
//# sourceMappingURL=styles.js.map