@razorpay/blade
Version:
The Design System that powers Razorpay
5 lines (3 loc) • 852 B
JavaScript
var getPopupShadows=function getPopupShadows(theme,colorScheme){var boxShadow={light:{elevation:`${theme.elevation.midRaised}`,border:`inset 0px 0px 0px 1px ${theme.colors.popup.border.gray.subtle}`,top:`inset 0px 0px 0px 0px ${theme.colors.popup.border.gray.moderate}`},dark:{elevation:`${theme.elevation.midRaised}`,border:`inset 0px 0px 0px 1px ${theme.colors.popup.border.gray.subtle}`,top:`inset 0px 1px 0px 0px ${theme.colors.popup.border.gray.moderate}`}};return boxShadow[colorScheme];};var getPopupBoxShadowString=function getPopupBoxShadowString(theme,colorScheme){var _getPopupShadows=getPopupShadows(theme,colorScheme),border=_getPopupShadows.border,elevation=_getPopupShadows.elevation,top=_getPopupShadows.top;return `${border}, ${elevation}, ${top}`;};
export { getPopupBoxShadowString };
//# sourceMappingURL=makePopupBoxShadow.js.map