import{generate as n}from"@ant-design/colors";import s from"../default/index.mjs";import{defaultPresetColors as d}from"../seed.mjs";import f from"../shared/genColorMapToken.mjs";import{generateColorPalettes as i,generateNeutralColorPalettes as u}from"./colors.mjs";const T=(r,m)=>{const l=Object.keys(d).map(e=>{const t=n(r[e],{theme:"dark"});return Array.from({length:10}).fill(1).reduce((o,g,a)=>(o[`${e}-${a+1}`]=t[a],o),{})}).reduce((e,t)=>(e={...e,...t},e),{});return{...m??s(r),...l,...f(r,{generateColorPalettes:i,generateNeutralColorPalettes:u})}};export{T as default};
