web-component-gallery 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/BuildTheme.js +5 -1
- package/package.json +1 -1
package/extensions/BuildTheme.js
CHANGED
|
@@ -210,7 +210,11 @@ function createGeneratorTheme(theme) {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
// 生成传输信息文件
|
|
213
|
-
async function createTransferFile() {
|
|
213
|
+
async function createTransferFile(theme) {
|
|
214
|
+
// 初始化主题
|
|
215
|
+
const resetTheme = theme || 'dark'
|
|
216
|
+
// 输出自定义样式文件
|
|
217
|
+
processLessFiles(resetTheme)
|
|
214
218
|
// 默认请求源地址
|
|
215
219
|
const origin = process.env.VUE_APP_STATIC_URL || 'http://qxfnkj.com'
|
|
216
220
|
|