@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 • 12.8 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return _default}});var _styles=require("@mui/material/styles");var _polished=require("polished");var _theme=_interop_require_default(require("./theme"));function _interop_require_default(obj){return obj&&obj.__esModule?obj:{default:obj}}var _theme_colors_primary,_theme_colors,_theme_colors_primary1,_theme_colors1,_theme_colors_primary2,_theme_colors2,_theme_colors_tint,_theme_colors3,_theme_colors_secondary,_theme_colors4,_theme_colors_secondary1,_theme_colors5,_theme_colors_secondary2,_theme_colors6,_theme_colors_tint1,_theme_colors7,_theme_colors_error,_theme_colors8,_theme_colors_error1,_theme_colors9,_theme_colors_error2,_theme_colors10,_theme_colors_tint2,_theme_colors11,_theme_colors_tint3,_theme_colors12,_theme_colors_tint4,_theme_colors13,_theme_colors_tint5,_theme_colors14,_theme_colors_tint6,_theme_colors15,_theme_colors_tint7,_theme_colors16,_theme_colors_tint8,_theme_colors17,_theme_colors_tint9,_theme_colors18,_theme_colors_tint10,_theme_colors19,_theme_colors_tint11,_theme_colors20,_theme_colors_tint12,_theme_colors21,_theme_colors_tint13,_theme_colors22,_theme_colors_tint14,_theme_colors23,_theme_colors_tint15,_theme_colors24,_theme_colors_tint16,_theme_colors25,_theme_colors_tint17,_theme_colors26,_theme_colors_tint18,_theme_colors27,_theme_colors_tint19,_theme_colors28,_theme_colors_support,_theme_colors29;var _theme_colors_primary_main,_theme_colors_primary_main1,_theme_colors_primary_dark,_theme_colors_tint_level1,_theme_colors_secondary_main,_theme_colors_secondary_main1,_theme_colors_secondary_dark,_theme_colors_tint_level11,_theme_colors_error_main,_theme_colors_error_main1,_theme_colors_error_main2,_theme_colors_tint_level12,_theme_colors_tint_level2,_theme_colors_tint_level21,_theme_colors_tint_level22,_theme_colors_tint_level3,_theme_colors_tint_level4,_theme_colors_tint_level5,_theme_colors_tint_level6,_theme_colors_tint_level7,_theme_colors_tint_level71,_theme_colors_tint_level72,_theme_colors_tint_level23,_theme_colors_tint_level41,_theme_colors_tint_level61,_theme_colors_tint_level51,_theme_colors_tint_level73,_theme_colors_tint_level62,_theme_colors_tint_level52,_theme_colors_support_focus;var muiTheme=(0,_styles.createTheme)({typography:{fontFamily:_theme.default.typography.fontFamily},palette:{primary:{light:(0,_polished.lighten)(.7,(_theme_colors_primary_main=(_theme_colors=_theme.default.colors)===null||_theme_colors===void 0?void 0:(_theme_colors_primary=_theme_colors.primary)===null||_theme_colors_primary===void 0?void 0:_theme_colors_primary.main)!==null&&_theme_colors_primary_main!==void 0?_theme_colors_primary_main:"#7986cb"),main:(_theme_colors_primary_main1=(_theme_colors1=_theme.default.colors)===null||_theme_colors1===void 0?void 0:(_theme_colors_primary1=_theme_colors1.primary)===null||_theme_colors_primary1===void 0?void 0:_theme_colors_primary1.main)!==null&&_theme_colors_primary_main1!==void 0?_theme_colors_primary_main1:"#3f51b5",dark:(_theme_colors_primary_dark=(_theme_colors2=_theme.default.colors)===null||_theme_colors2===void 0?void 0:(_theme_colors_primary2=_theme_colors2.primary)===null||_theme_colors_primary2===void 0?void 0:_theme_colors_primary2.dark)!==null&&_theme_colors_primary_dark!==void 0?_theme_colors_primary_dark:"#303f9f",contrastText:(_theme_colors_tint_level1=(_theme_colors3=_theme.default.colors)===null||_theme_colors3===void 0?void 0:(_theme_colors_tint=_theme_colors3.tint)===null||_theme_colors_tint===void 0?void 0:_theme_colors_tint.level1)!==null&&_theme_colors_tint_level1!==void 0?_theme_colors_tint_level1:"#FFFFFF"},secondary:{light:(0,_polished.lighten)(.1,(_theme_colors_secondary_main=(_theme_colors4=_theme.default.colors)===null||_theme_colors4===void 0?void 0:(_theme_colors_secondary=_theme_colors4.secondary)===null||_theme_colors_secondary===void 0?void 0:_theme_colors_secondary.main)!==null&&_theme_colors_secondary_main!==void 0?_theme_colors_secondary_main:"#ff4081"),main:(_theme_colors_secondary_main1=(_theme_colors5=_theme.default.colors)===null||_theme_colors5===void 0?void 0:(_theme_colors_secondary1=_theme_colors5.secondary)===null||_theme_colors_secondary1===void 0?void 0:_theme_colors_secondary1.main)!==null&&_theme_colors_secondary_main1!==void 0?_theme_colors_secondary_main1:"#f50057",dark:(_theme_colors_secondary_dark=(_theme_colors6=_theme.default.colors)===null||_theme_colors6===void 0?void 0:(_theme_colors_secondary2=_theme_colors6.secondary)===null||_theme_colors_secondary2===void 0?void 0:_theme_colors_secondary2.dark)!==null&&_theme_colors_secondary_dark!==void 0?_theme_colors_secondary_dark:"#c51162",contrastText:(_theme_colors_tint_level11=(_theme_colors7=_theme.default.colors)===null||_theme_colors7===void 0?void 0:(_theme_colors_tint1=_theme_colors7.tint)===null||_theme_colors_tint1===void 0?void 0:_theme_colors_tint1.level1)!==null&&_theme_colors_tint_level11!==void 0?_theme_colors_tint_level11:"#FFFFFF"},error:{light:(0,_polished.lighten)(.1,(_theme_colors_error_main=(_theme_colors8=_theme.default.colors)===null||_theme_colors8===void 0?void 0:(_theme_colors_error=_theme_colors8.error)===null||_theme_colors_error===void 0?void 0:_theme_colors_error.main)!==null&&_theme_colors_error_main!==void 0?_theme_colors_error_main:"#e57373"),main:(_theme_colors_error_main1=(_theme_colors9=_theme.default.colors)===null||_theme_colors9===void 0?void 0:(_theme_colors_error1=_theme_colors9.error)===null||_theme_colors_error1===void 0?void 0:_theme_colors_error1.main)!==null&&_theme_colors_error_main1!==void 0?_theme_colors_error_main1:"#e57373",dark:(0,_polished.darken)(.1,(_theme_colors_error_main2=(_theme_colors10=_theme.default.colors)===null||_theme_colors10===void 0?void 0:(_theme_colors_error2=_theme_colors10.error)===null||_theme_colors_error2===void 0?void 0:_theme_colors_error2.main)!==null&&_theme_colors_error_main2!==void 0?_theme_colors_error_main2:"#e57373"),contrastText:(_theme_colors_tint_level12=(_theme_colors11=_theme.default.colors)===null||_theme_colors11===void 0?void 0:(_theme_colors_tint2=_theme_colors11.tint)===null||_theme_colors_tint2===void 0?void 0:_theme_colors_tint2.level1)!==null&&_theme_colors_tint_level12!==void 0?_theme_colors_tint_level12:"#FFFFFF"},warning:{light:(0,_polished.lighten)(.1,"#FF9100"),main:"#FF9100",dark:(0,_polished.darken)(.1,"#FF9100"),contrastText:"#000"},info:{light:(0,_polished.lighten)(.1,"#009DEC"),main:"#009DEC",dark:(0,_polished.darken)(.1,"#009DEC"),contrastText:"#FFF"},success:{light:(0,_polished.lighten)(.1,"#00A03C"),main:"#00A03C",dark:(0,_polished.darken)(.1,"#00A03C"),contrastText:"#FFF"},grey:{50:(0,_polished.lighten)(.2,(_theme_colors_tint_level2=(_theme_colors12=_theme.default.colors)===null||_theme_colors12===void 0?void 0:(_theme_colors_tint3=_theme_colors12.tint)===null||_theme_colors_tint3===void 0?void 0:_theme_colors_tint3.level2)!==null&&_theme_colors_tint_level2!==void 0?_theme_colors_tint_level2:"#eeeeee"),100:(0,_polished.lighten)(.1,(_theme_colors_tint_level21=(_theme_colors13=_theme.default.colors)===null||_theme_colors13===void 0?void 0:(_theme_colors_tint4=_theme_colors13.tint)===null||_theme_colors_tint4===void 0?void 0:_theme_colors_tint4.level2)!==null&&_theme_colors_tint_level21!==void 0?_theme_colors_tint_level21:"#eeeeee"),200:(_theme_colors_tint_level22=(_theme_colors14=_theme.default.colors)===null||_theme_colors14===void 0?void 0:(_theme_colors_tint5=_theme_colors14.tint)===null||_theme_colors_tint5===void 0?void 0:_theme_colors_tint5.level2)!==null&&_theme_colors_tint_level22!==void 0?_theme_colors_tint_level22:"#eeeeee",300:(_theme_colors_tint_level3=(_theme_colors15=_theme.default.colors)===null||_theme_colors15===void 0?void 0:(_theme_colors_tint6=_theme_colors15.tint)===null||_theme_colors_tint6===void 0?void 0:_theme_colors_tint6.level3)!==null&&_theme_colors_tint_level3!==void 0?_theme_colors_tint_level3:"#e0e0e0",400:(_theme_colors_tint_level4=(_theme_colors16=_theme.default.colors)===null||_theme_colors16===void 0?void 0:(_theme_colors_tint7=_theme_colors16.tint)===null||_theme_colors_tint7===void 0?void 0:_theme_colors_tint7.level4)!==null&&_theme_colors_tint_level4!==void 0?_theme_colors_tint_level4:"#bdbdbd",500:(_theme_colors_tint_level5=(_theme_colors17=_theme.default.colors)===null||_theme_colors17===void 0?void 0:(_theme_colors_tint8=_theme_colors17.tint)===null||_theme_colors_tint8===void 0?void 0:_theme_colors_tint8.level5)!==null&&_theme_colors_tint_level5!==void 0?_theme_colors_tint_level5:"#9e9e9e",600:(_theme_colors_tint_level6=(_theme_colors18=_theme.default.colors)===null||_theme_colors18===void 0?void 0:(_theme_colors_tint9=_theme_colors18.tint)===null||_theme_colors_tint9===void 0?void 0:_theme_colors_tint9.level6)!==null&&_theme_colors_tint_level6!==void 0?_theme_colors_tint_level6:"#757575",700:(_theme_colors_tint_level7=(_theme_colors19=_theme.default.colors)===null||_theme_colors19===void 0?void 0:(_theme_colors_tint10=_theme_colors19.tint)===null||_theme_colors_tint10===void 0?void 0:_theme_colors_tint10.level7)!==null&&_theme_colors_tint_level7!==void 0?_theme_colors_tint_level7:"#616161",800:(0,_polished.darken)(.1,(_theme_colors_tint_level71=(_theme_colors20=_theme.default.colors)===null||_theme_colors20===void 0?void 0:(_theme_colors_tint11=_theme_colors20.tint)===null||_theme_colors_tint11===void 0?void 0:_theme_colors_tint11.level7)!==null&&_theme_colors_tint_level71!==void 0?_theme_colors_tint_level71:"#616161"),900:(0,_polished.darken)(.2,(_theme_colors_tint_level72=(_theme_colors21=_theme.default.colors)===null||_theme_colors21===void 0?void 0:(_theme_colors_tint12=_theme_colors21.tint)===null||_theme_colors_tint12===void 0?void 0:_theme_colors_tint12.level7)!==null&&_theme_colors_tint_level72!==void 0?_theme_colors_tint_level72:"#616161"),A100:(_theme_colors_tint_level23=(_theme_colors22=_theme.default.colors)===null||_theme_colors22===void 0?void 0:(_theme_colors_tint13=_theme_colors22.tint)===null||_theme_colors_tint13===void 0?void 0:_theme_colors_tint13.level2)!==null&&_theme_colors_tint_level23!==void 0?_theme_colors_tint_level23:"#d5d5d5",A200:(_theme_colors_tint_level41=(_theme_colors23=_theme.default.colors)===null||_theme_colors23===void 0?void 0:(_theme_colors_tint14=_theme_colors23.tint)===null||_theme_colors_tint14===void 0?void 0:_theme_colors_tint14.level4)!==null&&_theme_colors_tint_level41!==void 0?_theme_colors_tint_level41:"#aaaaaa",A400:(_theme_colors_tint_level61=(_theme_colors24=_theme.default.colors)===null||_theme_colors24===void 0?void 0:(_theme_colors_tint15=_theme_colors24.tint)===null||_theme_colors_tint15===void 0?void 0:_theme_colors_tint15.level6)!==null&&_theme_colors_tint_level61!==void 0?_theme_colors_tint_level61:"#303030",A700:(_theme_colors_tint_level51=(_theme_colors25=_theme.default.colors)===null||_theme_colors25===void 0?void 0:(_theme_colors_tint16=_theme_colors25.tint)===null||_theme_colors_tint16===void 0?void 0:_theme_colors_tint16.level5)!==null&&_theme_colors_tint_level51!==void 0?_theme_colors_tint_level51:"#616161"},text:{primary:(_theme_colors_tint_level73=(_theme_colors26=_theme.default.colors)===null||_theme_colors26===void 0?void 0:(_theme_colors_tint17=_theme_colors26.tint)===null||_theme_colors_tint17===void 0?void 0:_theme_colors_tint17.level7)!==null&&_theme_colors_tint_level73!==void 0?_theme_colors_tint_level73:"rgba(0, 0, 0, 0.87)",secondary:(_theme_colors_tint_level62=(_theme_colors27=_theme.default.colors)===null||_theme_colors27===void 0?void 0:(_theme_colors_tint18=_theme_colors27.tint)===null||_theme_colors_tint18===void 0?void 0:_theme_colors_tint18.level6)!==null&&_theme_colors_tint_level62!==void 0?_theme_colors_tint_level62:"rgba(0, 0, 0, 0.54)",disabled:(_theme_colors_tint_level52=(_theme_colors28=_theme.default.colors)===null||_theme_colors28===void 0?void 0:(_theme_colors_tint19=_theme_colors28.tint)===null||_theme_colors_tint19===void 0?void 0:_theme_colors_tint19.level5)!==null&&_theme_colors_tint_level52!==void 0?_theme_colors_tint_level52:"rgba(0, 0, 0, 0.38)"},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:(_theme_colors_support_focus=(_theme_colors29=_theme.default.colors)===null||_theme_colors29===void 0?void 0:(_theme_colors_support=_theme_colors29.support)===null||_theme_colors_support===void 0?void 0:_theme_colors_support.focus)!==null&&_theme_colors_support_focus!==void 0?_theme_colors_support_focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}});var _default=muiTheme;
//# sourceMappingURL=material-ui-theme.js.map