@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
111 lines • 4.57 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CARD_IMAGE_STYLES = void 0;
const breakpoints_1 = require("../../../../types/breakpoints/breakpoints");
const borders_1 = require("../../foundations/borders");
const colors_1 = require("../../foundations/colors");
const shadow_1 = require("../../foundations/shadow");
const spacings_1 = require("../../foundations/spacings");
const typography_1 = require("../../foundations/typography");
const variants_1 = require("../text/variants");
const variants_2 = require("./variants");
exports.CARD_IMAGE_STYLES = {
[variants_2.CardImageStateVariantType.DEFAULT]: {
container: {
border_radius: borders_1.RADIUS.radius_50,
background_color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
box_shadow: shadow_1.SHADOW.shadow_10,
},
imageContainer: {
min_height: '12rem',
max_height: '12rem',
height: '12rem',
border_top_left_radius: borders_1.RADIUS.radius_50,
border_top_right_radius: borders_1.RADIUS.radius_50,
},
content: {
height: '100%',
display: 'flex',
flex_direction: 'column',
justify_content: 'space-between',
padding: spacings_1.SPACINGS.spacing_150,
},
titleContainer: {
margin_bottom: spacings_1.SPACINGS.spacing_150,
},
title: {
font_weight: typography_1.FONT_WEIGHT.font_weight_600,
color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
[breakpoints_1.DeviceBreakpointsType.DESKTOP]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
[breakpoints_1.DeviceBreakpointsType.TABLET]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
[breakpoints_1.DeviceBreakpointsType.MOBILE]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
},
descriptionContainer: {
margin_bottom: spacings_1.SPACINGS.spacing_150,
},
description: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
text_align: typography_1.TEXT_ALIGN.left,
},
linkContainer: {
justify_content: typography_1.TEXT_ALIGN.left,
},
},
[variants_2.CardImageStateVariantType.ALTERNATIVE]: {
container: {
border_radius: borders_1.RADIUS.radius_50,
background_color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
},
imageContainer: {
min_height: '12rem',
max_height: '12rem',
height: '12rem',
border_top_left_radius: borders_1.RADIUS.radius_50,
border_top_right_radius: borders_1.RADIUS.radius_50,
},
content: {
height: '100%',
display: 'flex',
flex_direction: 'column',
justify_content: 'space-between',
padding: spacings_1.SPACINGS.spacing_150,
},
titleContainer: {
margin_bottom: spacings_1.SPACINGS.spacing_150,
},
title: {
font_weight: typography_1.FONT_WEIGHT.font_weight_600,
color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
[breakpoints_1.DeviceBreakpointsType.DESKTOP]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
[breakpoints_1.DeviceBreakpointsType.TABLET]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
[breakpoints_1.DeviceBreakpointsType.MOBILE]: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
},
},
descriptionContainer: {
margin_bottom: spacings_1.SPACINGS.spacing_150,
},
description: {
font_variant: variants_1.TextVariantType.PARAGRAPH_MEDIUM_EXPANDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
color: colors_1.COLORS.NEUTRAL.color_neutral_bg_100,
text_align: typography_1.TEXT_ALIGN.left,
},
linkContainer: {
justify_content: typography_1.TEXT_ALIGN.left,
},
},
};
//# sourceMappingURL=styles.js.map