import { getTypographyString } from "./tokens/typography.js";
import { getFontColor } from "./themes.js";
//#region src/styles/typography.tsx
const applyTypography = (theme, typographyType, size, color = "inherit", applyToAll = true) => {
	return `
    ${applyToAll ? "&, & *" : "&"} {
      ${getTypographyString(theme, typographyType, size)};
      color: ${getFontColor(theme, color)};
    }
  `;
};
//#endregion
export { applyTypography };
