var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/pro/priceKeyboard/utils.ts
var utils_exports = {};
__export(utils_exports, {
  DEFAULT_THEME_CONFIG: () => DEFAULT_THEME_CONFIG,
  setKeyboardTheme: () => setKeyboardTheme
});
module.exports = __toCommonJS(utils_exports);
var import_utils = require("@pisell/utils");
var DEFAULT_THEME_CONFIG = {
  dark: {
    titleColor: "#FFFFFF",
    subtitleColor: "#D0D5DD",
    keyboardBgColor: "rgba(0, 0, 0, 0.4)",
    keyboardWrapperBgColor: "rgba(0, 0, 0, 0.7)",
    bgColor: "rgba(0, 0, 0, 0.70)",
    bgColorGray200: "rgba(0, 0, 0, 0.40)",
    bgColorGray300: "rgba(0, 0, 0, 0.40)",
    textGray500: "#D0D5DD",
    textGray600: "#FFFFFF",
    textGray900: "#FFFFFF"
  },
  light: {
    titleColor: "#101828",
    subtitleColor: "#667085",
    keyboardBgColor: "#D0D5DD",
    keyboardWrapperBgColor: "white",
    bgColor: "#FFFFFF",
    bgColorGray200: "#EAECF0",
    bgColorGray300: "#D0D5DD",
    textGray500: "#667085",
    textGray600: "#475467",
    textGray900: "#101828"
  }
};
var setKeyboardTheme = (theme) => {
  const currentTheme = DEFAULT_THEME_CONFIG[theme || "light"];
  (0, import_utils.setTheme)({
    // 标题颜色
    "--pisell-pro-price-keyboard-title-color": currentTheme.titleColor,
    // 副标题颜色
    "--pisell-pro-price-keyboard-subtitle-color": currentTheme.subtitleColor,
    // 背景颜色梯度
    "--pisell-pro-price-keyboard-wrapper-bg-color": currentTheme.keyboardWrapperBgColor,
    "--pisell-pro-price-keyboard-bg-color": currentTheme.keyboardBgColor,
    "--pisell-pro-price-keyboard-bg-color-gray-200": currentTheme.bgColorGray200,
    "--pisell-pro-price-keyboard-bg-color-gray-300": currentTheme.bgColorGray300,
    // 文本颜色梯度
    "--pisell-pro-price-keyboard-text-gray-500": currentTheme.textGray500,
    "--pisell-pro-price-keyboard-text-gray-600": currentTheme.textGray600,
    "--pisell-pro-price-keyboard-text-gray-900": currentTheme.textGray900
  });
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  DEFAULT_THEME_CONFIG,
  setKeyboardTheme
});
