@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
54 lines • 2.61 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHeaderStyles = void 0;
const borders_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/borders");
const spacings_1 = require("../../../../../designSystem/kubitWireframe/commons/foundations/spacings");
const wireframe_1 = require("../../../../../designSystem/kubitWireframe/utils/wireframe");
const breakpoints_1 = require("../../../../../types/breakpoints/breakpoints");
const variants_1 = require("./variants");
const getHeaderStyles = (COLORS) => {
return {
[variants_1.HeaderVariantType.DEFAULT]: {
container: {
border_radius: borders_1.RADIUS.radius_00,
background_color: COLORS.NEUTRAL.color_neutral_bg_250,
border: `${borders_1.BORDERS.border_50} solid ${COLORS.NEUTRAL.color_neutral_border_50}`,
...(0, wireframe_1.transformShadow)(borders_1.RADIUS.radius_00),
...(0, wireframe_1.shadowAfterStyles)(borders_1.RADIUS.radius_00, COLORS.BRAND.color_brand_bg_50, spacings_1.SPACINGS.spacing_50),
},
breadcrumbs: {
margin_top: spacings_1.SPACINGS.spacing_200,
},
content: {
gap: spacings_1.SPACINGS.spacing_200,
margin: `${spacings_1.SPACINGS.spacing_50} ${spacings_1.SPACINGS.spacing_0} ${spacings_1.SPACINGS.spacing_250} ${spacings_1.SPACINGS.spacing_0}`,
},
leftContent: {
gap: spacings_1.SPACINGS.spacing_50,
border_radius: borders_1.RADIUS.radius_00,
[breakpoints_1.DeviceBreakpointsType.MOBILE]: {
width: '100%',
max_width: '100%',
gap: spacings_1.SPACINGS.spacing_150,
},
[breakpoints_1.DeviceBreakpointsType.TABLET]: {
width: '100%',
max_width: '100%',
gap: spacings_1.SPACINGS.spacing_150,
},
},
rightContent: {
gap: spacings_1.SPACINGS.spacing_50,
border_radius: borders_1.RADIUS.radius_00,
[breakpoints_1.DeviceBreakpointsType.MOBILE]: {
gap: spacings_1.SPACINGS.spacing_150,
},
[breakpoints_1.DeviceBreakpointsType.TABLET]: {
gap: spacings_1.SPACINGS.spacing_150,
},
},
},
};
};
exports.getHeaderStyles = getHeaderStyles;
//# sourceMappingURL=styles.js.map