UNPKG

@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

95 lines 3.7 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BADGE_STYLES_V2 = void 0; const state_1 = require("../../../../components/badgeV2/types/state"); 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_V2 = { [variants_2.BadgeSizeV2.DEFAULT]: { icon: { width: sizes_1.SIZES.size_250, height: sizes_1.SIZES.size_250, }, }, [variants_2.BadgeVariantV2.PRIMARY]: { [state_1.BadgeState.ACTIVE]: { 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, color: colors_1.COLORS.ACCENT.color_accent_default_font_100, }, labelIcon: { width: sizes_1.SIZES.size_150, height: sizes_1.SIZES.size_150, color: colors_1.COLORS.BRAND.color_brand_icon_50, }, icon: { color: colors_1.COLORS.BRAND.color_brand_icon_50, }, }, [state_1.BadgeState.DEFAULT]: { 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, color: colors_1.COLORS.NEUTRAL.color_neutral_font_50, }, labelIcon: { width: sizes_1.SIZES.size_150, height: sizes_1.SIZES.size_150, color: colors_1.COLORS.NEUTRAL.color_neutral_icon_50, }, icon: { color: colors_1.COLORS.NEUTRAL.color_neutral_icon_50, }, }, }, [variants_2.BadgeVariantV2.ALTERNATIVE]: { [state_1.BadgeState.ACTIVE]: { 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, color: colors_1.COLORS.NEUTRAL.color_neutral_font_250, }, labelIcon: { width: sizes_1.SIZES.size_150, height: sizes_1.SIZES.size_150, color: colors_1.COLORS.NEUTRAL.color_neutral_icon_250, }, icon: { color: colors_1.COLORS.NEUTRAL.color_neutral_icon_250, }, }, [state_1.BadgeState.DEFAULT]: { 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, color: colors_1.COLORS.NEUTRAL.color_neutral_font_250, }, labelIcon: { width: sizes_1.SIZES.size_150, height: sizes_1.SIZES.size_150, color: colors_1.COLORS.NEUTRAL.color_neutral_icon_250, }, icon: { color: colors_1.COLORS.NEUTRAL.color_neutral_icon_250, }, }, }, }; //# sourceMappingURL=styles.js.map