"use strict";
const uni_modules_uviewPro_libs_config_color = require("../config/color.js");
const uni_modules_uviewPro_libs_config_themeTokens = require("../config/theme-tokens.js");
const uni_modules_uviewPro_libs_util_configProvider = require("../util/config-provider.js");
function getColor(name) {
  if (uni_modules_uviewPro_libs_config_color.color[name]) {
    return uni_modules_uviewPro_libs_config_color.color[name];
  }
  return uni_modules_uviewPro_libs_config_themeTokens.lightPalette[name] || "";
}
function setColor(theme) {
  if (theme) {
    uni_modules_uviewPro_libs_util_configProvider.configProvider.setThemeColor(theme);
  }
}
exports.getColor = getColor;
exports.setColor = setColor;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-pro/libs/function/color.js.map
