import { a } from './chunk-TWGPE4V7.js';
import { token } from '@onbeam/styled-system/tokens';
import { css, cx } from '@onbeam/styled-system/css';
import { jsx } from 'react/jsx-runtime';

var n={xs:css({textStyle:"xs"}),sm:css({textStyle:"sm"}),base:css({textStyle:"base"}),md:css({textStyle:"md"}),xl:css({textStyle:"xl"}),caption:css({textStyle:"caption"}),header:css({textStyle:"header"}),marquee:css({textStyle:"marquee"}),code:css({textStyle:"code"})},x=a(({as:s="p",color:t,className:p,textStyle:o,...l},y)=>jsx(s,{ref:y,className:cx(o&&n[o],p),style:t?{color:token.var(`colors.${t}`,String(t).slice(1,-1))}:void 0,...l}));x.displayName="Text";

export { x as a };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-J3S4LTJO.js.map