"use strict";
require("../../../../common/vendor.js");
const uni_modules_uviewPro_libs_util_configProvider = require("../util/config-provider.js");
const uni_modules_uviewPro_libs_config_themeTokens = require("../config/theme-tokens.js");
uni_modules_uviewPro_libs_util_configProvider.configProvider.themesRef;
uni_modules_uviewPro_libs_util_configProvider.configProvider.currentThemeRef;
uni_modules_uviewPro_libs_util_configProvider.configProvider.darkModeRef;
function initTheme(themes, defaultConfig, isForce) {
  if (Array.isArray(themes) && themes.length > 0) {
    uni_modules_uviewPro_libs_util_configProvider.configProvider.initTheme(themes, defaultConfig, isForce);
    return;
  }
  uni_modules_uviewPro_libs_util_configProvider.configProvider.initTheme(uni_modules_uviewPro_libs_config_themeTokens.defaultThemes, defaultConfig);
}
exports.initTheme = initTheme;
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-pro/libs/hooks/useTheme.js.map
