"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../style/index.js"),a=require("../../utils/cssinjs/index.js"),i={apTextColonMarginInline:"2px 8px"},o=e=>{const{componentCls:n,textColor3:t}=e;return{[n]:{...l.resetComponent(e),display:"flex",alignItems:"baseline","&--vertical":{flexDirection:"column",alignItems:"flex-start",[`${n}__content`]:{maxWidth:"100%"}},[`${n}__label`]:{display:"inline-flex",alignItems:"baseline",color:t,"&::after":{content:'":"',position:"relative",top:"-0.5px",marginInline:e.apTextColonMarginInline},"&--no-colon":{"&::after":{content:'""'}}},[`${n}__content`]:{flex:1,minWidth:0,display:"flex",alignItems:"baseline","&-addon-after":{marginLeft:e.spaceXS,"&:has(span.anticon)":{lineHeight:1}}},"span.ant-typography":{color:e.textColor1},"span.ant-typography.ant-typography-secondary":{color:t},"a.ant-typography":{color:e.colorLink}}}},r=a.genComponentStyleHook("ap-text",e=>[o(e)],i);exports.default=r;exports.genApTextStyle=o;
