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

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

export {
  Overline,
  StyledOverline
};
