import {
  colors
} from "./chunk-2VBDEO6M.js";
import {
  getTypographyString
} from "./chunk-E4EXM4SY.js";

// src/styles/fonts/typography/Title.tsx
import styled from "@emotion/styled";
import { jsx } from "@emotion/react/jsx-runtime";
var Title = ({
  children,
  color,
  size = "Medium" /* Medium */,
  block = false
}) => {
  return /* @__PURE__ */ jsx(StyledTitle, { size, color, block, children });
};
var StyledTitle = styled.span`
  ${({ block }) => block ? "display: block;" : ""}
  color: ${({ theme, color }) => `${color || theme.text || colors.black}`};
  ${({ theme, size }) => {
  return size ? getTypographyString(theme.typography[theme.app].Title[size]) : "";
}}
`;

export {
  Title,
  StyledTitle
};
