"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.typography=exports.getTypographyCssRulesByComponentName=void 0;const styled_components_1=require("styled-components"),typographyProperties=Object.entries({fontSize:"font-size",fontWeight:"font-weight",fontFamily:"font-family",lineHeight:"line-height",color:"text-color",textTransform:"text-transform"});function getTypographyCssRulesByComponentName(e,t){const o={};for(const[s,r]of typographyProperties){const n=`--${e}-${r}`,p=t?`,var(--${t}-${r})`:"";o[s]=`var(${n}${p})`}return o}function typography(e,t){return styled_components_1.css`
    ${getTypographyCssRulesByComponentName(e,t)}
  `}exports.getTypographyCssRulesByComponentName=getTypographyCssRulesByComponentName,exports.typography=typography;
//# sourceMappingURL=theme-helpers.js.map