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

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

export {
  Label,
  StyledLabel
};
