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

51 lines 1.71 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TOPBAR_STYLES = void 0; const breakpoints_1 = require("../../../../types/breakpoints/breakpoints"); const borders_1 = require("../../foundations/borders"); const colors_1 = require("../../foundations/colors"); const spacings_1 = require("../../foundations/spacings"); const variants_1 = require("./variants"); const commonProps = { container: { background_color: colors_1.COLORS.SECONDARY.color_secondary_bg_50, border_radius: borders_1.RADIUS.radius_00, }, breadcrumbs: { margin_top: spacings_1.SPACINGS.spacing_700, }, content: { gap: spacings_1.SPACINGS.spacing_0, }, leftContent: { gap: spacings_1.SPACINGS.spacing_50, [breakpoints_1.DeviceBreakpointsType.MOBILE]: { gap: spacings_1.SPACINGS.spacing_300, }, [breakpoints_1.DeviceBreakpointsType.TABLET]: { gap: spacings_1.SPACINGS.spacing_300, }, }, rightContent: { gap: spacings_1.SPACINGS.spacing_50, [breakpoints_1.DeviceBreakpointsType.MOBILE]: { gap: spacings_1.SPACINGS.spacing_300, }, [breakpoints_1.DeviceBreakpointsType.TABLET]: { gap: spacings_1.SPACINGS.spacing_300, }, }, }; exports.TOPBAR_STYLES = { [variants_1.TopbarVariantType.DEFAULT]: { ...commonProps, }, [variants_1.TopbarVariantType.SECONDARY]: { ...commonProps, container: { background_color: colors_1.COLORS.NEUTRAL.color_neutral_bg_250, border_radius: borders_1.RADIUS.radius_00, }, }, }; //# sourceMappingURL=styles.js.map