@amsterdam/bmi-component-library
Version:
A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects
2 lines • 3.27 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:true});function _export(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:true,get:all[name]})}_export(exports,{DescriptionStyle:function(){return DescriptionStyle},DescriptionHeadingStyle:function(){return DescriptionHeadingStyle},DescriptionListStyle:function(){return DescriptionListStyle},DescriptionListItemStyle:function(){return DescriptionListItemStyle},DescriptionListTitleStyle:function(){return DescriptionListTitleStyle},DescriptionListValueStyle:function(){return DescriptionListValueStyle},DescriptionFooterStyle:function(){return DescriptionFooterStyle}});var _styledcomponents=_interop_require_default(require("styled-components"));var _ascui=require("@amsterdam/asc-ui");function _interop_require_default(obj){return obj&&obj.__esModule?obj:{default:obj}}function _tagged_template_literal(strings,raw){if(!raw){raw=strings.slice(0)}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}function _templateObject(){var data=_tagged_template_literal(["\n display: flex;\n flex-direction: column;\n background-color: ",";\n padding: 0 ",";\n margin: "," 0;\n width: 100%;\n"]);_templateObject=function _templateObject(){return data};return data}function _templateObject1(){var data=_tagged_template_literal(["\n margin-bottom: 0;\n"]);_templateObject1=function _templateObject(){return data};return data}function _templateObject2(){var data=_tagged_template_literal(["\n margin: "," 0;\n"]);_templateObject2=function _templateObject(){return data};return data}function _templateObject3(){var data=_tagged_template_literal(["\n &:not(:last-child) {\n margin-bottom: ",";\n }\n"]);_templateObject3=function _templateObject(){return data};return data}function _templateObject4(){var data=_tagged_template_literal(["\n margin-bottom: ",";\n font-weight: 400;\n font-size: 16px;\n line-height: 18px;\n color: ",";\n"]);_templateObject4=function _templateObject(){return data};return data}function _templateObject5(){var data=_tagged_template_literal(["\n margin: 0;\n font-weight: 700;\n font-size: 16px;\n line-height: 18px;\n color: ",";\n"]);_templateObject5=function _templateObject(){return data};return data}function _templateObject6(){var data=_tagged_template_literal(["\n margin: 0 0 "," 0;\n"]);_templateObject6=function _templateObject(){return data};return data}var DescriptionStyle=_styledcomponents.default.div(_templateObject(),(0,_ascui.themeColor)("tint","level2"),(0,_ascui.themeSpacing)(4),(0,_ascui.themeSpacing)(2));var DescriptionHeadingStyle=_styledcomponents.default.h2(_templateObject1());var DescriptionListStyle=_styledcomponents.default.dl(_templateObject2(),(0,_ascui.themeSpacing)(4));var DescriptionListItemStyle=_styledcomponents.default.div(_templateObject3(),(0,_ascui.themeSpacing)(4));var DescriptionListTitleStyle=_styledcomponents.default.dt(_templateObject4(),(0,_ascui.themeSpacing)(2),(0,_ascui.themeColor)("tint","level7"));var DescriptionListValueStyle=_styledcomponents.default.dd(_templateObject5(),(0,_ascui.themeColor)("tint","level7"));var DescriptionFooterStyle=_styledcomponents.default.div(_templateObject6(),(0,_ascui.themeSpacing)(4));
//# sourceMappingURL=DescriptionListStyle.js.map