import "../../../../../@ant-design/colors/es/index.mjs";
import { getAlphaColor as e, getSolidColor as t } from "./colorAlgorithm.mjs";
import a from "../../../../../@ant-design/colors/es/generate.mjs";
const B = (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]
    // 8: colors[9],
    // 9: colors[8],
    // 10: colors[7],
  };
}, s = (c, o) => {
  const l = c || "#000", r = o || "#fff";
  return {
    colorBgBase: l,
    colorTextBase: r,
    colorText: e(r, 0.85),
    colorTextSecondary: e(r, 0.65),
    colorTextTertiary: e(r, 0.45),
    colorTextQuaternary: e(r, 0.25),
    colorFill: e(r, 0.18),
    colorFillSecondary: e(r, 0.12),
    colorFillTertiary: e(r, 0.08),
    colorFillQuaternary: e(r, 0.04),
    colorBgElevated: t(l, 12),
    colorBgContainer: t(l, 8),
    colorBgLayout: t(l, 0),
    colorBgSpotlight: t(l, 26),
    colorBgBlur: e(r, 0.04),
    colorBorder: t(l, 26),
    colorBorderSecondary: t(l, 19)
  };
};
export {
  B as generateColorPalettes,
  s as generateNeutralColorPalettes
};
