web-component-gallery 2.2.12 → 2.2.13
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.
|
@@ -187,11 +187,11 @@ async function updateTheme(theme) {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
// 应用LESS变量更新
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
await less.modifyVars({
|
|
191
|
+
...themeVariables,
|
|
192
|
+
...updateVariables.less
|
|
193
|
+
})
|
|
194
|
+
console.log("换肤成功")
|
|
195
195
|
|
|
196
196
|
if (!Object.keys(updateVariables.css).length) return
|
|
197
197
|
|
package/lib/style/page.less
CHANGED