import {
  getFontColor
} from "./chunk-VAH342U2.js";
import {
  getTypographyString
} from "./chunk-KCUSJWDZ.js";

// src/styles/typography.tsx
var applyTypography = (theme, typographyType, size, color = "inherit", applyToAll = true) => {
  const selector = applyToAll ? "&, & *" : "&";
  return `
    ${selector} {
      ${getTypographyString(theme, typographyType, size)};
      color: ${getFontColor(theme, color)};
    }
  `;
};

export {
  applyTypography
};
