import{generate as a}from"@ant-design/colors";import{getSolidColor as t,getAlphaColor as e}from"./colorAlgorithm.mjs";const i=c=>{const o=a(c);return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},s=(c,o)=>{const l=c||"#fff",r=o||"#000";return{colorBgBase:l,colorTextBase:r,colorText:e(r,.88),colorTextSecondary:e(r,.65),colorTextTertiary:e(r,.45),colorTextQuaternary:e(r,.25),colorFill:e(r,.15),colorFillSecondary:e(r,.06),colorFillTertiary:e(r,.04),colorFillQuaternary:e(r,.02),colorBgLayout:t(l,4),colorBgContainer:t(l,0),colorBgElevated:t(l,0),colorBgSpotlight:e(r,.85),colorBorder:t(l,15),colorBorderSecondary:t(l,6)}};export{i as generateColorPalettes,s as generateNeutralColorPalettes};
