@aplus-frontend/ui
Version:
2 lines (1 loc) • 987 B
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../../utils/cssinjs/index.js"),n=e=>{const{componentCls:o,apLabelColorCustomGreen:l,apLabelColorCustomBlue:r,apLabelColorCustomRed:t}=e;return{[o]:{display:"flex",flexDirection:"column",alignItems:"start",fontSize:e.fontSizeLG,[`${o}__content`]:{display:"flex",flexDirection:"row",alignItems:"center",".user-frontend-icon":{display:"flex",alignItems:"center"}},[`${o}__custom`]:{marginBlockStart:e.spaceXXS,width:"100%",".ant-tag":{lineHeight:e.lineHeightLG},".ant-tag-green":{color:l,borderColor:l,background:e.calc(l).colorMix(6)},".ant-tag-red":{color:t,borderColor:t,backgroundColor:e.calc(t).colorMix(6)},".ant-tag-blue":{color:r,borderColor:r,backgroundColor:e.calc(r).colorMix(6)}}}}},c=a.genComponentStyleHook("ApLabel",e=>[n(e)],{apLabelColorCustomGreen:"#34b77c",apLabelColorCustomRed:"#FF4D4F",apLabelColorCustomBlue:"#1890ff"});exports.default=c;