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,{theme:"dark"});return{1:o[0],2:o[1],3:o[2],4:o[3],5:o[6],6:o[5],7:o[4],8:o[6],9:o[5],10:o[4]}},s=(c,o)=>{const l=c||"#000",r=o||"#fff";return{colorBgBase:l,colorTextBase:r,colorText:e(r,.85),colorTextSecondary:e(r,.65),colorTextTertiary:e(r,.45),colorTextQuaternary:e(r,.25),colorFill:e(r,.18),colorFillSecondary:e(r,.12),colorFillTertiary:e(r,.08),colorFillQuaternary:e(r,.04),colorBgElevated:t(l,12),colorBgContainer:t(l,8),colorBgLayout:t(l,0),colorBgSpotlight:t(l,26),colorBorder:t(l,26),colorBorderSecondary:t(l,19)}};export{i as generateColorPalettes,s as generateNeutralColorPalettes};
