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
- // await less.modifyVars({
191
- // ...themeVariables,
192
- // ...updateVariables.less
193
- // })
194
- // console.log("换肤成功")
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
 
@@ -170,7 +170,7 @@ export default {
170
170
  },
171
171
 
172
172
  mounted() {
173
- this.initSlider()
173
+ setTimeout(this.initSlider, 0)
174
174
  this.$bus.$onWindow(this, 'resize', this.handleWindowResize)
175
175
  },
176
176
 
@@ -26,8 +26,8 @@ ol {
26
26
  }
27
27
 
28
28
  // 表格——Title
29
- .Table__Name {
30
- color: @white;
29
+ .Table__Name {
30
+ color: @text-color;
31
31
  font-size: @font-size-lg;
32
32
  padding-left: @padding-sm;
33
33
  box-sizing: border-box;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-component-gallery",
3
- "version": "2.2.12",
3
+ "version": "2.2.13",
4
4
  "description": "基础vue、antdvue、less实现的私有组件库",
5
5
  "main": "dist/index.umd.js",
6
6
  "files": [