@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
65 lines • 2.66 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BADGE_STYLES = void 0;
const status_1 = require("../../../../components/badge/types/status");
const colors_1 = require("../../foundations/colors");
const sizes_1 = require("../../foundations/sizes");
const spacings_1 = require("../../foundations/spacings");
const typography_1 = require("../../foundations/typography");
const variants_1 = require("../text/variants");
const variants_2 = require("./variants");
exports.BADGE_STYLES = {
[variants_2.BadgeSize.DEFAULT]: {
icon: {
width: sizes_1.SIZES.size_250,
height: sizes_1.SIZES.size_250,
},
},
[variants_2.BadgeVariant.PRIMARY]: {
container: {
gap: spacings_1.SPACINGS.spacing_150,
},
label: {
font_variant: variants_1.TextVariantType.PARAGRAPH_CAPTION_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
},
labelIcon: {
width: sizes_1.SIZES.size_150,
height: sizes_1.SIZES.size_150,
},
[status_1.BadgeStatus.OPEN]: {
iconColor: colors_1.COLORS.BRAND.color_brand_icon_50,
labelFontColor: colors_1.COLORS.ACCENT.color_accent_default_font_100,
labelIconColor: colors_1.COLORS.BRAND.color_brand_icon_50,
},
[status_1.BadgeStatus.CLOSE]: {
iconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_50,
labelFontColor: colors_1.COLORS.NEUTRAL.color_neutral_font_50,
labelIconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_50,
},
},
[variants_2.BadgeVariant.ALTERNATIVE]: {
container: {
gap: spacings_1.SPACINGS.spacing_150,
},
label: {
font_variant: variants_1.TextVariantType.PARAGRAPH_CAPTION_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
},
labelIcon: {
width: sizes_1.SIZES.size_150,
height: sizes_1.SIZES.size_150,
},
[status_1.BadgeStatus.OPEN]: {
iconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_250,
labelFontColor: colors_1.COLORS.NEUTRAL.color_neutral_font_250,
labelIconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_250,
},
[status_1.BadgeStatus.CLOSE]: {
iconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_250,
labelFontColor: colors_1.COLORS.NEUTRAL.color_neutral_font_250,
labelIconColor: colors_1.COLORS.NEUTRAL.color_neutral_icon_250,
},
},
};
//# sourceMappingURL=styles.js.map